openconfig-mpls-te

Configuration related to constrained-path LSPs and traffic engineering. These definitions are not specific to a particular sign...

  • Version: 2023-07-25

    openconfig-mpls-te@2023-07-25


    
      submodule openconfig-mpls-te {
    
        yang-version 1;
    
        belongs-to openconfig-mpls {
            prefix oc-mpls;
        }
    
        import openconfig-inet-types {
          prefix inet;
        }
        import openconfig-mpls-rsvp {
          prefix oc-rsvp;
        }
        import openconfig-mpls-sr {
          prefix oc-sr;
        }
        import openconfig-mpls-types {
          prefix oc-mplst;
        }
        import openconfig-types {
          prefix oc-types;
        }
        import openconfig-yang-types {
          prefix yang;
        }
        import openconfig-extensions {
          prefix oc-ext;
        }
        import openconfig-pcep {
          prefix oc-pcep;
        }
    
        organization "OpenConfig working group";
    
        contact
          "OpenConfig working group
        netopenconfig@googlegroups.com";
    
        description
          "Configuration related to constrained-path LSPs and traffic
        engineering.  These definitions are not specific to a particular
        signaling protocol or mechanism (see related submodules for
        signaling protocol-specific configuration).";
    
        revision "2023-07-25" {
          description
            "Added record-route-enabled to MPLS p2p tunnel config";
          reference
            "3.4.0";
    
        }
    
        revision "2023-04-28" {
          description
            "Fixed typo in cspf-tiebreaker leaf description";
          reference
            "3.3.2";
    
        }
    
        revision "2023-04-25" {
          description
            "Add clarifying comments on use of interface-ref.";
          reference
            "3.3.1";
    
        }
    
        revision "2022-02-11" {
          description
            "Add lsp-path PCE control mode";
          reference
            "3.3.0";
    
        }
    
        revision "2021-07-28" {
          description
            "Add prefix to qualify when statements.";
          reference
            "3.2.2";
    
        }
    
        revision "2021-06-16" {
          description
            "Remove trailing whitespace.";
          reference
            "3.1.1";
    
        }
    
        revision "2021-03-24" {
          description
            "Add Metric bounds constraints for LSPs.";
          reference
            "3.1.0";
    
        }
    
        revision "2018-11-21" {
          description
            "Add OpenConfig module metadata extensions.";
          reference
            "3.0.1";
    
        }
    
        revision "2018-07-02" {
          description
            "Add new RSVP-TE statistics, remove associated-rsvp-session
          leaf. Remove use of date-and-time.";
          reference
            "3.0.0";
    
        }
    
        revision "2018-06-16" {
          description
            "Included attributes for base LDP configuration.";
          reference
            "2.6.0";
    
        }
    
        revision "2018-06-13" {
          description
            "Add ttl-propagation to global MPLS config";
          reference
            "2.5.0";
    
        }
    
        revision "2018-06-05" {
          description
            "Fixed bugs in when statements on RSVP-TE attributes";
          reference
            "2.4.2";
    
        }
    
        revision "2017-08-24" {
          description "Minor formatting fixes.";
          reference
            "2.4.1";
    
        }
    
        revision "2017-06-21" {
          description "Add TC bits typedef.";
          reference
            "2.4.0";
    
        }
    
        revision "2017-03-22" {
          description
            "Add RSVP calculated-absolute-subscription-bw";
          reference
            "2.3.0";
    
        }
    
        revision "2017-01-26" {
          description
            "Add RSVP Tspec, clarify units for RSVP, remove unused LDP";
          reference
            "2.2.0";
    
        }
    
        revision "2016-12-15" {
          description
            "Add additional MPLS parameters";
          reference
            "2.1.0";
    
        }
    
        revision "2016-09-01" {
          description
            "Revisions based on implementation feedback";
          reference
            "2.0.0";
    
        }
    
        revision "2016-08-08" {
          description
            "Public release of MPLS models";
          reference
            "1.0.1";
    
        }
    
        oc-ext:openconfig-version "3.4.0";
    
        typedef te-bandwidth-type {
          type enumeration {
            enum "SPECIFIED" {
              value 0;
              description
                "Bandwidth is explicitly specified";
            }
            enum "AUTO" {
              value 1;
              description
                "Bandwidth is automatically computed";
            }
          }
          description
            "enumerated type for specifying whether bandwidth is
           explicitly specified or automatically computed";
        }
    
        typedef mpls-srlg-flooding-type {
          type enumeration {
            enum "FLOODED_SRLG" {
              value 0;
              description
                "SRLG is flooded in the IGP";
            }
            enum "STATIC_SRLG" {
              value 1;
              description
                "SRLG is not flooded, the members are
               statically configured";
            }
          }
          description
            "Enumerated bype for specifying how the SRLG is flooded";
        }
    
        typedef mpls-hop-type {
          type enumeration {
            enum "LOOSE" {
              value 0;
              description
                "loose hop in an explicit path";
            }
            enum "STRICT" {
              value 1;
              description
                "strict hop in an explicit path";
            }
          }
          description
            "enumerated type for specifying loose or strict
          paths";
        }
    
        typedef te-metric-type {
          type union {
            type enumeration {
              enum "IGP" {
                value 0;
                description
                  "set the LSP metric to track the underlying
                IGP metric";
              }
            }
            type uint32;
          }
          description
            "union type for setting the LSP TE metric to a
          static value, or to track the IGP metric";
        }
    
        typedef cspf-tie-breaking {
          type enumeration {
            enum "RANDOM" {
              value 0;
              description
                "CSPF calculation selects a random path among
              multiple equal-cost paths to the destination";
            }
            enum "LEAST_FILL" {
              value 1;
              description
                "CSPF calculation selects the path with greatest
              available bandwidth";
            }
            enum "MOST_FILL" {
              value 2;
              description
                "CSPF calculation selects the path with the least
              available bandwidth";
            }
          }
          default 'RANDOM';
          description
            "type to indicate the CSPF selection policy when
          multiple equal cost paths are available";
        }
      }  // submodule openconfig-mpls-te
    

© 2023 YumaWorks, Inc. All rights reserved.