Cisco-IOS-XR-cofo-csi-ma-oper

This module contains a collection of YANG definitions for Cisco IOS-XR cofo-csi-ma package operational data. This module contai...

  • Version: 2020-11-06

    Cisco-IOS-XR-cofo-csi-ma-oper@2020-11-06


    
      module Cisco-IOS-XR-cofo-csi-ma-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-cofo-csi-ma-oper";
    
        prefix cofo-csi-ma-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-cofo-csi-ma-oper-sub1 {
          revision-date "2020-11-06";
        }
    
        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 cofo-csi-ma package operational data.
         
         This module contains definitions
         for the following management objects:
           csima: Csi-ma operational data
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-11-06" {
          description
            "Enhancement to support hot standby on CSI-MA";
        }
    
        revision "2019-06-16" {
          description
            "Enhancement to support configuration of CSI-Ether MTU";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.2.0";
        semver:module-version "1.1.0";
        semver:module-version "1.0.0";
    
        container csima {
          config false;
          description "Csi-ma operational data";
          container nodes {
            description
              "Node-specific operational data";
            list node {
              key "node-name";
              description
                "Operational data for a particular node";
              container rack-ids {
                description
                  "Connected node slices information";
                list rack-id {
                  key "rack-id";
                  description
                    "Connected node rack-id";
                  leaf rack-id {
                    type uint32 {
                      range "0..65535";
                    }
                    description "Rack Id";
                  }
    
                  list slot-id {
                    key "slot-id";
                    description
                      "NodeInfo for a NodeId";
                    leaf slot-id {
                      type uint32 {
                        range "0..65535";
                      }
                      description "Slot Id";
                    }
    
                    leaf rack-slot-id {
                      type uint64;
                      description "Rack slot ID";
                    }
    
                    leaf node-id {
                      type uint32;
                      description "Node id";
                    }
    
                    leaf node-up {
                      type boolean;
                      description "Node up flag";
                    }
    
                    list slice-arr {
                      description
                        "Slice array associated with node";
                      leaf slice-node-id {
                        type uint32;
                        description
                          "Slice Node ID";
                      }
    
                      leaf admin-up {
                        type boolean;
                        description
                          "Admin state UP flag";
                      }
    
                      leaf oper-up {
                        type boolean;
                        description
                          "Oper state UP flag";
                      }
    
                      leaf pic {
                        type Im-pic;
                        description "PIC value";
                      }
    
                      leaf-list csi-pic-arr {
                        type Im-pic;
                        description
                          "CSI PIC array";
                      }
                    }  // list slice-arr
                  }  // list slot-id
                }  // list rack-id
              }  // container rack-ids
    
              container interface-names {
                description
                  "Interface data for csi interfaces";
                list interface-name {
                  key "csi-index";
                  description
                    "Interface data for an Interface";
                  leaf csi-index {
                    type uint32 {
                      range "1..15";
                    }
                    description "CSI Index";
                  }
    
                  container pub-data {
                    description
                      "Remote published data";
                    leaf-list csi-pic-arr {
                      type uint64;
                      description
                        "CSI PIC Array";
                    }
    
                    list csi-info-arr {
                      description
                        "CSI Index - IP Array";
                      leaf csi-index {
                        type uint32;
                        description "CSI Index";
                      }
    
                      list ip-arr {
                        description
                          "CSI IP Array";
                        leaf af {
                          type Csi-ma-afi;
                          description "AF";
                        }
    
                        leaf ipv4 {
                          when
                            "../af = 'csi-afi-ipv4'" {
                            description
                              "../AF = 'CSI_AFI_IPV4'";
                          }
                          type Csi-ipv4;
                          description "IPv4";
                        }
    
                        leaf ipv6 {
                          when
                            "../af = 'csi-afi-ipv6'" {
                            description
                              "../AF = 'CSI_AFI_IPV6'";
                          }
                          type Csi-ipv6;
                          description "IPv6";
                        }
                      }  // list ip-arr
                    }  // list csi-info-arr
                  }  // container pub-data
    
                  container csi-ether-info {
                    description
                      "CSI-Ether Interface information";
                    leaf name {
                      type string;
                      description
                        "Interface name";
                    }
    
                    leaf handle {
                      type xr:Interface-name;
                      description
                        "Interface handle";
                    }
    
                    leaf csi-index {
                      type uint32;
                      description "CSI Index";
                    }
    
                    leaf state {
                      type Csi-ma-item-state;
                      description "Item state";
                    }
    
                    leaf if-state {
                      type Im-state;
                      description
                        "Interface state";
                    }
    
                    leaf mtu {
                      type Im-mtu;
                      description "MTU";
                    }
                  }  // container csi-ether-info
    
                  leaf name {
                    type string;
                    description "Interface name";
                  }
    
                  leaf handle {
                    type xr:Interface-name;
                    description
                      "Interface handle";
                  }
    
                  leaf csi-index-xr {
                    type uint32;
                    description "CSI Index";
                  }
    
                  leaf sdr-id {
                    type uint32;
                    description "SDR ID";
                  }
    
                  leaf peer-sdr-id {
                    type uint32;
                    description "Peer SDR ID";
                  }
    
                  leaf repl-handle {
                    type uint32;
                    description
                      "Replication handle";
                  }
    
                  leaf repl-fail-count {
                    type uint32;
                    description
                      "Replication fail count";
                  }
    
                  leaf state {
                    type Csi-ma-item-state;
                    description "Item state";
                  }
    
                  leaf if-state {
                    type Im-state;
                    description
                      "Interface state";
                  }
    
                  leaf rem-slice-attr {
                    type boolean;
                    description
                      "Rem slice attribute";
                  }
    
                  leaf rem-ip-attr {
                    type boolean;
                    description
                      "Rem IP attribute";
                  }
    
                  list local-ip-arr {
                    description
                      "Local IP addresses";
                    leaf af {
                      type Csi-ma-afi;
                      description "AF";
                    }
    
                    leaf ipv4 {
                      when
                        "../af = 'csi-afi-ipv4'" {
                        description
                          "../AF = 'CSI_AFI_IPV4'";
                      }
                      type Csi-ipv4;
                      description "IPv4";
                    }
    
                    leaf ipv6 {
                      when
                        "../af = 'csi-afi-ipv6'" {
                        description
                          "../AF = 'CSI_AFI_IPV6'";
                      }
                      type Csi-ipv6;
                      description "IPv6";
                    }
                  }  // list local-ip-arr
    
                  list peer-ip-arr {
                    description
                      "Peer IP addresses";
                    leaf af {
                      type Csi-ma-afi;
                      description "AF";
                    }
    
                    leaf ipv4 {
                      when
                        "../af = 'csi-afi-ipv4'" {
                        description
                          "../AF = 'CSI_AFI_IPV4'";
                      }
                      type Csi-ipv4;
                      description "IPv4";
                    }
    
                    leaf ipv6 {
                      when
                        "../af = 'csi-afi-ipv6'" {
                        description
                          "../AF = 'CSI_AFI_IPV6'";
                      }
                      type Csi-ipv6;
                      description "IPv6";
                    }
                  }  // list peer-ip-arr
                }  // list interface-name
              }  // container interface-names
    
              container global {
                description
                  "Global data associated with csi-ma";
                leaf invmgr-conn-state {
                  type Csi-ma-conn-state;
                  description
                    "Inventory manager connection state";
                }
    
                leaf fail-over-timer-state {
                  type Csi-ma-fo-timer-state;
                  description
                    "Fail Over Timer state for remote data";
                }
    
                leaf own-im-conn-state {
                  type Csi-ma-conn-state;
                  description
                    "Owner channel IM connection state";
                }
    
                leaf gdp-im-conn-state {
                  type Csi-ma-conn-state;
                  description
                    "GDP IM connection state";
                }
    
                leaf l3p-im-conn-state {
                  type Csi-ma-conn-state;
                  description
                    "L3P IM connection state";
                }
              }  // container global
    
              container sdr-ids {
                description
                  "Remote data for SDR ID";
                list sdr-id {
                  key "sdr-id";
                  description
                    "Remote data for sdr-id";
                  leaf sdr-id {
                    type uint32 {
                      range "1..65535";
                    }
                    description "Sdr Id";
                  }
    
                  container pub-data {
                    description "Published data";
                    leaf-list csi-pic-arr {
                      type uint64;
                      description
                        "CSI PIC Array";
                    }
    
                    list csi-info-arr {
                      description
                        "CSI Index - IP Array";
                      leaf csi-index {
                        type uint32;
                        description "CSI Index";
                      }
    
                      list ip-arr {
                        description
                          "CSI IP Array";
                        leaf af {
                          type Csi-ma-afi;
                          description "AF";
                        }
    
                        leaf ipv4 {
                          when
                            "../af = 'csi-afi-ipv4'" {
                            description
                              "../AF = 'CSI_AFI_IPV4'";
                          }
                          type Csi-ipv4;
                          description "IPv4";
                        }
    
                        leaf ipv6 {
                          when
                            "../af = 'csi-afi-ipv6'" {
                            description
                              "../AF = 'CSI_AFI_IPV6'";
                          }
                          type Csi-ipv6;
                          description "IPv6";
                        }
                      }  // list ip-arr
                    }  // list csi-info-arr
                  }  // container pub-data
    
                  leaf sdr-id-xr {
                    type uint32;
                    description "SDR ID";
                  }
    
                  leaf state {
                    type Csi-ma-item-state;
                    description
                      "Remote data entry state";
                  }
                }  // list sdr-id
              }  // container sdr-ids
    
              container csi-indexes {
                description
                  "Admin data for csi-index";
                list csi-index {
                  key "csi-index";
                  description
                    "Admin data for a csi-index";
                  leaf csi-index {
                    type uint32 {
                      range "1..15";
                    }
                    description "CSI Index";
                  }
    
                  leaf csi-index-xr {
                    type uint32;
                    description "CSI Index";
                  }
    
                  leaf sdr-id {
                    type uint32;
                    description "Local SDR ID";
                  }
    
                  leaf peer-sdr-id {
                    type uint32;
                    description "Peer SDR ID";
                  }
    
                  leaf peer-sdr-name {
                    type string;
                    description "Peer SDR name";
                  }
    
                  leaf state {
                    type Csi-ma-item-state;
                    description "Item State";
                  }
    
                  leaf csi-helper-reg {
                    type boolean;
                    description
                      "CSI Helper reg flag";
                  }
                }  // list csi-index
              }  // container csi-indexes
    
              leaf node-name {
                type xr:Node-id;
                description "The node";
              }
            }  // list node
          }  // container nodes
        }  // container csima
      }  // module Cisco-IOS-XR-cofo-csi-ma-oper
    

© 2023 YumaWorks, Inc. All rights reserved.