Re: [Netconf] Fwd: Regarding complete device configuration sync to NMS

Andy Bierman <andy@yumaworks.com> Thu, 03 September 2015 19:42 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 120E31A92B0 for <netconf@ietfa.amsl.com>; Thu, 3 Sep 2015 12:42:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level:
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XtFHAr6FbLOg for <netconf@ietfa.amsl.com>; Thu, 3 Sep 2015 12:42:29 -0700 (PDT)
Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1DA061B3341 for <netconf@ietf.org>; Thu, 3 Sep 2015 12:42:28 -0700 (PDT)
Received: by laeb10 with SMTP id b10so36349704lae.1 for <netconf@ietf.org>; Thu, 03 Sep 2015 12:42:26 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=TLhIIf1ZnLsBufhj5BcKtCF3HdGj4+JX6E5K8xRFGhk=; b=ASNO6lv5mhkRFT685I6AT+C6nWD1vbkmtJnBhmlrtA84+JxtClQmozoXwE7tg18Ygm p1QxvxmIfJO6UisZgXvDT0yIvOLoWQ/NOYL2SR3AwvTLfQ7Oq5B3exqJpfz8Xz5PD4/X 1ilWGUuLMCVQxBhc10Bk6KWXTYL9ux7mPmKXP/uCi/wB+nOGFzMxPuuzlR+P+cSAxrpr 9WDt1PyeGLgOCw+8xGKb9pwXWsqK+q9mLqePDAY+X5G+fVyGYP2dplw1REqZuqMRij1P I7R9YPzUN/UeiN4m9yBJLCcPGRWPjtN9Uaxx1OHriY97fkovrRgrBBtM3dWBrxAiZYk3 2z7Q==
X-Gm-Message-State: ALoCoQlnFen2fBLDOZOkjHimtxjk/H2kWQ/KON8o7jTM+X5AwMuRgD47L896a5/175zo+kHmSBbo
MIME-Version: 1.0
X-Received: by 10.112.130.97 with SMTP id od1mr23010518lbb.37.1441309346355; Thu, 03 Sep 2015 12:42:26 -0700 (PDT)
Received: by 10.112.200.104 with HTTP; Thu, 3 Sep 2015 12:42:26 -0700 (PDT)
In-Reply-To: <20150903171049.GA30863@elstar.local>
References: <CAJtYN8+NL_fwNavB-1k-21mBZaS+uebAzwSZLq_ZpGpPP17JQw@mail.gmail.com> <CAJtYN8+-wv_eAQOi_oT5Cp-z_8bpuwq+6bQPXWPX4yLYeM3SfA@mail.gmail.com> <D20DE7BB.D5451%kwatsen@juniper.net> <D20DE7DD.D5456%kwatsen@juniper.net> <20150903164007.GA30763@elstar.local> <CABCOCHQE4zGcrLKyb0XEEbBVGbHLAr8LJVFnRzCm1_Xap4MTkQ@mail.gmail.com> <20150903171049.GA30863@elstar.local>
Date: Thu, 03 Sep 2015 12:42:26 -0700
Message-ID: <CABCOCHTeSxEVmJ5ZqMohJXb4LFO4J=WiMgH=yMu5QuTt8oqVUg@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Andy Bierman <andy@yumaworks.com>, Kent Watsen <kwatsen@juniper.net>, Shiva Kumar Pathori <pathori@gmail.com>, "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="047d7b34343699f723051edcfb6e"
Archived-At: <http://mailarchive.ietf.org/arch/msg/netconf/Gg6dcVc8FgBecMMYycrhhmyIRDk>
Subject: Re: [Netconf] Fwd: Regarding complete device configuration sync to NMS
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2015 19:42:31 -0000

On Thu, Sep 3, 2015 at 10:10 AM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> On Thu, Sep 03, 2015 at 09:46:15AM -0700, Andy Bierman wrote:
> > On Thu, Sep 3, 2015 at 9:40 AM, Juergen Schoenwaelder <
> > j.schoenwaelder@jacobs-university.de> wrote:
> >
> > > On Thu, Sep 03, 2015 at 04:17:22PM +0000, Kent Watsen wrote:
> > > > [hit the wrong button before]
> > > >
> > > >
> > > > Hi Shiva,
> > > >
> > > > > I would like to propose one method to get the complete
> > > > > configuration through zip file to NMS. I feel this method will be
> > > > >effective instead of <get> without any filter. Please advice.
> > > >
> > > > Like a <copy-config> with a parameter indicating compression.  Then,
> to
> > > > avoid the zip file being base64 encoded, another parameter indicate
> where
> > > > to put the file (tftp://, ftp://, etc.), or wait for the
> > > multiple-replies
> > > > draft to provide a better solution for bulk transfer.
> > > >
> > > > In the meanwhile, a custom RPC could define this behavior
> immediately.
> > >
> > > If the goal to reduce bits on the wire, certain secure transports can
> > > do compression transparently for you (and it then works for everything
> > > exchanged in a session, not just a get without filters).
> > >
> > >
> > Yes, but it would be nice if NETCONF was not so "cache-unfriendly".
> > RESTCONF has Entity tags to help the client only retrieve data
> > when it has changed.  Pub/sub offers a way to push only the data
> > that has changed.  A "get without filters" should be a rare event
> > if the protocol is designed correctly.
> >
>
> I guess we agree that it is unclear why he asked the question, that is
> which problem he is actually trying to solve.
>
>
Devices that are large enough to make this worthwhile generally
no not store the contents of <get> in memory in 1 process.
Building a giant response file then compressing it would not work.
Lossless compression that works on an arbitrary chunk of data at a time
would be OK.



> /js
>

Andy


>
> --
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
>