Re: [netmod] [Netconf] Multiple instances configuration issues-//FW: New Version Notification for draft-liu-netconf-multi-instances-00.txt

Andy Bierman <andy@yumaworks.com> Wed, 02 July 2014 18:35 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E9DB1A0127 for <netmod@ietfa.amsl.com>; Wed, 2 Jul 2014 11:35:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.057
X-Spam-Level:
X-Spam-Status: No, score=0.057 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, LONGWORDS=2.035, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no
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 Ks6C9bwjF5tz for <netmod@ietfa.amsl.com>; Wed, 2 Jul 2014 11:35:46 -0700 (PDT)
Received: from mail-qc0-f172.google.com (mail-qc0-f172.google.com [209.85.216.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A00121B29F2 for <netmod@ietf.org>; Wed, 2 Jul 2014 11:35:46 -0700 (PDT)
Received: by mail-qc0-f172.google.com with SMTP id o8so10286661qcw.17 for <netmod@ietf.org>; Wed, 02 Jul 2014 11:35:45 -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:cc:content-type; bh=ECoFw332mhs8FXkQViVU/VWiA62zH6KW/MDa5aNzDOc=; b=BUwsG0NGRZ3/0zlvM6+1oKAZmYBsE9xuFPQAIqHkvvOLqV5z0TDxkySt/4m9n3Qar0 7eocLIOjdwUvg6NRaKXObFu6REG439aJvgAtV9QEpSc99QHoPyQV/N9rg5MkDhuKHw12 ndqQuvFbIe3ZZd+Ydjk7KJAaJjIxfw39OtR5p30sPHNpF+QNhRx5n7qlk8bOfZGYziMo PEphV3GBJd3o6Y+AhSQZtWmbT+GKzKRXd7pX2xm7xRL/Gwod47iqYVAWWbXgE7IWsdDy y7SmjXF3sYou+z2yXlzymYnKX/bwM3CpLKbdqYm8/Tbsfflr9tuqsWIfRErKka3Y4MZr iOhw==
X-Gm-Message-State: ALoCoQm0Qf7cekldzx5a/psNyE/Ql+uk4QBHIaMfrKS/aSugU6YbnvwuecHqwtA/3RzbzYrg93PB
MIME-Version: 1.0
X-Received: by 10.224.20.10 with SMTP id d10mr85244944qab.16.1404326145638; Wed, 02 Jul 2014 11:35:45 -0700 (PDT)
Received: by 10.140.104.48 with HTTP; Wed, 2 Jul 2014 11:35:45 -0700 (PDT)
In-Reply-To: <8AE0F17B87264D4CAC7DE0AA6C406F453D8ED5BF@nkgeml506-mbx.china.huawei.com>
References: <8AE0F17B87264D4CAC7DE0AA6C406F453D8ED5BF@nkgeml506-mbx.china.huawei.com>
Date: Wed, 02 Jul 2014 11:35:45 -0700
Message-ID: <CABCOCHQx5_=yVG4Kxzw_pD1EJ7SYz+c6gNMRBywQm1-ArVeBpw@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: "Liubing (Leo)" <leo.liubing@huawei.com>
Content-Type: multipart/alternative; boundary="001a11c1c2ae0f6ab904fd3a29b9"
Archived-At: http://mailarchive.ietf.org/arch/msg/netmod/szr0qYgCPClw2YWcbbWSByX6b8A
Cc: Zhengguangying <zhengguangying@huawei.com>, Netconf <netconf@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>, Yangang <yangang@huawei.com>
Subject: Re: [netmod] [Netconf] Multiple instances configuration issues-//FW: New Version Notification for draft-liu-netconf-multi-instances-00.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Jul 2014 18:35:48 -0000

Hi,

I read your draft and it I can see use-cases for a context-ID.
I prefer to think of named virtual hosts in Apache2, rather than
SNMP contexts.

I don't think your solution is fully specified, but it is a good start.
I think the following solution could easily work, which is just a
refinement of your solution in sec. 4.1.

 1) define a 'server-id' XML attribute
 2) define a NETCONF 'virtual-server' capability indicating the server
supports the 'server-id' attribute
 3) the server is already required to accept all attributes in the <rpc>
start tag and return
     them in the <rpc-reply> start tag. (So sending the server-id attribute
is safe in all cases).
 4) If the server supports the capability, then it must check for the
server-id attribute in each <rpc>
     and use the correct virtual server or else return an error if it is an
unknown server-id.

I don't really understand Gap-2 and Gap-3 so I am not addressing that.  It
looks like
it might overlap the "YANG mount" draft (draft-clemm-netmod-mount-01).
IMO that is a completely different problem -- configuration of a
mid-level-manager.


Andy





On Wed, Jul 2, 2014 at 2:51 AM, Liubing (Leo) <leo.liubing@huawei.com>
wrote:

> Hi all in Netconf & Netmod,
>
> In last Netconf meeting in London, my colleague Guangying Zheng raised a
> question at the mike about how to distinguish multiple VRFs when using
> NETCONF to configure a device.
> And then in the mailing list, David Lamparter led a very good discussion
> of the problem.
>
> As discussed in the mailing list, it is not only regarding to VRF, rather,
> it is quite a general issue.
> So we wrote a draft to try to make a comprehensive discussion of the
> issue. The draft analyzes the management requirements for multiple
> instances like VRF, and pointed out some gaps in current NETCONF protocol
> and YANG models. At last, the draft briefly discuss some possible solutions
> to fill the gaps.
>
> Please review the draft and comment.
> Many thanks!
>
> Best regards,
> Bing
>
>
> -----Original Message-----
> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
> Sent: Wednesday, July 02, 2014 4:48 PM
> To: Liubing (Leo); Liubing (Leo); Yangang; Yangang
> Subject: New Version Notification for
> draft-liu-netconf-multi-instances-00.txt
>
>
> A new version of I-D, draft-liu-netconf-multi-instances-00.txt
> has been successfully submitted by Bing Liu and posted to the IETF
> repository.
>
> Name:           draft-liu-netconf-multi-instances
> Revision:       00
> Title:          Multi-Instances Configuration Issue in NETCONF
> Document date:  2014-07-02
> Group:          Individual Submission
> Pages:          10
> URL:
> http://www.ietf.org/internet-drafts/draft-liu-netconf-multi-instances-00.txt
> Status:
> https://datatracker.ietf.org/doc/draft-liu-netconf-multi-instances/
> Htmlized:
> http://tools.ietf.org/html/draft-liu-netconf-multi-instances-00
>
>
> Abstract:
>    This document puts together the NETCONF issues of configuring
>    multiple instances including configuring multiple network element
>    instances and multiple service instances. The main problem is how to
>    configure the multiple instances in one NETCONF channel.
>
>
>
>
> Please note that it may take a couple of minutes from the time of
> submission until the htmlized version and diff are available at
> tools.ietf.org.
>
> The IETF Secretariat
>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>