Cisco-IOS-XR-um-mpls-lsd-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR mpls-lsd package configuration. This YANG module augment...

  • Version: 2021-01-28

    Cisco-IOS-XR-um-mpls-lsd-cfg@2021-01-28


    
      module Cisco-IOS-XR-um-mpls-lsd-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-um-mpls-lsd-cfg";
    
        prefix um-mpls-lsd-cfg;
    
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
         
         Postal: 170 West Tasman Drive
         San Jose, CA 95134
         
         Tel: +1 800 553-NETS
         
         E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of YANG definitions
         for Cisco IOS-XR mpls-lsd package configuration.
         
         This YANG module augments the
         modules with configuration data.
         
         Copyright (c) 2019-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-01-28" {
          description
            "Added cisco-support task yang nodes
           2020-12-04
             Removed unsupported nodes
           2020-11-10
             Changed some constraints under table-0
           2020-11-09
             Changed table from a list to a container called table-0";
        }
    
        revision "2020-05-20" {
          description
            "Added blocks node to the model";
        }
    
        revision "2019-10-10" {
          description
            "Removed unnecessary augments from the model";
        }
    
        revision "2019-06-10" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2019-03-30" {
          description "Initial version";
        }
    
        semver:module-version "3.0.0";
        semver:module-version "2.1.0";
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        container mpls {
          description
            "Global MPLS configuration subcommands";
          container ip-ttl-propagate {
            description
              "Propagate IP TTL into the label stack";
            container disable {
              must "not(local and forwarded)";
              presence
                "Indicates a disable node is configured.";
              description
                "Disable IP TTL propagation";
              container local {
                presence
                  "Indicates a local node is configured.";
                description
                  "Disable IP TTL propagation for only locally generated MPLS packets";
              }  // container local
    
              container forwarded {
                presence
                  "Indicates a forwarded node is configured.";
                description
                  "Disable IP TTL propagation for only forwarded MPLS packets";
              }  // container forwarded
            }  // container disable
          }  // container ip-ttl-propagate
    
          container ipv6 {
            description
              "Configure IPv6 parameters";
            leaf ttl-expiration-pop {
              type uint32 {
                range "1..10";
              }
              description
                "Number of labels to pop when MPLS TTL expires";
            }
          }  // container ipv6
    
          container ipv4 {
            description
              "Configure IPv4 parameters";
            leaf ttl-expiration-pop {
              type uint32 {
                range "1..10";
              }
              description
                "Number of labels to pop when MPLS TTL expires";
            }
          }  // container ipv4
    
          container label {
            description "Label properties";
            container range {
              description "Label range";
              container table-0 {
                description
                  "Specify label table";
                leaf minimum-label {
                  type uint32 {
                    range "16000..1048575";
                  }
                  must "../maximum-label";
                  description
                    "Manimum label value";
                }
    
                leaf maximum-label {
                  type uint32 {
                    range "16000..1048575";
                  }
                  must "../minimum-label";
                  description
                    "Maximum label value";
                }
    
                container static {
                  must "../minimum-label";
                  presence
                    "Indicates a static node is configured.";
                  description
                    "Specify block of labels for static bindings";
                  leaf minimum-label {
                    type uint32 {
                      range "16..1048575";
                    }
                    mandatory true;
                    description
                      "Specify block of labels for static bindings";
                  }
    
                  leaf maximum-label {
                    type uint32 {
                      range "16..1048575";
                    }
                    mandatory true;
                    description
                      "Maximum static label value";
                  }
                }  // container static
              }  // container table-0
            }  // container range
    
            container blocks {
              description "Label blocks";
              list block {
                must "end or size";
                key "name";
                description "Block of labels";
                leaf name {
                  type xr:Cisco-ios-xr-string {
                    length "1..1024";
                  }
                  description
                    "Block name (unique identifier)";
                }
    
                leaf type {
                  type enumeration {
                    enum "cbf" {
                      value 3;
                      description "CBF block";
                    }
                    enum "pfp" {
                      value 4;
                      description "PFP block";
                    }
                  }
                  mandatory true;
                  description
                    "Type of block to configure";
                }
    
                leaf start {
                  type uint32 {
                    range "16000..1048575";
                  }
                  mandatory true;
                  description
                    "Start of block range";
                }
    
                leaf end {
                  type uint32 {
                    range "120..1048575";
                  }
                  must "not(../size)";
                  description
                    "End of block range";
                }
    
                leaf size {
                  type uint32 {
                    range "1..1032576";
                  }
                  must "not(../end)";
                  description
                    "Size of the block";
                }
    
                leaf client {
                  type xr:Cisco-ios-xr-string {
                    length "1..48";
                  }
                  mandatory true;
                  description "Block client";
                }
              }  // list block
            }  // container blocks
          }  // container label
    
          container lsd {
            description
              "MPLS LSD process command";
            container ltrace-buffer {
              description
                "MPLS LSD LTrace buffer files";
              leaf multiplier {
                type uint32 {
                  range "2..5";
                }
                description
                  "Ltrace buffer file size multiplier";
              }
            }  // container ltrace-buffer
    
            container app-reg-delay {
              description
                "Application registration delay";
              container disable {
                presence
                  "Indicates a disable node is configured.";
                description
                  "Disable delay for regular applications' registration";
              }  // container disable
            }  // container app-reg-delay
          }  // container lsd
    
          container entropy-label {
            presence
              "Indicates a entropy-label node is configured.";
            description
              "Enable MPLS entropy label";
          }  // container entropy-label
        }  // container mpls
      }  // module Cisco-IOS-XR-um-mpls-lsd-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.