Re: [Netconf] Fwd: Regarding complete device configuration sync to NMS
Shiva Kumar Pathori <pathori@gmail.com> Fri, 04 September 2015 01:43 UTC
Return-Path: <pathori@gmail.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 D864F1B39DF; Thu, 3 Sep 2015 18:43:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 gqsGnqVRgotK; Thu, 3 Sep 2015 18:43:25 -0700 (PDT)
Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (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 01AA31B3966; Thu, 3 Sep 2015 18:43:25 -0700 (PDT)
Received: by obcts10 with SMTP id ts10so6071165obc.1; Thu, 03 Sep 2015 18:43:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kDnPcavndaOiuWIJEMRQO8d1uAYKQBGURqwS3ipgOZo=; b=SP89K4VN3ZUsauBbsP2ZDzOQCeGFoXMadQlheYPgdLycQdUo0Hal1RFnOmKhlIvtrx jY6QuIiMkTkTXPVinr2pFwyuf2QMbtgUm5ccX1VdU0pTln5qriRQGUmQ88FAvbs2GKYM 0AtDOAXWBPrxS4lit2IjOOxlSU8TquUNZXUGxlhDAF8H+MMH71FFR1i2PjjuBkK3choh TQLkjg/L30wWkHWkOkyp13X0Mck9kFleKpnax7lSBlgpvVoac4jtC0rcqxcFt8maEpqQ A+T18M0NU+De45kqff+bq/70qoUrCAep9m12hmW5MFoy0IDQa3dMbkhZXgFkw9R+gKT6 1XgQ==
MIME-Version: 1.0
X-Received: by 10.60.74.103 with SMTP id s7mr804712oev.86.1441331004390; Thu, 03 Sep 2015 18:43:24 -0700 (PDT)
Received: by 10.60.46.97 with HTTP; Thu, 3 Sep 2015 18:43:24 -0700 (PDT)
Received: by 10.60.46.97 with HTTP; Thu, 3 Sep 2015 18:43:24 -0700 (PDT)
In-Reply-To: <CAJtYN8KfBb1OyXvCXO6+Rej+vKx+QA7vQQQXzjSo5mW9E=rtDw@mail.gmail.com>
References: <CABCOCHQE4zGcrLKyb0XEEbBVGbHLAr8LJVFnRzCm1_Xap4MTkQ@mail.gmail.com> <20150903171049.GA30863@elstar.local> <CABCOCHTeSxEVmJ5ZqMohJXb4LFO4J=WiMgH=yMu5QuTt8oqVUg@mail.gmail.com> <20150903.215033.1871297355299522194.mbj@tail-f.com> <CAJtYN8KfBb1OyXvCXO6+Rej+vKx+QA7vQQQXzjSo5mW9E=rtDw@mail.gmail.com>
Date: Fri, 04 Sep 2015 07:13:24 +0530
Message-ID: <CAJtYN8LMLZ0N4F9BBcL-UMzpr0YpC9JunjDfq_PT7hkxONNjaA@mail.gmail.com>
From: Shiva Kumar Pathori <pathori@gmail.com>
To: Martin Bjorklund <mbj@tail-f.com>
Content-Type: multipart/alternative; boundary="001a1134cd04854505051ee206f3"
Archived-At: <http://mailarchive.ietf.org/arch/msg/netconf/w3lHF2S_Ooksw8dXuN9Sr1Q80CE>
Cc: netconf-request@ietf.org, netconf@ietf.org
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: Fri, 04 Sep 2015 01:43:27 -0000
I mean the zip file in fact contains proper <rpc-reply> with multiple files. Each file is of one complete XML document. @Kent, By the way, please share me some details about the multiple reply draft. I would like to work on it. On 04-Sep-2015 1:20 am, "Martin Bjorklund" <mbj@tail-f.com> wrote: Andy Bierman <andy@yumaworks.com> wrote: > 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. I think he meant <get-config>, but it doesn't matter for the discussion. > 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. ... which SSH provides already. /martin
- [Netconf] Fwd: Regarding complete device configur… Shiva Kumar Pathori
- Re: [Netconf] Fwd: Regarding complete device conf… Kent Watsen
- Re: [Netconf] Fwd: Regarding complete device conf… Kent Watsen
- Re: [Netconf] Fwd: Regarding complete device conf… Juergen Schoenwaelder
- Re: [Netconf] Fwd: Regarding complete device conf… Andy Bierman
- Re: [Netconf] Fwd: Regarding complete device conf… Juergen Schoenwaelder
- Re: [Netconf] Fwd: Regarding complete device conf… Andy Bierman
- Re: [Netconf] Fwd: Regarding complete device conf… Martin Bjorklund
- Re: [Netconf] Fwd: Regarding complete device conf… Shiva Kumar Pathori
- Re: [Netconf] Fwd: Regarding complete device conf… Andy Bierman
- Re: [Netconf] Fwd: Regarding complete device conf… Shiva Kumar Pathori
- Re: [Netconf] Fwd: Regarding complete device conf… Juergen Schoenwaelder
- Re: [Netconf] Fwd: Regarding complete device conf… Shiva Kumar Pathori