Cisco-IOS-XR-ipv4-arp-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR ipv4-arp package configuration. This model is deprecated...

  • Version: 2019-05-12

    Cisco-IOS-XR-ipv4-arp-cfg@2019-05-12


    
      module Cisco-IOS-XR-ipv4-arp-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-arp-cfg";
    
        prefix ipv4-arp-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 ipv4-arp package configuration.
         
         This model is deprecated and is replaced by
         Cisco-IOS-XR-um-arp-cfg.yang which will provide the
         compatible functionalities.
         
         This module contains definitions
         for the following management objects:
           arp: ARP configuraiton
           iedge-cfg: IEDGE ARP configuration
           arpgmp: ARP configuration
           arp-redundancy: ARP configuraiton
         
         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-05-12" {
          description
            "Deprecated the native model, replaced by UM model.";
        }
    
        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 "1.0.0";
    
        typedef Arp-entry {
          type enumeration {
            enum "static" {
              value 0;
              description
                "Static ARP entry type";
            }
            enum "alias" {
              value 1;
              description "Alias ARP entry type";
            }
          }
          description "Arp entry";
        }
    
        typedef Arp-encap {
          type enumeration {
            enum "arpa" {
              value 1;
              description
                "Encapsulation type ARPA";
            }
            enum "srp" {
              value 4;
              description
                "Encapsulation type SRP";
            }
            enum "srpa" {
              value 5;
              description
                "Encapsulation type SRPA";
            }
            enum "srpb" {
              value 6;
              description
                "Encapsulation type SRPB";
            }
          }
          description "Arp encap";
        }
    
        container arp {
          status deprecated;
          description
            "This model is deprecated and is replaced by
           Cisco-IOS-XR-um-arp-cfg.yang which will provide
           the compatible functionalities.  ARP
           configuraiton";
          leaf max-entries {
            type uint32 {
              range "1..256000";
            }
            description
              "Configure maximum number of safe ARP entries per
             line card";
          }
    
          leaf inner-cos {
            type uint32 {
              range "0..7";
            }
            description
              "Configure inner cos values for arp packets";
          }
    
          leaf outer-cos {
            type uint32 {
              range "0..7";
            }
            description
              "Configure outer cos values for arp packets";
          }
        }  // container arp
    
        container iedge-cfg {
          status deprecated;
          description
            "This model is deprecated and is replaced by
           Cisco-IOS-XR-um-arp-cfg.yang which will provide
           the compatible functionalities.  IEDGE ARP
           configuration";
          leaf subscriber-uncond-proxy {
            type empty;
            description
              "ARP Subscriber Enable Unconditional Proxy ARP";
          }
    
          leaf subscriber-scale-mode {
            type empty;
            description
              "ARP Subscriber Scale Mode Configuration";
          }
        }  // container iedge-cfg
    
        container arpgmp {
          status deprecated;
          description
            "This model is deprecated and is replaced by
           Cisco-IOS-XR-um-arp-cfg.yang which will provide
           the compatible functionalities.  ARP
           configuration";
          list vrf {
            key "vrf-name";
            description
              "Per VRF configuration, for the default VRF use
             'default'";
            container entries {
              description
                "ARP static and alias entry configuration";
              list entry {
                key "address";
                description
                  "ARP static and alias entry configuration item";
                leaf address {
                  type inet:ipv4-address-no-zone;
                  description "IP Address";
                }
    
                leaf mac-address {
                  type yang:mac-address;
                  description "MAC Address";
                }
    
                leaf encapsulation {
                  type Arp-encap;
                  description
                    "Encapsulation type";
                }
    
                leaf entry-type {
                  type Arp-entry;
                  description "Entry type";
                }
    
                leaf interface {
                  type xr:Interface-name;
                  description "Interface name";
                }
              }  // list entry
            }  // container entries
    
            leaf vrf-name {
              type xr:Cisco-ios-xr-string;
              description "VRF name";
            }
          }  // list vrf
        }  // container arpgmp
    
        container arp-redundancy {
          status deprecated;
          description
            "This model is deprecated and is replaced by
           Cisco-IOS-XR-um-arp-cfg.yang which will provide
           the compatible functionalities.  ARP
           configuraiton";
          container redundancy {
            presence
              "Indicates a redundancy node is configured.";
            description
              "Configure parameter for ARP Geo redundancy";
            container groups {
              description "Table of Group";
              list group {
                key "group-id";
                description "None";
                container peers {
                  description "Table of Peer";
                  list peer {
                    key "prefix-string";
                    description "None";
                    leaf prefix-string {
                      type inet:ip-address-no-zone;
                      description
                        "Neighbor IPv4 address";
                    }
                  }  // list peer
                }  // container peers
    
                container interface-list {
                  presence
                    "Indicates a interface-list node is configured.";
                  description
                    "List of Interfaces for this Group";
                  container interfaces {
                    description
                      "Table of Interface";
                    list interface {
                      key "interface-name";
                      description
                        "Interface for this Group";
                      leaf interface-name {
                        type xr:Interface-name;
                        description
                          "Interface name";
                      }
    
                      leaf interface-id {
                        type uint32 {
                          range "1..65535";
                        }
                        mandatory true;
                        description
                          "Interface Id for the interface";
                      }
                    }  // list interface
                  }  // container interfaces
    
                  leaf enable {
                    type empty;
                    mandatory true;
                    description
                      "Enable List of Interfaces for this Group.
                     Deletion of this object also causes deletion
                     of all associated objects under
                     InterfaceList.";
                  }
                }  // container interface-list
    
                leaf source-interface {
                  type xr:Interface-name;
                  description "Interface name";
                }
    
                leaf group-id {
                  type uint32 {
                    range "1..32";
                  }
                  description "Group ID";
                }
              }  // list group
            }  // container groups
    
            leaf enable {
              type empty;
              mandatory true;
              description
                "Enable Configure parameter for ARP Geo
               redundancy. Deletion of this object also causes
               deletion of all associated objects under
               ArpRedundancy.";
            }
          }  // container redundancy
        }  // container arp-redundancy
      }  // module Cisco-IOS-XR-ipv4-arp-cfg
    

© 2024 YumaWorks, Inc. All rights reserved.