Cisco-IOS-XR-sysadmin-cm

This module contains a collection of YANG definitions for Cisco IOS-XR SysAdmin configuration. The System Admin Manager (CM) C...

  • Version: 2019-04-15

    Cisco-IOS-XR-sysadmin-cm@2019-04-15


    
      module Cisco-IOS-XR-sysadmin-cm {
    
        yang-version 1;
    
        namespace
          "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-cm";
    
        prefix cmh;
    
        import tailf-common {
          prefix tailf;
        }
        import tailf-xsd-types {
          prefix xs;
        }
        import Cisco-IOS-XR-sysadmin-types {
          prefix calvados;
        }
        import ietf-yang-types {
          prefix yang;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import Cisco-IOS-XR-sysadmin-show-trace-cm {
          prefix cm;
        }
        import cisco-semver {
          prefix semver;
        }
    
        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 SysAdmin configuration.
         
         The System Admin Manager (CM)
         
         Copyright (c) 2010-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-15" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-07-03" {
          description
            "Suppress Tail-f warnings in ConfD 6.4.5";
        }
    
        revision "2018-04-09" {
          description
            "Required changes for ConfD 6.4.5";
        }
    
        revision "2017-04-12" {
          description
            "Changed the namespace and module name";
        }
    
        revision "2016-05-11" {
          description "Initial version";
        }
    
        semver:module-version "1.0.0";
    
        typedef area_type {
          type enumeration {
            enum "SYSTEM" {
              value 0;
            }
            enum "RACK" {
              value 1;
            }
            enum "UNKNOWN" {
              value 2;
            }
          }
        }
    
        typedef hex8ValueType {
          type xs:hexBinary;
        }
    
        container node-inventory {
          config false;
          description
            "System Admin Manager Node Inventory. All accesses are
           read-only. CLI show command looks like show node-inventory
           location <location>";
          container summary {
            config false;
            description
              "System Admin Manager Node Inventory. All accesses are
    read-only. CLI show command looks like show node-inventory
    location <location>";
            list node_locations {
              key "node_location";
              leaf node_location {
                type calvados:location-id;
              }
    
              list nodei {
                key "ip_address";
                leaf type {
                  type string;
                  description "Node Type";
                }
    
                leaf ip_address {
                  type inet:ip-address;
                  description
                    "IP address of the node";
                }
    
                leaf mac_address {
                  type yang:mac-address;
                  description "Node MAC";
                }
    
                leaf card_serial {
                  type string;
                  description
                    "Card serial# the node belongs to";
                }
    
                leaf nti {
                  type uint32;
                  description "Node NTI";
                }
              }  // list nodei
            }  // list node_locations
          }  // container summary
    
          container detail {
            config false;
            description
              "System Admin Manager Node Inventory. All accesses are
    read-only. CLI show command looks like show node-inventory
    location <location>";
            list node_locations {
              key "node_location";
              leaf node_location {
                type calvados:location-id;
              }
    
              list nodei {
                key "ip_address";
                leaf type {
                  type string;
                  description "Node Type";
                }
    
                leaf ip_address {
                  type inet:ip-address;
                  description
                    "IP address of the node";
                }
    
                leaf mac_address {
                  type yang:mac-address;
                  description "Node MAC";
                }
    
                leaf card_serial {
                  type string;
                  description
                    "Card serial# the node belongs to";
                }
    
                leaf nti {
                  type uint32;
                  description "Node NTI";
                }
    
                leaf restart {
                  type boolean;
                  description "Node in Restart";
                }
    
                leaf data {
                  type hex8ValueType;
                  description "Node Data";
                }
    
                leaf sdr {
                  type string;
                  description
                    "SDR Name the node belongs to";
                }
              }  // list nodei
            }  // list node_locations
          }  // container detail
        }  // container node-inventory
    
        container card-inventory {
          config false;
          description
            "System Admin Manager Card Inventory. All accesses are
           read-only. CLI show command looks like show card-inventory
           location <location>";
          list card_locations {
            key "card_location";
            leaf card_location {
              type calvados:location-id;
            }
    
            list cardi {
              key "card_serial";
              leaf node_id {
                type string;
                description "Node name";
              }
    
              leaf card_type {
                type string;
                description "Card Type";
              }
    
              leaf hw_state {
                type string;
                description "Card State";
              }
    
              leaf sw_state {
                type string;
                description
                  "Card Software State";
              }
    
              leaf slot {
                type uint32;
                description "Card Slot Number";
              }
    
              leaf card_serial {
                type string;
                description
                  "Serial Number of the Card";
              }
    
              leaf cti {
                type uint32;
                description "Card CTI";
              }
            }  // list cardi
          }  // list card_locations
        }  // container card-inventory
    
        container rack-inventory {
          config false;
          description
            "System Admin Manager Rack Inventory";
          list rack_locations {
            key "rack_location";
            leaf rack_location {
              type calvados:location-id;
            }
    
            list racki {
              key "rack_serial";
              leaf rack_number {
                type int32;
                description "Rack Number";
              }
    
              leaf rack_serial {
                type string;
                description
                  "Serial Number of the Rack";
              }
    
              leaf rack_state {
                type int32;
                description "Rack State";
              }
            }  // list racki
          }  // list rack_locations
        }  // container rack-inventory
    
        container system-service-inventory {
          config false;
          description
            "System Admin Manager System Services Inventory";
          list ssvc_locations {
            key "ssvc_location";
            leaf ssvc_location {
              type calvados:location-id;
            }
    
            list ssvci {
              key "svc_name";
              leaf svc_name {
                type string;
                description "Service Name";
              }
    
              leaf placement_first {
                type string;
                description
                  "Serial Number of the first card selected";
              }
    
              leaf nodeid_first {
                type string;
                description
                  "Node id of the first card selected";
              }
    
              leaf placement_second {
                type string;
                description
                  "Serial Number of the second card selected";
              }
    
              leaf nodeid_second {
                type string;
                description
                  "Node id of the second card selected";
              }
    
              leaf svc_load {
                type uint8;
                description "Service Load";
              }
            }  // list ssvci
          }  // list ssvc_locations
        }  // container system-service-inventory
    
        container rack-service-inventory {
          config false;
          description
            "System Admin Manager Rack Services Inventory";
          list rsvc_locations {
            key "rsvc_location";
            leaf rsvc_location {
              type calvados:location-id;
            }
    
            list rsvci {
              key "svc_name";
              leaf svc_name {
                type string;
                description "Service Name";
              }
    
              leaf placement_first {
                type string;
                description
                  "Serial Number of the first card selected";
              }
    
              leaf nodeid_first {
                type string;
                description
                  "Node id of the first card selected";
              }
    
              leaf placement_second {
                type string;
                description
                  "Serial Number of the second card selected";
              }
    
              leaf nodeid_second {
                type string;
                description
                  "Node id of the second card selected";
              }
    
              leaf svc_load {
                type uint8;
                description "Service Load";
              }
            }  // list rsvci
          }  // list rsvc_locations
        }  // container rack-service-inventory
    
        container sdr-inventory {
          config false;
          description
            "System Admin Manager SDR Inventory";
          list sdr_locations {
            key "sdr_location";
            leaf sdr_location {
              type calvados:location-id;
            }
    
            list sdri {
              key "sdr_name";
              leaf sdr_id {
                type uint32;
                description "SDR ID";
              }
    
              leaf sdr_name {
                type string;
                description "SDR NAME";
              }
    
              leaf sdr_vlan_baseid {
                type uint8;
                description "SDR VLAN ID";
              }
    
              leaf sdr_version {
                type uint64;
                description "SDR Image Version";
              }
            }  // list sdri
          }  // list sdr_locations
        }  // container sdr-inventory
    
        container leader-statistics {
          config false;
          description
            "System Admin Manager Leader Statistics";
          list ldr_locations {
            key "ldr_location";
            leaf ldr_location {
              type calvados:location-id;
            }
    
            leaf syslead {
              type string;
              description
                "Primary System Leader";
            }
    
            leaf bkup_syslead {
              type string;
              description "Backup System Leader";
            }
    
            leaf racklead {
              type string;
              description "Primary Rack Leader";
            }
    
            leaf bkup_racklead {
              type string;
              description "Backup Rack Leader";
            }
    
            leaf l1_dis {
              type string;
              description "L1 DIS";
            }
    
            leaf l2_dis {
              type string;
              description "L2 DIS";
            }
          }  // list ldr_locations
        }  // container leader-statistics
    
        container topology-neighbors {
          config false;
          description
            "System Admin Manager Neighbors of a location";
          list nbr_locations {
            key "nbr_location";
            leaf nbr_location {
              type calvados:location-id;
            }
    
            list nbri {
              key "nbr_system_id nbr_area_type";
              leaf nbr_system_id {
                type string;
                description "Neighbor System ID";
              }
    
              leaf nbr_area_type {
                type string;
                description "Neighbor Area Type";
              }
    
              leaf nbr_interface {
                type string;
                description
                  "Adjacency Interface";
              }
    
              leaf nbr_state {
                type string;
                description "Neighbor State";
              }
    
              leaf nbr_holdtime {
                type uint64;
                description "Neighbor Hold Time";
              }
    
              leaf nbr_uptime {
                type xs:duration;
                description "Neighbor Up Time";
              }
            }  // list nbri
          }  // list nbr_locations
        }  // container topology-neighbors
    
        container placement {
          tailf:action "reoptimize" {
            description "Reoptimize Placement for System Scope Services";
          }
        }  // container placement
      }  // module Cisco-IOS-XR-sysadmin-cm
    

© 2023 YumaWorks, Inc. All rights reserved.