openconfig-segment-routing

Configuration and operational state parameters relating to the segment routing. This module defines a number of elements which a...

  • Version: 2017-01-12

    openconfig-segment-routing@2017-01-12


    
      module openconfig-segment-routing {
    
        yang-version 1;
    
        namespace
          "http://openconfig.net/yang/sr";
    
        prefix oc-sr;
    
        import openconfig-extensions {
          prefix oc-ext;
        }
        import openconfig-mpls-types {
          prefix oc-mpls-t;
        }
        import openconfig-interfaces {
          prefix oc-if;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
    
        organization "OpenConfig working group";
    
        contact
          "OpenConfig working group
    netopenconfig@googlegroups.com";
    
        description
          "Configuration and operational state parameters relating to the
    segment routing. This module defines a number of elements which are
    instantiated in multiple places throughout the OpenConfig collection
    of models.
    
    Particularly:
     - SRGB+LB dataplane instances - directly instantied by SR.
     - SRGB+LB dataplane reservations - instantiated within MPLS and future SR
    				 dataplanes.
     - SR SID advertisements - instantiated within the relevant IGP.
     - SR-specific counters - instantied within the relevant dataplane.";
    
        revision "2017-01-12" {
          description "Minor compliance fixes.";
          reference
            "0.0.3";
    
        }
    
        revision "2016-12-15" {
          description
            "Updated revision of SR module.";
          reference
            "0.0.2";
    
        }
    
        revision "2016-07-28" {
          description
            "Initial revision of SR module.";
          reference
            "0.0.1";
    
        }
    
        oc-ext:openconfig-version "0.0.3";
    
        typedef sr-dataplane-type {
          type enumeration {
            enum "MPLS" {
              value 0;
              description
                "The entity uses MPLS labels as Segment Identifiers.";
            }
            enum "IPV6" {
              value 1;
              description
                "The entity uses IPv6 prefixes as Segment Identifiers.";
            }
          }
          description
            "Types of data plane that can be used to instantiate a Segment
    Routing block of SIDs.";
        }
    
        typedef sr-sid-type {
          type union {
            type oc-mpls-t:mpls-label;
            type inet:ipv6-address-no-zone;
          }
          description
            "The defined value of a segment identifier.";
        }
      }  // module openconfig-segment-routing
    

© 2023 YumaWorks, Inc. All rights reserved.