Cisco-IOS-XR-infra-rsi-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR infra-rsi package configuration. This model is deprecate...

  • Version: 2020-08-12

    Cisco-IOS-XR-infra-rsi-cfg@2020-08-12


    
      module Cisco-IOS-XR-infra-rsi-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-cfg";
    
        prefix infra-rsi-cfg;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-ifmgr-cfg {
          prefix a1;
        }
        import Cisco-IOS-XR-snmp-agent-cfg {
          prefix a2;
        }
    
        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 infra-rsi package configuration.
    
    This model is deprecated and is replaced by
    Cisco-IOS-XR-um-vrf-cfg.yang which will provide the
    compatible functionalities.
    
    This module contains definitions
    for the following management objects:
      vrfs: VRF configuration
      global-af: Default VRF configuration
      srlg: SRLG configuration commands
      vrf-groups: Set of VRF groups configured
      selective-vrf-download: Selective VRF download configuration
    
    This YANG module augments the
      Cisco-IOS-XR-ifmgr-cfg,
      Cisco-IOS-XR-snmp-agent-cfg
    modules with configuration data.
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-08-12" {
          description
            "Configuration support for srlg description.";
        }
    
        revision "2019-10-31" {
          description
            "Added mandatory nodes and presence containers.";
        }
    
        revision "2019-05-12" {
          description
            "Deprecated the native model, replaced by UM model.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-06-15" {
          description
            "Allow min..max in range when min == max.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2016-12-19" {
          description "IOS XR 6.2.1 revision.";
        }
    
        revision "2015-01-07" {
          description "IOS XR 5.3.1 revision.";
        }
    
        semver:module-version "2.1.0";
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        typedef Vrf-sub-address-family {
          type enumeration {
            enum "unicast" {
              value 1;
              description "Unicast";
            }
            enum "multicast" {
              value 2;
              description "Multicast";
            }
            enum "flow-spec" {
              value 133;
              description "Flow spec";
            }
          }
          description "Vrf sub address family";
        }
    
        typedef Vrf-address-family {
          type enumeration {
            enum "ipv4" {
              value 1;
              description "IPv4";
            }
            enum "ipv6" {
              value 2;
              description "IPv6";
            }
          }
          description "Vrf address family";
        }
    
        typedef Srlg-priority {
          type enumeration {
            enum "critical" {
              value 0;
              description "Critical";
            }
            enum "high" {
              value 1;
              description "High";
            }
            enum "default" {
              value 2;
              description "Default";
            }
            enum "low" {
              value 3;
              description "Low";
            }
            enum "very-low" {
              value 4;
              description "Very low";
            }
          }
          description "Srlg priority";
        }
    
        grouping AF-TABLE {
          description
            "Common node of vrf, global-af";
          container afs {
            description
              "VRF address family configuration";
            list af {
              key "af-name saf-name topology-name";
              description
                "VRF address family configuration";
              leaf create {
                type empty;
                description
                  "VRF configuration for a particular address
    family";
              }
    
              leaf af-name {
                type Vrf-address-family;
                description "Address family";
              }
    
              leaf saf-name {
                type Vrf-sub-address-family;
                description "Sub-Address family";
              }
    
              leaf topology-name {
                type xr:Cisco-ios-xr-string {
                  length "1..244";
                }
                description "Topology name";
              }
            }  // list af
          }  // container afs
        }  // grouping AF-TABLE
    
        augment /a1:interface-configurations/a1:interface-configuration {
          description
            "This augment extends the configuration data of
    'Cisco-IOS-XR-ifmgr-cfg'";
          leaf vrf {
            type xr:Cisco-ios-xr-string {
              length "1..32";
            }
            description
              "Assign the interface to a VRF";
          }
        }
    
        augment /a1:interface-configurations/a1:interface-configuration {
          description
            "This augment extends the configuration data of
    'Cisco-IOS-XR-ifmgr-cfg'";
          container afs {
            status deprecated;
            description
              "This model is deprecated and is replaced by
    Cisco-IOS-XR-um-vrf-cfg.yang which will provide
    the compatible functionalities.
    Per-address-family and topology configuration";
            list af {
              key "af-name saf-name";
              description
                "The presence of this object enables the
    givenaddress-family and topology on the
    interface.";
              leaf af-name {
                type Vrf-address-family;
                description "Address-family";
              }
    
              leaf saf-name {
                type Vrf-sub-address-family;
                description "Sub-address-family";
              }
            }  // list af
    
            list af-topology-name {
              key "topology-name af-name saf-name";
              description
                "The presence of this object enables the
    givenaddress-family and topology on the
    interface.";
              leaf topology-name {
                type xr:Cisco-ios-xr-string {
                  length "1..32";
                }
                description "Topology name";
              }
    
              leaf af-name {
                type Vrf-address-family;
                description "Address-family";
              }
    
              leaf saf-name {
                type Vrf-sub-address-family;
                description "Sub-address-family";
              }
            }  // list af-topology-name
          }  // container afs
        }
    
        augment /a2:snmp/a2:notification {
          description
            "This augment extends the configuration data of
    'Cisco-IOS-XR-snmp-agent-cfg'";
          container selective-vrf-download {
            status deprecated;
            description
              "This model is deprecated and is replaced by
    Cisco-IOS-XR-um-vrf-cfg.yang which will provide
    the compatible functionalities.
    CISCO-SELECTIVE-VRF-DOWNLOAD-MIB notification
    configuration";
            leaf role-change {
              type empty;
              description
                "Enable csvdEntityRoleChangeNotification
    notification";
            }
          }  // container selective-vrf-download
        }
    
        container vrfs {
          status deprecated;
          description
            "This model is deprecated and is replaced by
    Cisco-IOS-XR-um-vrf-cfg.yang which will provide
    the compatible functionalities.  VRF
    configuration";
          list vrf {
            key "vrf-name";
            description "VRF configuration";
            container vpn-id {
              presence
                "Indicates a vpn-id node is configured.";
              description "VPN-ID for the VRF";
              leaf vpn-oui {
                type uint32 {
                  range "0..16777215";
                }
                mandatory true;
                description "OUI of VPNID OUI";
              }
    
              leaf vpn-index {
                type uint32 {
                  range "0..4294967295";
                }
                mandatory true;
                description
                  "Index of VPNID Index";
              }
            }  // container vpn-id
    
            leaf fallback-vrf {
              type xr:Cisco-ios-xr-string {
                length "1..32";
              }
              description "Fallback VRF";
            }
    
            leaf remote-route-filter-disable {
              type empty;
              description
                "For disabling remote route filtering for this
    VRF on core-facing card";
            }
    
            leaf evpn-route-sync {
              type uint32 {
                range "1..65534";
              }
              description
                "EVPN route sync vpn id";
            }
    
            leaf create {
              type empty;
              description
                "VRF global configuration";
            }
    
            leaf mode-big {
              type empty;
              description
                "Configuration enable of big VRF";
            }
    
            leaf description {
              type string {
                length "1..244";
              }
              description
                "A textual description of the VRF";
            }
    
            leaf vrf-name {
              type xr:Cisco-ios-xr-string {
                length "1..32";
              }
              description "VRF name";
            }
    
            uses AF-TABLE;
          }  // list vrf
        }  // container vrfs
    
        container global-af {
          status deprecated;
          description
            "This model is deprecated and is replaced by
    Cisco-IOS-XR-um-vrf-cfg.yang which will provide
    the compatible functionalities.  Default VRF
    configuration";
          uses AF-TABLE;
        }  // container global-af
    
        container srlg {
          status deprecated;
          description
            "This model is deprecated and is replaced by
    Cisco-IOS-XR-um-vrf-cfg.yang which will provide
    the compatible functionalities.  SRLG
    configuration commands";
          container interfaces {
            description
              "Set of interfaces configured with SRLG";
            list interface {
              key "interface-name";
              description
                "Interface configurations";
              container include-optical {
                presence
                  "Contains mandatory nodes that used to set default values";
                description
                  "Include optical configuration for an interface";
                leaf enable {
                  type empty;
                  description
                    "Enable SRLG interface include optical";
                }
    
                leaf priority {
                  type Srlg-priority;
                  mandatory true;
                  description
                    "Priority for optical domain values";
                }
              }  // container include-optical
    
              container interface-group {
                description
                  "Group configuration for an interface";
                container group-names {
                  description
                    "Set of group name under an interface";
                  list group-name {
                    key "group-name-index";
                    description
                      "Group name included under interface";
                    leaf group-name-index {
                      type uint32 {
                        range "1";
                      }
                      description
                        "Group name index";
                    }
    
                    leaf group-name {
                      type string;
                      mandatory true;
                      description "Group name";
                    }
    
                    leaf srlg-priority {
                      type Srlg-priority;
                      mandatory true;
                      description
                        "SRLG priority";
                    }
                  }  // list group-name
                }  // container group-names
    
                leaf enable {
                  type empty;
                  description
                    "Enable SRLG interface group submode";
                }
              }  // container interface-group
    
              container values {
                description
                  "SRLG Value configuration for an interface";
                list value {
                  key "srlg-index";
                  description "SRLG value data";
                  leaf srlg-index {
                    type uint32 {
                      range "1..65535";
                    }
                    description "SRLG index";
                  }
    
                  leaf srlg-value {
                    type uint32 {
                      range "0..4294967295";
                    }
                    mandatory true;
                    description "SRLG value";
                  }
    
                  leaf srlg-priority {
                    type Srlg-priority;
                    mandatory true;
                    description "SRLG priority";
                  }
                }  // list value
              }  // container values
    
              container interface-srlg-names {
                description
                  "SRLG Name configuration for an interface";
                list interface-srlg-name {
                  key "srlg-name";
                  description "SRLG name data";
                  leaf srlg-name {
                    type xr:Cisco-ios-xr-string {
                      length "1..64";
                    }
                    description "SRLG name";
                  }
                }  // list interface-srlg-name
              }  // container interface-srlg-names
    
              leaf enable {
                type empty;
                description
                  "Enable SRLG interface";
              }
    
              leaf interface-name {
                type xr:Interface-name;
                description "Interface name";
              }
            }  // list interface
          }  // container interfaces
    
          container srlg-names {
            description
              "Set of SRLG name configuration";
            list srlg-name {
              key "srlg-name";
              description
                "SRLG name configuration";
              leaf srlg-value {
                type uint32 {
                  range "0..4294967295";
                }
                mandatory true;
                description
                  "SRLG network value configuration";
              }
    
              leaf srlg-description {
                type string;
                description
                  "SRLG description configuration";
              }
    
              leaf srlg-name {
                type xr:Cisco-ios-xr-string {
                  length "1..64";
                }
                description "SRLG name";
              }
            }  // list srlg-name
          }  // container srlg-names
    
          container groups {
            description
              "Set of groups configured with SRLG";
            list group {
              key "group-name";
              description "Group configurations";
              container group-values {
                description
                  "Set of SRLG values configured under a group";
                list group-value {
                  key "srlg-index";
                  description
                    "Group SRLG values with attribute";
                  leaf srlg-index {
                    type uint32 {
                      range "1..65535";
                    }
                    description "SRLG index";
                  }
    
                  leaf srlg-value {
                    type uint32 {
                      range "0..4294967295";
                    }
                    mandatory true;
                    description "SRLG value";
                  }
    
                  leaf srlg-priority {
                    type Srlg-priority;
                    mandatory true;
                    description "SRLG priority";
                  }
                }  // list group-value
              }  // container group-values
    
              leaf enable {
                type empty;
                description "Enable SRLG group";
              }
    
              leaf group-name {
                type xr:Cisco-ios-xr-string;
                description "Group name";
              }
            }  // list group
          }  // container groups
    
          container inherit-nodes {
            description
              "Set of inherit nodes configured with SRLG";
            list inherit-node {
              key "inherit-node-name";
              description
                "Inherit node configurations";
              container inherit-node-values {
                description
                  "Set of SRLG values configured under an inherit
    node";
                list inherit-node-value {
                  key "srlg-index";
                  description
                    "Inherit node SRLG value with attributes";
                  leaf srlg-index {
                    type uint32 {
                      range "1..65535";
                    }
                    description "SRLG index";
                  }
    
                  leaf srlg-value {
                    type uint32 {
                      range "0..4294967295";
                    }
                    mandatory true;
                    description "SRLG value";
                  }
    
                  leaf srlg-priority {
                    type Srlg-priority;
                    mandatory true;
                    description "SRLG priority";
                  }
                }  // list inherit-node-value
              }  // container inherit-node-values
    
              leaf enable {
                type empty;
                description
                  "Enable SRLG inherit node";
              }
    
              leaf inherit-node-name {
                type xr:Pq-node-id;
                description
                  "The inherit node name";
              }
            }  // list inherit-node
          }  // container inherit-nodes
    
          leaf enable {
            type empty;
            description "Enable SRLG";
          }
        }  // container srlg
    
        container vrf-groups {
          status deprecated;
          description
            "This model is deprecated and is replaced by
    Cisco-IOS-XR-um-vrf-cfg.yang which will provide
    the compatible functionalities.  Set of VRF
    groups configured";
          list vrf-group {
            key "vrf-group-name";
            description
              "VRF group configuration";
            container vrfs {
              description
                "Set of VRFs configured under a VRF group";
              list vrf {
                key "vrf-name";
                description "VRF configuration";
                leaf vrf-name {
                  type xr:Cisco-ios-xr-string {
                    length "1..32";
                  }
                  description "VRF name";
                }
              }  // list vrf
            }  // container vrfs
    
            leaf enable {
              type empty;
              description "Enable VRF group";
            }
    
            leaf vrf-group-name {
              type xr:Cisco-ios-xr-string {
                length "1..32";
              }
              description "VRF group name";
            }
          }  // list vrf-group
        }  // container vrf-groups
    
        container selective-vrf-download {
          status deprecated;
          description
            "This model is deprecated and is replaced by
    Cisco-IOS-XR-um-vrf-cfg.yang which will provide
    the compatible functionalities.  Selective VRF
    download configuration";
          leaf disable {
            type empty;
            description
              "Disable selective VRF download";
          }
        }  // container selective-vrf-download
      }  // module Cisco-IOS-XR-infra-rsi-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.