Cisco-IOS-XR-infra-rsi-oper

This module contains a collection of YANG definitions for Cisco IOS-XR infra-rsi package operational data. This module contains...

  • Version: 2020-09-21

    Cisco-IOS-XR-infra-rsi-oper@2020-09-21


    
      module Cisco-IOS-XR-infra-rsi-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-infra-rsi-oper";
    
        prefix infra-rsi-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-infra-rsi-oper-sub2 {
          revision-date "2020-09-21";
        }
        include Cisco-IOS-XR-infra-rsi-oper-sub1 {
          revision-date "2020-09-21";
        }
    
        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 operational data.
    
    This module contains definitions
    for the following management objects:
      vrf-group: VRF group operational data
      srlg: RSI SRLG operational data
      selective-vrf-download: Selective VRF Download operational
        data
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-09-21" {
          description
            "Operational support for new safi bier.
    2020-08-12
      Operational support for srlg description.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2019-02-13" {
          description
            "Fixing yang oper coverage.";
        }
    
        revision "2018-11-26" {
          description
            "Fixing yang usability issues.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2015-01-07" {
          description "IOS XR 5.3.1 revision.";
        }
    
        semver:module-version "1.1.0";
        semver:module-version "1.0.1";
    
        container vrf-group {
          config false;
          description
            "VRF group operational data";
          container nodes {
            description "Node operational data";
            list node {
              key "node-name";
              description "Node details";
              container groups {
                description
                  "Group operational data";
                list group {
                  key "group-name";
                  description "Group details";
                  leaf group-name {
                    type xr:Cisco-ios-xr-string {
                      length "1..32";
                    }
                    description "Group name";
                  }
    
                  leaf vr-fs {
                    type uint32;
                    description
                      "Number of VRFs in this VRF group";
                  }
    
                  leaf forward-reference {
                    type boolean;
                    description
                      "VRF group not present but used";
                  }
    
                  list vrf {
                    description
                      "VRF group's VRF";
                    leaf vrf-name {
                      type string;
                      description "VRF name";
                    }
                  }  // list vrf
                }  // list group
              }  // container groups
    
              leaf node-name {
                type xr:Node-id;
                description "Node";
              }
            }  // list node
          }  // container nodes
        }  // container vrf-group
    
        container srlg {
          config false;
          description
            "RSI SRLG operational data";
          container groups {
            description
              "Set of Groups configured for SRLG";
            list group {
              key "group-name";
              description "SRLG group details";
              leaf group-name {
                type xr:Cisco-ios-xr-string;
                description "Group name";
              }
    
              leaf group-name-xr {
                type string;
                description "Group name";
              }
    
              leaf group-values {
                type uint32;
                description "Group value count";
              }
    
              list srlg-attribute {
                description "SRLG attribute";
                leaf srlg-value {
                  type uint32;
                  description "SRLG value";
                }
    
                leaf priority {
                  type Priority;
                  description "Priority level";
                }
    
                leaf srlg-index {
                  type uint16;
                  description "Index";
                }
              }  // list srlg-attribute
            }  // list group
          }  // container groups
    
          container interfaces {
            description
              "Set of interfaces configured for SRLG";
            list interface {
              key "interface-name";
              description
                "SRLG interface summary";
              leaf interface-name {
                type xr:Interface-name;
                description "Interface name";
              }
    
              leaf interface-name-xr {
                type string;
                description "Interface list";
              }
    
              leaf value-count {
                type uint32;
                description "Values";
              }
    
              leaf registrations {
                type uint32;
                description "Registration count";
              }
    
              list srlg-value {
                description "SRLG values";
                leaf entry {
                  type uint32;
                  description "SRLG values";
                }
              }  // list srlg-value
            }  // list interface
          }  // container interfaces
    
          container rsips {
            description
              "Set of rsip configured for SRLG";
            list rsip {
              key "rsip-name";
              description "SRLG rsip details";
              leaf rsip-name {
                type xr:Interface-name;
                description "Interface name";
              }
    
              leaf optical-layer-interface-name {
                type string;
                description "Optics interface";
              }
    
              leaf registrations {
                type uint32;
                description "Registration count";
              }
    
              leaf interface-values {
                type uint32;
                description
                  "Interface value count";
              }
    
              list srlg-attribute {
                description "SRLG attribute";
                leaf srlg-value {
                  type uint32;
                  description "SRLG value";
                }
    
                leaf priority {
                  type Priority;
                  description "Priority level";
                }
    
                leaf srlg-index {
                  type uint16;
                  description "Index";
                }
              }  // list srlg-attribute
            }  // list rsip
          }  // container rsips
    
          container srlg-maps {
            description
              "Set of SRLG name, value maps configured";
            list srlg-map {
              key "srlg-name";
              description
                "Configured SRLG name details ";
              leaf srlg-name {
                type xr:Cisco-ios-xr-string {
                  length "1..64";
                }
                description "SRLG name";
              }
    
              leaf srlg-value {
                type uint32;
                description "SRLG value";
              }
    
              leaf srlg-name-xr {
                type string;
                description "SRLG name";
              }
            }  // list srlg-map
          }  // container srlg-maps
    
          container nodes {
            description
              "RSI SRLG operational data";
            list node {
              key "node-name";
              description
                "RSI SRLG operational data";
              container srlg-maps {
                description
                  "Set of SRLG name, value maps configured";
                list srlg-map {
                  key "srlg-name";
                  description
                    "Configured SRLG name details ";
                  leaf srlg-name {
                    type xr:Cisco-ios-xr-string {
                      length "1..64";
                    }
                    description "SRLG name";
                  }
    
                  leaf srlg-value {
                    type uint32;
                    description "SRLG value";
                  }
    
                  leaf srlg-name-xr {
                    type string;
                    description "SRLG name";
                  }
                }  // list srlg-map
              }  // container srlg-maps
    
              container groups {
                description
                  "Set of Groups configured for SRLG";
                list group {
                  key "group-name";
                  description
                    "SRLG group details";
                  leaf group-name {
                    type xr:Cisco-ios-xr-string;
                    description "Group name";
                  }
    
                  leaf group-name-xr {
                    type string;
                    description "Group name";
                  }
    
                  leaf group-values {
                    type uint32;
                    description
                      "Group value count";
                  }
    
                  list srlg-attribute {
                    description "SRLG attribute";
                    leaf srlg-value {
                      type uint32;
                      description "SRLG value";
                    }
    
                    leaf priority {
                      type Priority;
                      description
                        "Priority level";
                    }
    
                    leaf srlg-index {
                      type uint16;
                      description "Index";
                    }
                  }  // list srlg-attribute
                }  // list group
              }  // container groups
    
              container inherit-nodes {
                description
                  "Set of inherit locations configured for SRLG";
                list inherit-node {
                  key "inherit-node-name";
                  description
                    "SRLG inherit location details";
                  leaf inherit-node-name {
                    type xr:Node-id;
                    description "Inherit node";
                  }
    
                  leaf location {
                    type string;
                    description
                      "Inherit node name";
                  }
    
                  leaf node-values {
                    type uint32;
                    description
                      "Node value count";
                  }
    
                  list srlg-attribute {
                    description "SRLG attribute";
                    leaf srlg-value {
                      type uint32;
                      description "SRLG value";
                    }
    
                    leaf priority {
                      type Priority;
                      description
                        "Priority level";
                    }
    
                    leaf srlg-index {
                      type uint16;
                      description "Index";
                    }
                  }  // list srlg-attribute
                }  // list inherit-node
              }  // container inherit-nodes
    
              container interfaces {
                description
                  "Set of interfaces configured for SRLG";
                list interface {
                  key "interface-name";
                  description
                    "SRLG interface summary";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  leaf interface-name-xr {
                    type string;
                    description "Interface list";
                  }
    
                  leaf value-count {
                    type uint32;
                    description "Values";
                  }
    
                  leaf registrations {
                    type uint32;
                    description
                      "Registration count";
                  }
    
                  list srlg-value {
                    description "SRLG values";
                    leaf entry {
                      type uint32;
                      description "SRLG values";
                    }
                  }  // list srlg-value
                }  // list interface
              }  // container interfaces
    
              container srlg-descriptions {
                description
                  "Set of SRLG name, description configured";
                list srlg-description {
                  key "srlg-name";
                  description
                    "Configured SRLG Description details ";
                  leaf srlg-name {
                    type xr:Cisco-ios-xr-string {
                      length "1..64";
                    }
                    description "SRLG name";
                  }
    
                  leaf srlg-value {
                    type uint32;
                    description "SRLG value";
                  }
    
                  leaf description {
                    type string;
                    description
                      "SRLG description";
                  }
                }  // list srlg-description
              }  // container srlg-descriptions
    
              container interface-details {
                description
                  "Set of interfaces configured for SRLG";
                list interface-detail {
                  key "interface-name";
                  description
                    "SRLG interface info";
                  leaf interface-name {
                    type xr:Interface-name;
                    description "Interface name";
                  }
    
                  leaf groups {
                    type uint32;
                    description "Group count";
                  }
    
                  leaf nodes {
                    type uint32;
                    description "Nodes";
                  }
    
                  list srlg-attribute {
                    description
                      "SRLG attributes";
                    leaf srlg-value {
                      type uint32;
                      description "SRLG value";
                    }
    
                    leaf priority {
                      type Priority;
                      description
                        "Priority level";
                    }
    
                    leaf source {
                      type Source;
                      description "Source flag";
                    }
    
                    leaf source-name {
                      type string;
                      description
                        "Source for SRLG value";
                    }
    
                    leaf srlg-index {
                      type uint16;
                      description "Index";
                    }
                  }  // list srlg-attribute
    
                  list rsip {
                    description "rsip list";
                    leaf rsip-name {
                      type string;
                      description
                        "list of names matching rsip";
                    }
                  }  // list rsip
                }  // list interface-detail
              }  // container interface-details
    
              container srlg-values {
                description
                  "Set of SRLG values configured";
                list srlg-value {
                  key "value";
                  description
                    "Configured SRLG value details ";
                  leaf value {
                    type uint32 {
                      range "0..4294967295";
                    }
                    description "SRLG value";
                  }
    
                  list interface-name {
                    description
                      "Name of the interface which has SRLG values";
                    leaf entry {
                      type String1;
                      description
                        "Name of the interface which has SRLG values";
                    }
                  }  // list interface-name
                }  // list srlg-value
              }  // container srlg-values
    
              container interface-srlg-names {
                description
                  "Set of SRLG names configured";
                list interface-srlg-name {
                  key "srlg-name";
                  description
                    "Configured SRLG name details ";
                  leaf srlg-name {
                    type xr:Cisco-ios-xr-string {
                      length "1..64";
                    }
                    description "SRLG name";
                  }
    
                  container interfaces {
                    description
                      "Interfaces information";
                    list interface-name {
                      description
                        "Name of the interface which has SRLG values";
                      leaf entry {
                        type String1;
                        description
                          "Name of the interface which has SRLG values";
                      }
                    }  // list interface-name
                  }  // container interfaces
    
                  leaf srlg-name-xr {
                    type string;
                    description "SRLG name";
                  }
    
                  leaf srlg-value {
                    type uint32;
                    description "SRLG value";
                  }
    
                  leaf description {
                    type string;
                    description
                      "SRLG description";
                  }
                }  // list interface-srlg-name
              }  // container interface-srlg-names
    
              leaf node-name {
                type xr:Node-id;
                description "Node";
              }
            }  // list node
          }  // container nodes
    
          container interface-srlg-names {
            description
              "Set of SRLG names configured";
            list interface-srlg-name {
              key "srlg-name";
              description
                "Configured SRLG name details ";
              leaf srlg-name {
                type xr:Cisco-ios-xr-string {
                  length "1..64";
                }
                description "SRLG name";
              }
    
              container interfaces {
                description
                  "Interfaces information";
                list interface-name {
                  description
                    "Name of the interface which has SRLG values";
                  leaf entry {
                    type String1;
                    description
                      "Name of the interface which has SRLG values";
                  }
                }  // list interface-name
              }  // container interfaces
    
              leaf srlg-name-xr {
                type string;
                description "SRLG name";
              }
    
              leaf srlg-value {
                type uint32;
                description "SRLG value";
              }
    
              leaf description {
                type string;
                description "SRLG description";
              }
            }  // list interface-srlg-name
          }  // container interface-srlg-names
    
          container inherit-nodes {
            description
              "Set of inherit locations configured for SRLG";
            list inherit-node {
              key "inherit-node-name";
              description
                "SRLG inherit location details";
              leaf inherit-node-name {
                type xr:Node-id;
                description "Inherit Locatio";
              }
    
              leaf location {
                type string;
                description "Inherit node name";
              }
    
              leaf node-values {
                type uint32;
                description "Node value count";
              }
    
              list srlg-attribute {
                description "SRLG attribute";
                leaf srlg-value {
                  type uint32;
                  description "SRLG value";
                }
    
                leaf priority {
                  type Priority;
                  description "Priority level";
                }
    
                leaf srlg-index {
                  type uint16;
                  description "Index";
                }
              }  // list srlg-attribute
            }  // list inherit-node
          }  // container inherit-nodes
    
          container srlg-values {
            description
              "Set of SRLG values configured";
            list srlg-value {
              key "value";
              description
                "Configured SRLG value details ";
              leaf value {
                type uint32 {
                  range "0..4294967295";
                }
                description "SRLG value";
              }
    
              list interface-name {
                description
                  "Name of the interface which has SRLG values";
                leaf entry {
                  type String1;
                  description
                    "Name of the interface which has SRLG values";
                }
              }  // list interface-name
            }  // list srlg-value
          }  // container srlg-values
    
          container interface-details {
            description
              "Set of interfaces configured for SRLG";
            list interface-detail {
              key "interface-name";
              description "SRLG interface info";
              leaf interface-name {
                type xr:Interface-name;
                description "Interface name";
              }
    
              leaf groups {
                type uint32;
                description "Group count";
              }
    
              leaf nodes {
                type uint32;
                description "Nodes";
              }
    
              list srlg-attribute {
                description "SRLG attributes";
                leaf srlg-value {
                  type uint32;
                  description "SRLG value";
                }
    
                leaf priority {
                  type Priority;
                  description "Priority level";
                }
    
                leaf source {
                  type Source;
                  description "Source flag";
                }
    
                leaf source-name {
                  type string;
                  description
                    "Source for SRLG value";
                }
    
                leaf srlg-index {
                  type uint16;
                  description "Index";
                }
              }  // list srlg-attribute
    
              list rsip {
                description "rsip list";
                leaf rsip-name {
                  type string;
                  description
                    "list of names matching rsip";
                }
              }  // list rsip
            }  // list interface-detail
          }  // container interface-details
        }  // container srlg
    
        container selective-vrf-download {
          config false;
          description
            "Selective VRF Download operational data";
          container state {
            description
              "Selective VRF Download feature state details";
            leaf is-svd-enabled {
              type boolean;
              description
                "Is SVD Enabled Operational";
            }
    
            leaf is-svd-enabled-cfg {
              type boolean;
              description
                "Is SVD Enabled Config";
            }
          }  // container state
        }  // container selective-vrf-download
      }  // module Cisco-IOS-XR-infra-rsi-oper
    

© 2023 YumaWorks, Inc. All rights reserved.