Re: [Netconf] Draft Charter Proposal for NETCONF WG

Ladislav Lhotka <lhotka@nic.cz> Fri, 03 March 2017 16:39 UTC

Return-Path: <lhotka@nic.cz>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 396101289C4 for <netconf@ietfa.amsl.com>; Fri, 3 Mar 2017 08:39:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 wJdOtbyzERk2 for <netconf@ietfa.amsl.com>; Fri, 3 Mar 2017 08:39:33 -0800 (PST)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id 406321289B0 for <netconf@ietf.org>; Fri, 3 Mar 2017 08:39:32 -0800 (PST)
Received: from localhost (unknown [195.113.220.110]) by trail.lhotka.name (Postfix) with ESMTPSA id 9109C182000B; Fri, 3 Mar 2017 17:37:06 +0100 (CET)
From: Ladislav Lhotka <lhotka@nic.cz>
To: "Eric Voit (evoit)" <evoit@cisco.com>, Andy Bierman <andy@yumaworks.com>, Kent Watsen <kwatsen@juniper.net>, Lou Berger <lberger@labn.net>, "Robert Wilton -X (rwilton - ENSOFT LIMITED at Cisco)" <rwilton@cisco.com>
In-Reply-To: <e2cd792fb1734d04b5d0340617ff39e9@XCH-RTP-013.cisco.com>
References: <014101d2913a$3db72870$b9257950$@gmail.com> <20170227221434.GB68878@elstar.local> <026f01d29273$5d57dfa0$4001a8c0@gateway.2wire.net> <F1EB9C98-BB1C-410D-9D6D-1777A96148C6@nic.cz> <CABCOCHTVZxPyT_LSX2GjnNKFCz3857HAOA_GS5iTaxLejno8RQ@mail.gmail.com> <bc6813b038094a1eac1fc9df68f3205c@XCH-RTP-013.cisco.com> <m2pohzpznf.fsf@birdie.labs.nic.cz> <e2cd792fb1734d04b5d0340617ff39e9@XCH-RTP-013.cisco.com>
Date: Fri, 03 Mar 2017 17:39:30 +0100
Message-ID: <m2bmti8gcd.fsf@birdie.labs.nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/BfKA_VR4gjpgkJxRs-qCBttVcqQ>
Cc: Netconf <netconf@ietf.org>
Subject: Re: [Netconf] Draft Charter Proposal for NETCONF WG
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.17
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, 03 Mar 2017 16:39:35 -0000

"Eric Voit (evoit)" <evoit@cisco.com> writes:

