Re: [netmod] Question on intefaces-state model

Igor Bryskin <Igor.Bryskin@huawei.com> Wed, 14 June 2017 13:13 UTC

Return-Path: <Igor.Bryskin@huawei.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F0A8F1294F8 for <netmod@ietfa.amsl.com>; Wed, 14 Jun 2017 06:13:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-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 rn-v_45b-Qtn for <netmod@ietfa.amsl.com>; Wed, 14 Jun 2017 06:13:43 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3CF51126FDC for <netmod@ietf.org>; Wed, 14 Jun 2017 06:13:42 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml705-cah.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DIM69978; Wed, 14 Jun 2017 13:13:39 +0000 (GMT)
Received: from SJCEML702-CHM.china.huawei.com (10.208.112.38) by lhreml705-cah.china.huawei.com (10.201.108.46) with Microsoft SMTP Server (TLS) id 14.3.301.0; Wed, 14 Jun 2017 14:13:39 +0100
Received: from SJCEML703-CHM.china.huawei.com ([169.254.5.102]) by SJCEML702-CHM.china.huawei.com ([169.254.4.136]) with mapi id 14.03.0301.000; Wed, 14 Jun 2017 06:13:29 -0700
From: Igor Bryskin <Igor.Bryskin@huawei.com>
To: "lhotka@nic.cz" <lhotka@nic.cz>, "Alex.Campbell@Aviatnet.com" <Alex.Campbell@Aviatnet.com>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] Question on intefaces-state model
Thread-Index: AdLhDRC34rNQajuWS5+4b+qYQggHyQCzfdcAAAJubIAAMwoVAAABUkEA//+9NFCAARwNgP//2mB0
Date: Wed, 14 Jun 2017 13:13:29 +0000
Message-ID: <etPan.59413692.5bf1d235.1987@localhost>
References: <AM2PR07MB06272FF9E8BA4D00B0669F9794CE0@AM2PR07MB0627.eurprd07.prod.outlook.com> <20170612172141.GA52797@elstar.local> <CABCOCHSK1h4HQ4LgkYd_Lxp3JYzxYBMmCka64_-iVjq2N_PR7g@mail.gmail.com> <m2d1a7iutf.fsf@nic.cz> <CABCOCHS3cqEvyLaRGdk5T2TpkXGOjd_wEii-pREo3cpRwjiHHg@mail.gmail.com> <1497393323725.99784@Aviatnet.com>, <EE374EEE-3566-49B6-B1A6-DE357A678279@nic.cz>
In-Reply-To: <EE374EEE-3566-49B6-B1A6-DE357A678279@nic.cz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: multipart/alternative; boundary="_000_etPan594136925bf1d2351987localhost_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090205.59413684.0095, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.5.102, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: 2efbd0e213a21e4d2a52a62e25a1fe4a
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/4-BlQC3iBs0vlLjWPkshcvnvdb8>
Subject: Re: [netmod] Question on intefaces-state model
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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, 14 Jun 2017 13:13:46 -0000

Hi Franchesco,

To your point 1:
I was describing a very common use case when a client owns/ controls OTN TTPs, while the multi domain network provides connectivity betweeb access links across the network. In this cae network only deals with transit segments (neither head nor tail)
To your point 2
There is only one thing aboutb OTN transit segments that is  OTN specific  - bandwidth.
Because the configuration  of a transit OTN segment needs to include the exact ODUk container (to match the container on the opposite side of the incoming access/interdomain link) - said ODUk container is expected to be encoded as a generic label subobject that follows  the network side access/interdomain link subobject  - this alone tells the network controller everything it needs to know about the required bandwidth.
In short, for this use case you dont need OTN augmentation
to support client -network interface  - base /generic  TE tunnel model works just fine,

I do agree that every use case that requires provisioning by network OTN  TTPs does require the OTN augmentation.

Igor

From:Ladislav Lhotka
To:Alex Campbell,
Cc:netmod@ietf.org,
Date:2017-06-14 04:28:51
Subject:Re: [netmod] Question on intefaces-state model


