Cisco-IOS-XR-um-lldp-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR lldp package configuration. This YANG module augments th...

  • Version: 2020-03-23

    Cisco-IOS-XR-um-lldp-cfg@2020-03-23


    
      module Cisco-IOS-XR-um-lldp-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-um-lldp-cfg";
    
        prefix um-lldp-cfg;
    
        import Cisco-IOS-XR-um-interface-cfg {
          prefix a1;
        }
        import cisco-semver {
          prefix semver;
        }
    
        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 lldp package configuration.
         
         This YANG module augments the
         modules with configuration data.
         
         Copyright (c) 2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-03-23" {
          description "Initial release";
        }
    
        semver:module-version "1.0.0";
    
        container lldp {
          presence
            "Indicates a lldp node is configured.";
          description
            "Enable LLDP, or configure global LLDP subcommands";
          leaf holdtime {
            type uint32 {
              range "0..65535";
            }
            description
              "Specify the holdtime (in sec) to be sent in packets";
          }
    
          leaf timer {
            type uint32 {
              range "5..65534";
            }
            description
              "Specify the rate at which LLDP packets are sent (in sec)";
          }
    
          leaf reinit {
            type uint32 {
              range "2..5";
            }
            description
              "Delay (in sec) for LLDP initialization on any interface";
          }
    
          container subinterfaces {
            description
              "Configure LLDP over Sub-interfaces";
            container enable {
              presence
                "Indicates a enable node is configured.";
              description
                "Enable LLDP over Sub-interfaces as well";
            }  // container enable
          }  // container subinterfaces
    
          container management {
            description
              "Configure LLDP over Management interface";
            container enable {
              presence
                "Indicates a enable node is configured.";
              description
                "Enable LLDP over Management interface as well";
            }  // container enable
          }  // container management
    
          container priorityaddr {
            description
              "Configure Priority to advertise Management interface address first";
            container enable {
              presence
                "Indicates a enable node is configured.";
              description
                "Enable LLDP to use Management interface address first(if configured)";
            }  // container enable
          }  // container priorityaddr
    
          container extended-show-width {
            description
              "Configure Extended Show LLDP Neighbor Width";
            container enable {
              presence
                "Indicates a enable node is configured.";
              description
                "Enable Extended Show LLDP Neighbor Width";
            }  // container enable
          }  // container extended-show-width
    
          container tlv-select {
            presence
              "Indicates a tlv-select node is configured.";
            description
              "Selection of LLDP TLVs to disable";
            container management-address {
              description
                "Management Address TLV";
              container disable {
                presence
                  "Indicates a disable node is configured.";
                description
                  "disable Management Address TLV";
              }  // container disable
            }  // container management-address
    
            container port-description {
              description "Port Description TLV";
              container disable {
                presence
                  "Indicates a disable node is configured.";
                description
                  "disable Port Description TLV";
              }  // container disable
            }  // container port-description
    
            container system-capabilities {
              description
                "System Capabilities TLV";
              container disable {
                presence
                  "Indicates a disable node is configured.";
                description
                  "disable System Capabilities TLV";
              }  // container disable
            }  // container system-capabilities
    
            container system-description {
              description
                "System Description TLV";
              container disable {
                presence
                  "Indicates a disable node is configured.";
                description
                  "disable System Description TLV";
              }  // container disable
            }  // container system-description
    
            container system-name {
              description "System Name TLV";
              container disable {
                presence
                  "Indicates a disable node is configured.";
                description
                  "disable System Name TLV";
              }  // container disable
            }  // container system-name
          }  // container tlv-select
        }  // container lldp
      }  // module Cisco-IOS-XR-um-lldp-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.