Skip to main content

YANG Data Model for SR and SR TE Topologies
draft-ietf-teas-yang-sr-te-topo-00

The information below is for an old version of the document.
Document Type
This is an older version of an Internet-Draft whose latest revision state is "Expired".
Authors Xufeng Liu , Igor Bryskin , Vishnu Pavan Beeram , Tarek Saad , Himanshu C. Shah , Stephane Litkowski
Last updated 2018-02-20
RFC stream Internet Engineering Task Force (IETF)
Formats
Reviews
Additional resources Mailing list discussion
Stream WG state WG Document
Document shepherd (None)
IESG IESG state I-D Exists
Consensus boilerplate Unknown
Telechat date (None)
Responsible AD (None)
Send notices to (None)
draft-ietf-teas-yang-sr-te-topo-00
7.2.  Informative References

   [I-D.ietf-i2rs-yang-network-topo]
              Clemm, A., Medved, J., Varga, R., Bahadur, N.,
              Ananthakrishnan, H., and X. Liu, "A Data Model for Network
              Topologies", draft-ietf-i2rs-yang-network-topo-20 (work in
              progress), December 2017.

   [I-D.ietf-i2rs-yang-l3-topology]
              Clemm, A., Medved, J., Varga, R., Liu, X.,
              Ananthakrishnan, H., and N. Bahadur, "A YANG Data Model
              for Layer 3 Topologies", draft-ietf-i2rs-yang-
              l3-topology-16 (work in progress), December 2017.

   [I-D.ietf-teas-yang-te-topo]
              Liu, X., Bryskin, I., Beeram, V., Saad, T., Shah, H., and
              O. Dios, "YANG Data Model for Traffic Engineering (TE)
              Topologies", draft-ietf-teas-yang-te-topo-13 (work in
              progress), October 2017.

   [I-D.ietf-spring-sr-yang]
              Litkowski, S., Qu, Y., Sarkar, P., and J. Tantsura, "YANG
              Data Model for Segment Routing", draft-ietf-spring-sr-
              yang-08 (work in progress), December 2017.

Liu, et al.              Expires August 24, 2018               [Page 12]
Internet-Draft             YANG SR TE Topology             February 2018

Appendix A.  Companion YANG Model for Non-NMDA Compliant Implementations

   The YANG module ietf-sr-topology defined in this document is designed
   to be used in conjunction with implementations that support the
   Network Management Datastore Architecture (NMDA) defined in
   [I-D.ietf-netmod-revised-datastores].  In order to allow
   implementations to use the model even in cases when NMDA is not
   supported, the following companion module, ietf-sr-topology-state, is
   defined as state model, which mirrors the module ietf-sr-topology
   defined earlier in this document.  However, all data nodes in the
   companion module are non-configurable, to represent the applied
   configuration or the derived operational states.

   The companion module, ietf-sr-topology-state, is redundant and SHOULD
   NOT be supported by implementations that support NMDA.

   As the structure of the companion module mirrors that of the
   coorespinding NMDA model, the YANG tree of the companion module is
   not depicted separately.

A.1.  SR Topology State Module

   <CODE BEGINS> file "ietf-sr-topology-state@2017-10-30.yang"
   module ietf-sr-topology-state {
     yang-version 1.1;
     namespace "urn:ietf:params:xml:ns:yang:ietf-sr-topology-state";
     prefix "srt-s";

     import ietf-sr-topology {
       prefix "srt";
     }
     import ietf-network-state {
       prefix "nw-s";
     }
     import ietf-network-topology-state {
       prefix "nt-s";
     }
     import ietf-l3-unicast-topology-state {
       prefix "l3t-s";
     }
     import ietf-segment-routing-common {
       prefix "sr-cmn";
     }

     organization "TBD";
     contact "TBD";
     description "L3 TE Topology model";

Liu, et al.              Expires August 24, 2018               [Page 13]
Internet-Draft             YANG SR TE Topology             February 2018

     revision 2017-10-30 {
       description "Initial revision";
       reference "TBD";
     }

     augment "/nw-s:networks/nw-s:network/nw-s:network-types/"
       + "l3t-s:l3-unicast-topology" {
       description
         "Defines the SR topology type.";
       uses srt:sr-topology-type;
     }

     augment "/nw-s:networks/nw-s:network/"
       + "l3t-s:l3-topology-attributes" {
       when "../nw-s:network-types/l3t-s:l3-unicast-topology/sr" {
         description "Augment only for SR topology.";
       }
       description "Augment topology configuration";
       uses srt:sr-topology-attributes;
     }

     augment "/nw-s:networks/nw-s:network/nw-s:node/"
       + "l3t-s:l3-node-attributes" {
       when "../../nw-s:network-types/l3t-s:l3-unicast-topology/sr" {
         description "Augment only for SR topology.";
       }
       description "Augment node configuration.";
       uses srt:sr-node-attributes;
     }

     augment "/nw-s:networks/nw-s:network/nw-s:node/"
       + "l3t-s:l3-node-attributes/l3t-s:prefix" {
       when "../../../nw-s:network-types/l3t-s:l3-unicast-topology/sr" {
         description "Augment only for SR topology.";
       }
       description "Augment node prefix.";
       uses srt:sr-node-prefix-attributes;
     }

     augment "/nw-s:networks/nw-s:network/nw-s:node/"
       + "nt-s:termination-point/"
       + "l3t-s:l3-termination-point-attributes" {
       when "../../../nw-s:network-types/l3t-s:l3-unicast-topology/"
         + "sr" {
         description "Augment only for SR topology.";
       }
       description "Augment termination point configuration";
       uses srt:sr-tp-attributes;

Liu, et al.              Expires August 24, 2018               [Page 14]
Internet-Draft             YANG SR TE Topology             February 2018

     }

     augment "/nw-s:networks/nw-s:network/nt-s:link/"
       + "l3t-s:l3-link-attributes" {
       when "../../nw-s:network-types/l3t-s:l3-unicast-topology/sr" {
         description "Augment only for SR topology.";
       }
       description "Augment link configuration.";
       uses srt:sr-link-attributes;
     }

     grouping sr-topology-attributes {
       description "SR topology scope attributes.";
       container sr {
         description
           "Containing SR attributes.";
         uses sr-cmn:srgb-cfg;
       } // sr
     } // sr-topology-attributes
   }
   <CODE ENDS>

Authors' Addresses

   Xufeng Liu
   Jabil
   8281 Greensboro Drive, Suite 200
   McLean  VA 22102
   USA

   EMail: Xufeng_Liu@jabil.com

   Igor Bryskin
   Huawei Technologies

   EMail: Igor.Bryskin@huawei.com

   Vishnu Pavan Beeram
   Juniper Networks

   EMail: vbeeram@juniper.net

Liu, et al.              Expires August 24, 2018               [Page 15]
Internet-Draft             YANG SR TE Topology             February 2018

   Tarek Saad
   Cisco Systems Inc

   EMail: tsaad@cisco.com

   Himanshu Shah
   Ciena

   EMail: hshah@ciena.com

   Stephane Litkowski
   Orange Business Service

   EMail: stephane.litkowski@orange.com

Liu, et al.              Expires August 24, 2018               [Page 16]