>> From: Ladislav Lhotka, March 2, 2017 8:38 AM
>> "Eric Voit (evoit)" <evoit@cisco.com> writes:
>> 
>> > From: Andy Bierman, Wednesday, March 1, 2017 11:00 AM
>> >
>> > On Wed, Mar 1, 2017 at 4:01 AM, Ladislav Lhotka
>> <lhotka@nic.cz<mailto:lhotka@nic.cz>> wrote:
>> >
>> >> On 1 Mar 2017, at 10:58, t.petch
>> <ietfc@btconnect.com<mailto:ietfc@btconnect.com>> wrote:
>> >>
>> >>
>> >> ----- Original Message -----
>> >> From: "Juergen Schoenwaelder"
>> >> <j.schoenwaelder@jacobs-university.de<mailto:j.schoenwaelder@jacobs-u
>> >> niversity.de>>
>> >> To: "Mehmet Ersue" <mersue@gmail.com<mailto:mersue@gmail.com>>
>> >> Cc: "'Netconf'" <netconf@ietf.org<mailto:netconf@ietf.org>>
>> >> Sent: Monday, February 27, 2017 10:14 PM
>> >>> On Mon, Feb 27, 2017 at 09:44:06PM +0100, Mehmet Ersue wrote:
>> >>>
>> >>>> 6. Revise the current NETCONF datastore concept as a protocol- and
>> >> modeling
>> >>>> language-independent standard as part of the network configuration
>> >>>> framework. Use the datastore solution proposal in
>> >>>> draft-ietf-netmod-revised-datastores as its basis. Will be used as
>> >>>> a normative reference in protocol specifications.
>> >>>
>> >>> There is no point in dupliating work in WGs that have a common
>> >>> history and a common set of active contributors.
>> >>
>> >> Juergen
>> >>
>> >> I am not sure what you are proposing;  Currently, datastores are
>> >> poorly described in RFC6241 and RFC7950 and the publication of
>> >> another incomplete description in the shape of
>> >> draft-ietf-netmod-revised-datastores
>> >> will likely make things worse.
>> >>
>> >> I see a need for a datastores RFC, probably separate from the current
>> >> specifications, and do see the NETCONF WG as better placed to do it.
>> >>
>> >> I think that the rush to  get
>> >> draft-ietf-netmod-revised-datastores
>> >> out is militating against the long term health of NETCONF.
>> >>
>> >
>> > I agree, and I would also add draft-ietf-netmod-schema-mount to it (of which
>> I am a co-author).
>> >
>> > Original NETCONF and YANG were limited but (mostly) coherent and, in a
>> way, simple and elegant. The recent developments are afterthoughts and
>> kitchen sinks that will destroy these qualities.
>> >
>> > Instead of rushing with these documents, we should step back and think
>> about a new architecture that could consistently support the new
>> requirements.
>> >
>> > I think the entire approach to virtual servers is too complicated with schema-
>> mount.
>> > Instead of keeping the protocol fixed and playing tricks with the data
>> > tree, it might be better to keep the current YANG we have, and enhance
>> > the protocols in order to access virtual servers from the 'real' server.
>> >
>> > <Eric> Both Schema Mount and Peer Mount allow local application
>> > referencing to remote information.  Life is easier for application
>> > developers as underlying transport protocols are abstracted away.
>> > Abstractions similar to Mount have proven themselves in other
>> > contexts.  I am hoping YANG mechanisms move more in this direction.
>> 
>> We should distinguish data mount from schema mount. Currently, getting the
>> content of YANG library and YANG modules listed therein is sufficient for
>> constructing the entire schema tree, and schema mount should work the same,
>> i.e. one shouldn't need to get any instance data in order to construct the
>> schema.
>> 
>> The confusing point here is that YANG library itself is exposed as state data, but
>> it should IMO be treated more as meta-data rather than regular data.
>> 
>> >
>> > The answer to whether YANG is only for single device abstraction or
>> > also for multi-device abstractions is a fairly core proposition worth
>> > disambiguating in the NETMOD charter as well.  Per the thread above, I
>> > concur that if we continue down the ‘multi’ path, there may be
>> > implications to draft-ietf-netmod-revised-datastores.
>> 
>> I am not sure that I completely understand what you mean by multi-device
>> abstraction 
>
> An example here would be a data plane box (e.g. BNG) which spins up multiple VMs to handle its control plane session establishment.
>
> An operator doesn't want external systems to individually address
> every control plane VM.  Rather they want a YANG model for this
> logical+physical combination.  In this case each VM might use Peer
> (data) Mount to build a multi-device abstraction.  BTW: doing it this
> way also allows the same mounted YANG object data to be addressably
> exposed for each VM without requiring another YANG model to be made.

I think this can be mostly accomplished with the "inline" approach of
schema mount (which in fact is a data mount and probably very similar to
the concept of peer mount).

IMO, what we are missing in terms of data modelling is really something
like "device-less abstraction". I'd like to have a data modelling
language or framework that would allow for saying: this is the complete
data model, go and implement it (or let tools generate some code from
it). Paradoxically, YANG isn't very good at this: we can write YANG
modules but in order to combine them into coherent wholes we need to
rely on some device to provide state data. Even with augments we have to
assume that any device implementing an augmenting module will also
implement the augmented module.

Lada

>
> Eric
>
>> but I think that device-less abstraction is also worth
>> considering: apart from the particular client-server session context, there
>> appears to be a need for specifying (and standardizing) more complex data
>> models consisting of multiple modules, and augments (that are used for this
>> purpose e.g. in RFC 8022) are sometimes insufficient.
>>
>> Lada
>> 
>> >
>> > Eric
>> >
>> >
>> > Lada
>> >
>> >
>> > Andy
>> >
>> >
>> >
>> >> Tom Petch
>> >>
>> >>> /js
>> >>>
>> >>> --
>> >>> 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/>
>> >>>
>> >>> _______________________________________________
>> >>> Netconf mailing list
>> >>> Netconf@ietf.org<mailto:Netconf@ietf.org>
>> >>> https://www.ietf.org/mailman/listinfo/netconf
>> >>
>> >> _______________________________________________
>> >> Netconf mailing list
>> >> Netconf@ietf.org<mailto:Netconf@ietf.org>
>> >> https://www.ietf.org/mailman/listinfo/netconf
>> >
>> > --
>> > Ladislav Lhotka, CZ.NIC Labs
>> > PGP Key ID: 0xB8F92B08A9F76C67
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Netconf mailing list
>> > Netconf@ietf.org<mailto:Netconf@ietf.org>
>> > https://www.ietf.org/mailman/listinfo/netconf
>> >
>> 
>> --
>> Ladislav Lhotka, CZ.NIC Labs
>> PGP Key ID: 0xB8F92B08A9F76C67

-- 
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67