Cisco-IOS-XR-ipv6-nd-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR ipv6-nd package configuration. This module contains defi...

  • Version: 2019-10-31

    Cisco-IOS-XR-ipv6-nd-cfg@2019-10-31


    
      module Cisco-IOS-XR-ipv6-nd-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-nd-cfg";
    
        prefix ipv6-nd-cfg;
    
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-ifmgr-cfg {
          prefix a1;
        }
    
        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 ipv6-nd package configuration.
         
         This module contains definitions
         for the following management objects:
           ipv6-neighbor: IPv6 neighbor or neighbor discovery
             configuration
         
         This YANG module augments the
           Cisco-IOS-XR-ifmgr-cfg
         module with configuration data.
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-10-31" {
          description "Added mandatory nodes.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        typedef Ipv6srp-encapsulation {
          type enumeration {
            enum "srpa" {
              value 5;
              description
                "Encapsulation type SRP, prefer side A";
            }
            enum "srpb" {
              value 6;
              description
                "Encapsulation type SRP, prefer side B";
            }
          }
          description "Ipv6srp encapsulation";
        }
    
        typedef Ipv6nd-month {
          type enumeration {
            enum "january" {
              value 0;
              description "January";
            }
            enum "february" {
              value 1;
              description "February";
            }
            enum "march" {
              value 2;
              description "March";
            }
            enum "april" {
              value 3;
              description "April";
            }
            enum "may" {
              value 4;
              description "May";
            }
            enum "june" {
              value 5;
              description "June";
            }
            enum "july" {
              value 6;
              description "July";
            }
            enum "august" {
              value 7;
              description "August";
            }
            enum "september" {
              value 8;
              description "September";
            }
            enum "october" {
              value 9;
              description "October";
            }
            enum "november" {
              value 10;
              description "November";
            }
            enum "december" {
              value 11;
              description "December";
            }
          }
          description "Ipv6nd month";
        }
    
        typedef Ipv6-nd-router-pref {
          type enumeration {
            enum "high" {
              value 1;
              description "High preference";
            }
            enum "medium" {
              value 2;
              description "Medium preference";
            }
            enum "low" {
              value 3;
              description "Low preference";
            }
          }
          description "Ipv6 nd router pref";
        }
    
        container ipv6-neighbor {
          description
            "IPv6 neighbor or neighbor discovery configuration";
          container neighbors {
            description "IPv6 neighbors";
            list neighbor {
              key "neighbor-address interface-name";
              description
                "IPv6 neighbor configuration";
              leaf neighbor-address {
                type inet:ipv6-address-no-zone;
                description "IPv6 address";
              }
    
              leaf interface-name {
                type xr:Interface-name;
                description "Interface name";
              }
    
              leaf zone {
                type string;
                mandatory true;
                description "IPv6 address zone";
              }
    
              leaf mac-address {
                type yang:mac-address;
                mandatory true;
                description
                  "48-bit hardware address H.H.H";
              }
    
              leaf encapsulation {
                type Ipv6srp-encapsulation;
                description
                  "Encapsulation type only if interface type is
                 SRP";
              }
            }  // list neighbor
          }  // container neighbors
    
          leaf scavenge-timeout {
            type uint32 {
              range "1..43200";
            }
            units "second";
            description
              "Set lifetime for stale neighbor";
          }
    
          leaf cos {
            type uint32 {
              range "0..7";
            }
            description
              "Set cos value for both outer vlan and inner vlan
             (if present) in all ougoing ND control packets";
          }
        }  // container ipv6-neighbor
      }  // module Cisco-IOS-XR-ipv6-nd-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.