Re: [Rtg-yang-coord] routing-cfg-18 schema

"Acee Lindem (acee)" <acee@cisco.com> Wed, 15 April 2015 19:38 UTC

Return-Path: <acee@cisco.com>
X-Original-To: rtg-yang-coord@ietfa.amsl.com
Delivered-To: rtg-yang-coord@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 580F31A8998 for <rtg-yang-coord@ietfa.amsl.com>; Wed, 15 Apr 2015 12:38:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.911
X-Spam-Level:
X-Spam-Status: No, score=-10.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, J_CHICKENPOX_210=0.6, J_CHICKENPOX_22=0.6, J_CHICKENPOX_25=0.6, J_CHICKENPOX_26=0.6, J_CHICKENPOX_27=0.6, J_CHICKENPOX_28=0.6, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 X-M0-F-baB1D for <rtg-yang-coord@ietfa.amsl.com>; Wed, 15 Apr 2015 12:38:28 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5038C1A89AB for <Rtg-yang-coord@ietf.org>; Wed, 15 Apr 2015 12:38:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=19106; q=dns/txt; s=iport; t=1429126701; x=1430336301; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=PWvd4TIBy1q18wLmWvMbku6PejMfHRgReS2MUzQ3oRg=; b=MB5jPRqrpcJ2gdIVhs6WHw6nW4zvYvhx0927vOjsWqF4KJd/IMkANQyD 8TYv3Uy8/eyPol5IQ5I9fcMlsScJy70f5L5Lfd/zithbkvAsxZ0F+PAot TZ7+FC3q+3uBjZoPiitAGRGLjHmaCJdWc4d7kche2XF1+yTnOk2vU5KaU U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AXBQACvS5V/4oNJK1cgwxSXAWDEMQvCoYDAhyBIUwBAQEBAQF+hCABAQEEAQEBIAQNOhcEAgEIEQQBAQMCIwMCAgIlCxQBCAgCBAESiCoNr06VRQEBAQEBAQEBAQEBAQEBAQEBAQEBARMEgSGKCoQkJToGgmKBRQWRFooYlHkig29vgQNBfwEBAQ
X-IronPort-AV: E=Sophos;i="5.11,582,1422921600"; d="scan'208";a="4306887"
Received: from alln-core-5.cisco.com ([173.36.13.138]) by rcdn-iport-8.cisco.com with ESMTP; 15 Apr 2015 19:38:20 +0000
Received: from xhc-rcd-x07.cisco.com (xhc-rcd-x07.cisco.com [173.37.183.81]) by alln-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id t3FJcKcA022659 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 15 Apr 2015 19:38:20 GMT
Received: from xmb-aln-x06.cisco.com ([169.254.1.120]) by xhc-rcd-x07.cisco.com ([173.37.183.81]) with mapi id 14.03.0195.001; Wed, 15 Apr 2015 14:38:20 -0500
From: "Acee Lindem (acee)" <acee@cisco.com>
To: "Yingzhen Qu (yiqu)" <yiqu@cisco.com>, Ladislav Lhotka <lhotka@nic.cz>, "Rtg-yang-coord@ietf.org" <Rtg-yang-coord@ietf.org>
Thread-Topic: [Rtg-yang-coord] routing-cfg-18 schema
Thread-Index: AQHQd1NzeSlme3k4ckaJIh2G3wLBgJ1OqxwA///egwA=
Date: Wed, 15 Apr 2015 19:38:18 +0000
Message-ID: <D1543449.171C7%acee@cisco.com>
References: <77138CBB-4868-48EE-B0AF-FC37810011BB@nic.cz> <8E4CC9BD3260BF429FDE8D9A3AC24FC01653F5F5@xmb-aln-x14.cisco.com>
In-Reply-To: <8E4CC9BD3260BF429FDE8D9A3AC24FC01653F5F5@xmb-aln-x14.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.116.152.198]
Content-Type: text/plain; charset="utf-8"
Content-ID: <99A671FD81009A4D9BD2D83A8252D62E@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/FFR36YshDfE_cIqlE_dF6XFDgOU>
Subject: Re: [Rtg-yang-coord] routing-cfg-18 schema
X-BeenThere: rtg-yang-coord@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "\"List to discuss coordination between the Routing related YANG models\"" <rtg-yang-coord.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtg-yang-coord/>
List-Post: <mailto:rtg-yang-coord@ietf.org>
List-Help: <mailto:rtg-yang-coord-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Apr 2015 19:38:31 -0000

Hi Yingzhen, 

On 4/15/15, 1:38 PM, "Yingzhen Qu (yiqu)" <yiqu@cisco.com> wrote:

>Hi Lada,
>
>It seems to me that there are two mtu configurations defined under ipv6
>interface, what's the difference?
>
>+--rw ip:mtu?                            uint32

This is the IPv6 MTU and is currently defined in RFC 7277.

>+--rw v6ur:link-mtu?               uint32

This is the link-mtu advertised in the IPv6 router-advertisements. This is
part of the augmentation for IPv6 Router Advertisements defined in
routing-cfg-18. 

Thanks,
Acee 



>
>Thanks,
>Yingzhen
>
>-----Original Message-----
>From: Rtg-yang-coord [mailto:rtg-yang-coord-bounces@ietf.org] On Behalf
>Of Ladislav Lhotka
>Sent: Wednesday, April 15, 2015 1:09 AM
>To: Rtg-yang-coord@ietf.org
>Subject: [Rtg-yang-coord] routing-cfg-18 schema
>
>Hi,
>
>the editors of draft-ietf-netmod-routing-cfg implemented all changes to
>the data model that were agreed upon in Dallas. The resulting schema of
>the trees affected by the changes (interface, interface-state, routing
>and routing-state) is shown below. Unless somebody has objections, we
>will submit it in this form as revision -18 on Friday.
>
>Thanks,
>
>Acee and Lada
>
>============================
>
>module: ietf-interfaces
>   +--rw interfaces
>   |  +--rw interface* [name]
>   |     +--rw name           string
>   |     +--rw description?   string
>   |     +--rw type           identityref
>   |     +--rw enabled?       boolean
>   |     +--rw ip:ipv4!
>   |     |  +--rw ip:enabled?      boolean
>   |     |  +--rw ip:forwarding?   boolean
>   |     |  +--rw ip:mtu?          uint16
>   |     |  +--rw ip:address* [ip]
>   |     |  |  +--rw ip:ip               inet:ipv4-address-no-zone
>   |     |  |  +--rw (subnet)
>   |     |  |     +--:(prefix-length)
>   |     |  |        +--rw ip:prefix-length?   uint8
>   |     |  +--rw ip:neighbor* [ip]
>   |     |     +--rw ip:ip                    inet:ipv4-address-no-zone
>   |     |     +--rw ip:link-layer-address    yang:phys-address
>   |     +--rw ip:ipv6!
>   |        +--rw ip:enabled?                        boolean
>   |        +--rw ip:forwarding?                     boolean
>   |        +--rw ip:mtu?                            uint32
>   |        +--rw ip:address* [ip]
>   |        |  +--rw ip:ip               inet:ipv6-address-no-zone
>   |        |  +--rw ip:prefix-length    uint8
>   |        +--rw ip:neighbor* [ip]
>   |        |  +--rw ip:ip                    inet:ipv6-address-no-zone
>   |        |  +--rw ip:link-layer-address    yang:phys-address
>   |        +--rw ip:dup-addr-detect-transmits?      uint32
>   |        +--rw ip:autoconf
>   |        |  +--rw ip:create-global-addresses?   boolean
>   |        +--rw v6ur:ipv6-router-advertisements
>   |           +--rw v6ur:send-advertisements?    boolean
>   |           +--rw v6ur:max-rtr-adv-interval?   uint16
>   |           +--rw v6ur:min-rtr-adv-interval?   uint16
>   |           +--rw v6ur:managed-flag?           boolean
>   |           +--rw v6ur:other-config-flag?      boolean
>   |           +--rw v6ur:link-mtu?               uint32
>   |           +--rw v6ur:reachable-time?         uint32
>   |           +--rw v6ur:retrans-timer?          uint32
>   |           +--rw v6ur:cur-hop-limit?          uint8
>   |           +--rw v6ur:default-lifetime?       uint16
>   |           +--rw v6ur:prefix-list
>   |              +--rw v6ur:prefix* [prefix-spec]
>   |                 +--rw v6ur:prefix-spec           inet:ipv6-prefix
>   |                 +--rw (control-adv-prefixes)?
>   |                    +--:(no-advertise)
>   |                    |  +--rw v6ur:no-advertise?         empty
>   |                    +--:(advertise)
>   |                       +--rw v6ur:valid-lifetime?       uint32
>   |                       +--rw v6ur:on-link-flag?         boolean
>   |                       +--rw v6ur:preferred-lifetime?   uint32
>   |                       +--rw v6ur:autonomous-flag?      boolean
>   +--ro interfaces-state
>      +--ro interface* [name]
>         +--ro name                   string
>         +--ro type                   identityref
>         +--ro oper-status            enumeration
>         +--ro last-change?           yang:date-and-time
>         +--ro phys-address?          yang:phys-address
>         +--ro higher-layer-if*       interface-state-ref
>         +--ro lower-layer-if*        interface-state-ref
>         +--ro speed?                 yang:gauge64
>         +--ro statistics
>         |  +--ro discontinuity-time    yang:date-and-time
>         |  +--ro in-octets?            yang:counter64
>         |  +--ro in-unicast-pkts?      yang:counter64
>         |  +--ro in-broadcast-pkts?    yang:counter64
>         |  +--ro in-multicast-pkts?    yang:counter64
>         |  +--ro in-discards?          yang:counter32
>         |  +--ro in-errors?            yang:counter32
>         |  +--ro in-unknown-protos?    yang:counter32
>         |  +--ro out-octets?           yang:counter64
>         |  +--ro out-unicast-pkts?     yang:counter64
>         |  +--ro out-broadcast-pkts?   yang:counter64
>         |  +--ro out-multicast-pkts?   yang:counter64
>         |  +--ro out-discards?         yang:counter32
>         |  +--ro out-errors?           yang:counter32
>         +--ro ip:ipv4!
>         |  +--ro ip:forwarding?   boolean
>         |  +--ro ip:mtu?          uint16
>         |  +--ro ip:address* [ip]
>         |  |  +--ro ip:ip               inet:ipv4-address-no-zone
>         |  |  +--ro (subnet)?
>         |  |  |  +--:(prefix-length)
>         |  |  |     +--ro ip:prefix-length?   uint8
>         |  |  +--ro ip:origin?          ip-address-origin
>         |  +--ro ip:neighbor* [ip]
>         |     +--ro ip:ip                    inet:ipv4-address-no-zone
>         |     +--ro ip:link-layer-address?   yang:phys-address
>         |     +--ro ip:origin?               neighbor-origin
>         +--ro ip:ipv6!
>         |  +--ro ip:forwarding?                     boolean
>         |  +--ro ip:mtu?                            uint32
>         |  +--ro ip:address* [ip]
>         |  |  +--ro ip:ip               inet:ipv6-address-no-zone
>         |  |  +--ro ip:prefix-length    uint8
>         |  |  +--ro ip:origin?          ip-address-origin
>         |  |  +--ro ip:status?          enumeration
>         |  +--ro ip:neighbor* [ip]
>         |  |  +--ro ip:ip                    inet:ipv6-address-no-zone
>         |  |  +--ro ip:link-layer-address?   yang:phys-address
>         |  |  +--ro ip:origin?               neighbor-origin
>         |  |  +--ro ip:is-router?            empty
>         |  |  +--ro ip:state?                enumeration
>         |  +--ro v6ur:ipv6-router-advertisements
>         |     +--ro v6ur:send-advertisements?    boolean
>         |     +--ro v6ur:max-rtr-adv-interval?   uint16
>         |     +--ro v6ur:min-rtr-adv-interval?   uint16
>         |     +--ro v6ur:managed-flag?           boolean
>         |     +--ro v6ur:other-config-flag?      boolean
>         |     +--ro v6ur:link-mtu?               uint32
>         |     +--ro v6ur:reachable-time?         uint32
>         |     +--ro v6ur:retrans-timer?          uint32
>         |     +--ro v6ur:cur-hop-limit?          uint8
>         |     +--ro v6ur:default-lifetime?       uint16
>         |     +--ro v6ur:prefix-list
>         |        +--ro v6ur:prefix* [prefix-spec]
>         |           +--ro v6ur:prefix-spec           inet:ipv6-prefix
>         |           +--ro v6ur:valid-lifetime?       uint32
>         |           +--ro v6ur:on-link-flag?         boolean
>         |           +--ro v6ur:preferred-lifetime?   uint32
>         |           +--ro v6ur:autonomous-flag?      boolean
>         +--ro rt:routing-instance?   routing-instance-state-ref
>module: ietf-routing
>   +--ro routing-state
>   |  +--ro routing-instance* [name]
>   |     +--ro name                 string
>   |     +--ro type?                identityref
>   |     +--ro interfaces
>   |     |  +--ro interface*   if:interface-state-ref
>   |     +--ro routing-protocols
>   |     |  +--ro routing-protocol* [type name]
>   |     |     +--ro type                identityref
>   |     |     +--ro name                string
>   |     |     +--ro route-preference    route-preference
>   |     +--ro ribs
>   |        +--ro rib* [name]
>   |           +--ro name              string
>   |           +--ro address-family    identityref
>   |           +--ro default-rib?      boolean {multiple-ribs}?
>   |           +--ro routes
>   |              +--ro route*
>   |                 +--ro route-preference?          route-preference
>   |                 +--ro next-hop
>   |                 |  +--ro (next-hop-options)
>   |                 |     +--:(simple-next-hop)
>   |                 |     |  +--ro outgoing-interface?      ->
>/routing-state/routing-instance/interfaces/interface
>   |                 |     |  +--ro v6ur:next-hop-address?
>inet:ipv6-address
>   |                 |     |  +--ro v4ur:next-hop-address?
>inet:ipv4-address
>   |                 |     +--:(special-next-hop)
>   |                 |        +--ro special-next-hop?        enumeration
>   |                 +--ro source-protocol            identityref
>   |                 +--ro active?                    empty
>   |                 +--ro last-updated?              yang:date-and-time
>   |                 +--ro v6ur:destination-prefix?   inet:ipv6-prefix
>   |                 +--ro v4ur:destination-prefix?   inet:ipv4-prefix
>   +--rw routing
>      +--rw routing-instance* [name]
>         +--rw name                 string
>         +--rw type?                identityref
>         +--rw enabled?             boolean
>         +--rw router-id?           yang:dotted-quad
>         +--rw description?         string
>         +--rw interfaces
>         |  +--rw interface*   if:interface-ref
>         +--rw routing-protocols
>         |  +--rw routing-protocol* [type name]
>         |     +--rw type                identityref
>         |     +--rw name                string
>         |     +--rw description?        string
>         |     +--rw enabled?            boolean
>         |     +--rw route-preference?   route-preference
>         |     +--rw static-routes
>         |        +--rw v6ur:ipv6
>         |        |  +--rw v6ur:route* [destination-prefix]
>         |        |     +--rw v6ur:destination-prefix    inet:ipv6-prefix
>         |        |     +--rw v6ur:description?          string
>         |        |     +--rw v6ur:next-hop
>         |        |        +--rw (next-hop-options)
>         |        |           +--:(simple-next-hop)
>         |        |           |  +--rw v6ur:outgoing-interface?   ->
>/rt:routing/routing-instance/interfaces/interface
>         |        |           +--:(special-next-hop)
>         |        |           |  +--rw v6ur:special-next-hop?
>enumeration
>         |        |           +--:(next-hop-address)
>         |        |              +--rw v6ur:next-hop-address?
>inet:ipv6-address
>         |        +--rw v4ur:ipv4
>         |           +--rw v4ur:route* [destination-prefix]
>         |              +--rw v4ur:destination-prefix    inet:ipv4-prefix
>         |              +--rw v4ur:description?          string
>         |              +--rw v4ur:next-hop
>         |                 +--rw (next-hop-options)
>         |                    +--:(simple-next-hop)
>         |                    |  +--rw v4ur:outgoing-interface?   ->
>/rt:routing/routing-instance/interfaces/interface
>         |                    +--:(special-next-hop)
>         |                    |  +--rw v4ur:special-next-hop?
>enumeration
>         |                    +--:(next-hop-address)
>         |                       +--rw v4ur:next-hop-address?
>inet:ipv4-address
>         +--rw ribs
>            +--rw rib* [name]
>               +--rw name              string
>               +--rw address-family    identityref
>               +--rw description?      string
>               +--rw default-rib?      boolean {multiple-ribs}?
>rpcs:
>   +---x fib-route
>      +---w input 
>      |  +---w routing-instance-name    routing-instance-state-ref
>      |  +---w destination-address
>      |     +---w address-family    identityref
>      |     +---w v6ur:address?     inet:ipv6-address
>      |     +---w v4ur:address?     inet:ipv4-address
>      +--ro output
>         +--ro route
>            +--ro address-family             identityref
>            +--ro next-hop
>            |  +--ro (next-hop-options)
>            |     +--:(simple-next-hop)
>            |     |  +--ro outgoing-interface?      ->
>/routing-state/routing-instance/interfaces/interface
>            |     |  +--ro v6ur:next-hop-address?   inet:ipv6-address
>            |     |  +--ro v4ur:next-hop-address?   inet:ipv4-address
>            |     +--:(special-next-hop)
>            |        +--ro special-next-hop?        enumeration
>            +--ro source-protocol            identityref
>            +--ro active?                    empty
>            +--ro last-updated?              yang:date-and-time
>            +--ro v6ur:destination-prefix?   inet:ipv6-prefix
>            +--ro v4ur:destination-prefix?   inet:ipv4-prefix
>
>
>--
>Ladislav Lhotka, CZ.NIC Labs
>PGP Key ID: E74E8C0C
>
>
>
>
>_______________________________________________
>Rtg-yang-coord mailing list
>Rtg-yang-coord@ietf.org
>https://www.ietf.org/mailman/listinfo/rtg-yang-coord
>
>_______________________________________________
>Rtg-yang-coord mailing list
>Rtg-yang-coord@ietf.org
>https://www.ietf.org/mailman/listinfo/rtg-yang-coord