huawei-nd

ND management. This yang file has been replaced by huawei-ipv6-nd.yang.

  • Version: 2020-03-05

    huawei-nd@2020-03-05


    
      module huawei-nd {
    
        yang-version 1;
    
        namespace "urn:huawei:yang:huawei-nd";
    
        prefix nd;
    
        import huawei-ifm {
          prefix ifm;
        }
        import huawei-pub-type {
          prefix pub-type;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import huawei-extension {
          prefix ext;
        }
        import huawei-if-ip {
          prefix if-ip;
        }
        import huawei-network-instance {
          prefix ni;
        }
        import huawei-ethernet {
          prefix ethernet;
        }
    
        organization
          "Huawei Technologies Co., Ltd.";
    
        contact
          "Huawei Industrial Base
    Bantian, Longgang
    Shenzhen 518129
    People's Republic of China
    Website: http://www.huawei.com
    Email: support@huawei.com";
    
        description
          "ND management. This yang file has been replaced by huawei-ipv6-nd.yang.";
    
        revision "2020-03-05" {
          description
            "Modify description information.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-04-01" {
          description "Init revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "nd";
    
        typedef nd-flag {
          type enumeration {
            enum "false" {
              value 0;
              description "NO.";
            }
            enum "true" {
              value 1;
              description "YES.";
            }
          }
          description "Description of nd-flag.";
        }
    
        typedef a-flag {
          type enumeration {
            enum "on" {
              value 1;
              description "YES.";
            }
            enum "off" {
              value 0;
              description "NO.";
            }
          }
          description "Description of a-flag.";
        }
    
        typedef o-flag {
          type enumeration {
            enum "on" {
              value 1;
              description "YES.";
            }
            enum "off" {
              value 0;
              description "NO.";
            }
          }
          description "Description of o-flag.";
        }
    
        typedef nd-ngb-state {
          type enumeration {
            enum "INCMP" {
              value 0;
              description "Incomplete.";
            }
            enum "REACH" {
              value 1;
              description "Reachable.";
            }
            enum "STALE" {
              value 2;
              description "Stale.";
            }
            enum "DELAY" {
              value 3;
              description "Delay.";
            }
            enum "PROBE" {
              value 4;
              description "Probe.";
            }
          }
          description
            "Description of nd-ngb-state.";
        }
    
        typedef nd-route-preference {
          type enumeration {
            enum "MEDIUM" {
              value 0;
              description "Preference medium.";
            }
            enum "HIGH" {
              value 1;
              description "Preference high.";
            }
            enum "LOW" {
              value 3;
              description "Preference low.";
            }
          }
          description
            "Description of nd-routePreference.";
        }
    
        typedef nd-nb-type {
          type enumeration {
            enum "remote" {
              value 0;
              description "Remote.";
            }
            enum "static" {
              value 1;
              description "Static.";
            }
            enum "dynamic" {
              value 2;
              description "Dynamic.";
            }
          }
          description "Description of nb-type.";
        }
    
        container nd {
          status deprecated;
          description "ND management.";
          container global {
            status deprecated;
            description
              "Configure global configuration of ND.";
            leaf na-send-rate-limit {
              type uint16 {
                range "1..10240";
              }
              default "5000";
              status deprecated;
              description
                "Rate limit of sending NA packet.";
            }
    
            leaf rs-send-rate-limit {
              type uint16 {
                range "1..1000";
              }
              default "550";
              status deprecated;
              description
                "Rate limit of sending RS packet.";
            }
    
            leaf ra-send-rate-limit {
              type uint16 {
                range "1..1000";
              }
              default "550";
              status deprecated;
              description
                "Rate limit of sending RA packet.";
            }
          }  // container global
    
          container ipv6-neighbors {
            config false;
            status deprecated;
            description
              "List of information about neighbor entry query.";
            list ipv6-neighbor {
              key "if-name ipv6-addr";
              config false;
              status deprecated;
              description
                "Statistics of query neighbor entries which can be static, or dynamic.";
              leaf if-name {
                type leafref {
                  path "/ifm:ifm/ifm:interfaces/ifm:interface/ifm:name";
                }
                config false;
                status deprecated;
                description "Interface name.";
              }
    
              leaf ipv6-addr {
                type inet:ipv6-address-no-zone;
                config false;
                status deprecated;
                description
                  "IPv6 address of a neighbor entry.";
              }
    
              leaf mac-addr {
                type pub-type:mac-address;
                config false;
                mandatory true;
                status deprecated;
                description "MAC address.";
              }
    
              leaf vpnname {
                ext:support-filter "true";
                type string {
                  length "0..31";
                }
                config false;
                status deprecated;
                description "VPN name.";
              }
    
              leaf vlan-id {
                ext:support-filter "true";
                type uint32 {
                  range "1..4094";
                }
                config false;
                status deprecated;
                description "VLAN ID.";
              }
    
              leaf state {
                type nd-ngb-state;
                config false;
                status deprecated;
                description
                  "Status of a neighbor entry.";
              }
    
              leaf static-flag {
                type nd-nb-type;
                config false;
                status deprecated;
                description
                  "Type of a neighbor entry. The available options are static, dynamic or remote.";
              }
    
              leaf age {
                type uint32 {
                  range "0..4294967293";
                }
                config false;
                status deprecated;
                description
                  "Time when a neighbor entry is established.";
              }
    
              leaf is-router {
                type nd-flag;
                config false;
                status deprecated;
                description "Is a Router.";
              }
    
              leaf cevid {
                type uint32 {
                  range "1..4094";
                }
                config false;
                status deprecated;
                description
                  "Inner VLAN tag. If this parameter is not set, the value of the VLAN ID is considered to be 0. If this parameter is set, it indicates that the ND entry is in the associated VLAN.";
              }
    
              leaf strict-flag {
                type boolean;
                config false;
                status deprecated;
                description
                  "Enable/disable strict security mode.";
              }
    
              leaf nickname {
                type uint32 {
                  range "1..65535";
                }
                config false;
                status deprecated;
                description
                  "Nickname which uniquely identifies an RB on a TRILL network.";
              }
    
              leaf bd-id {
                type uint32 {
                  range "1..16777215";
                }
                config false;
                status deprecated;
                description "Bridge-domain ID.";
              }
    
              leaf vni {
                type uint32 {
                  range "1..16777215";
                }
                config false;
                status deprecated;
                description "Vxlan VNI.";
              }
    
              leaf source-addr {
                type inet:ip-address-no-zone;
                config false;
                status deprecated;
                description
                  "Tunnel SourceIPAddr.";
              }
    
              leaf peer-addr {
                type inet:ip-address-no-zone;
                config false;
                status deprecated;
                description "Tunnel PeerIPAddr.";
              }
            }  // list ipv6-neighbor
          }  // container ipv6-neighbors
        }  // container nd
      }  // module huawei-nd
    

© 2023 YumaWorks, Inc. All rights reserved.