> On 14 Jun 2017, at 00:35, Alex Campbell <Alex.Campbell@Aviatnet.com> wrote:
>
>
> Presumably a device is free to not implement an optional config=false node if that node would never be returned in a response anyway - as this will make no externally visible difference.

That's my view, too. However, this reasoning works if the parent container is being retrieved but it is not very clear what is supposed to happen if the client asks explicly for that optional parameter. This looks like a gap in the architecture – most of the time, YANG pretends to be something like a schema language in that it describes constraints on a valid data tree but conformance issues like what parameters a server needs to implement are something different.

>
> However, if the model states or implies that the node is present under certain conditions (for example, the node is always present for Ethernet ports), and the device can meet those conditions (i.e. it has an Ethernet port), then the device must implement the node or it does not conform to the model.

Right, this could be written in a description, but I've been assuming it is not the case.

Lada

>
>
>
> Alex
>
> From: netmod <netmod-bounces@ietf.org> on behalf of Andy Bierman <andy@yumaworks.com>
> Sent: Wednesday, 14 June 2017 7:30 a.m.
> To: Ladislav Lhotka
> Cc: netmod@ietf.org
> Subject: Re: [netmod] Question on intefaces-state model
>
>
> On Tue, Jun 13, 2017 at 11:52 AM, Ladislav Lhotka <lhotka@nic.cz> wrote:
> Andy Bierman <andy@yumaworks.com> writes:
>
> > On Mon, Jun 12, 2017 at 10:21 AM, Juergen Schoenwaelder <
> > j.schoenwaelder@jacobs-university.de> wrote:
> >
> >> On Fri, Jun 09, 2017 at 10:55:20AM +0000, Bogaert, Bart (Nokia -
> >> BE/Antwerp) wrote:
> >> >
> >> > We have a question regarding the statistics container as defined in the
> >> > interfaces-state model.  This container defines one mandatory leaf
> >> > (discontinuity-time) while all other leafs are optional.  What is the
> >> > rationale behind this leaf being mandatory and not an optional field?
> >> >
> >> > It does not make a lot of sense to return a discontinuity-time value and
> >> no
> >> > counters if none of the counters are relevant for a specific interface.
> >> >
> >> > Another alternative could be to add, via a deviation, a when clause to
> >> the
> >> > container indicating for which ifType(s) the container is (or is not)
> >> > present. But that would lead to not supporting the IETF interfaces model
> >> to
> >> > the full extent.
> >> >
> >>
> >> The discontinuity-time is relevant for _any_ counter associated with
> >> an interface, regardless whether the counter is defined in the
> >> interfaces model or elsewhere. I have a hard time to imagine an
> >> interface that has zero counters.
> >>
> >>
> > The mandatory-stmt is very confusing for config=false nodes. Mandatory=true
> > means
> > an <rpc-reply> must contain an instance of the mandatory leaf.
>
> I don't think it is that confusing. RFC 7950 defines what a valid data
> tree means and "mandatory" are among the constraints.
>
> I agree though that in terms of a management protocol it means different
> things for config true and false data, but this is true also for default
> values and maybe other YANG concepts as well.
>
> >
> > Mandatory=false does not mean optional-to-implement although it sure
> > looks that way for config=false nodes.  Only if-feature can make a node
> > optional to implement.
>
> I don't think this interpretation is supported by any text in the YANG
> spec. State data nodes that are optional needn't be implemented.
>
>
> RFC 7950, sec 5.6  (Conformance) does not support your interpretation.
> It defines basic behavior, optional (via features), and deviations as the only mechanisms affecting conformance.
>
>
> Lada
>
> >
>
>
> Andy
>
> >
> >
> >  /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/>
> >>
> >> _______________________________________________
> >> netmod mailing list
> >> netmod@ietf.org
> >> https://www.ietf.org/mailman/listinfo/netmod
> >>
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
>
> --
> Ladislav Lhotka, CZ.NIC Labs
> PGP Key ID: 0xB8F92B08A9F76C67
>
>

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





_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod