Cisco-IOS-XR-sysadmin-rvm-mgr

This module contains a collection of YANG definitions for Cisco IOS-XR SysAdmin configuration. Copyright (c) 2013-2020 by Cisco...

  • Version: 2020-04-09

    Cisco-IOS-XR-sysadmin-rvm-mgr@2020-04-09


    
      module Cisco-IOS-XR-sysadmin-rvm-mgr {
    
        yang-version 1;
    
        namespace
          "http://www.cisco.com/ns/yang/Cisco-IOS-XR-sysadmin-rvm-mgr";
    
        prefix rvmmh;
    
        import ietf-inet-types {
          prefix inet;
        }
        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.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-04-09" {
          description
            "Changed ipv4 address type from decimal to inet ipv4";
        }
    
        revision "2019-06-12" {
          description
            "Fixed canonical order error for keyword config";
        }
    
        revision "2019-04-15" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-04-12" {
          description
            "Changed the namespace and module name";
        }
    
        revision "2016-05-12" {
          description "Initial Version";
        }
    
        semver:module-version "2.1.0";
        semver:module-version "1.0.0";
    
        typedef nodetype_td {
          type enumeration {
            enum "sysadmin" {
              value 1;
            }
            enum "service" {
              value 2;
            }
          }
        }
    
        typedef flagtype_td {
          type enumeration {
            enum "clear" {
              value 0;
            }
            enum "set" {
              value 1;
            }
          }
        }
    
        container RVM {
          config false;
          description "RVM Manager Info";
          list all-locations {
            key "location";
            leaf location {
              type string;
            }
    
            container objects {
              config false;
              description "RVM Manager Info";
              list all-objs {
                key "index";
                leaf index {
                  type uint32;
                  description
                    "Index into obj_db array";
                }
    
                leaf num_allocated {
                  type uint32;
                  description
                    "Number of allocated nodes";
                }
    
                leaf num_freed {
                  type uint32;
                  description
                    "Number of freed nodes";
                }
    
                leaf num_objects {
                  type uint32;
                  description
                    "Number of current object nodes";
                }
              }  // list all-objs
            }  // container objects
    
            container node {
              config false;
              description
                "RVM Manager Node Info";
              list all-nodes {
                key "ipv4_addr";
                leaf ipv4_addr {
                  type inet:ipv4-address;
                  description
                    "IP address of the node";
                }
    
                leaf ipv4_addr_str {
                  type string;
                  description
                    "IP address of the node in string format";
                }
    
                leaf node_info {
                  type string;
                  description
                    "Node type state and flag";
                }
    
                leaf node_hb_info {
                  type string;
                  description
                    "Node heartbeat related info";
                }
    
                leaf node_card_info {
                  type string;
                  description
                    "Card info the node belongs to";
                }
    
                leaf node_event_history {
                  type string;
                  description
                    "Node RVM event history";
                }
              }  // list all-nodes
            }  // container node
    
            container card {
              config false;
              description
                "RVM Manager Card Info";
              list all-cards {
                key "serial_num";
                leaf serial_num {
                  type string;
                  description
                    "Serial number of the card";
                }
    
                leaf card_flag {
                  type string;
                  description "Card flags";
                }
    
                leaf card_info {
                  type string;
                  description
                    "Card rack and slot num";
                }
    
                leaf sysadmin_nodes {
                  type string;
                  description
                    "Sysadmin nodes on this card";
                }
    
                leaf xr_nodes {
                  type string;
                  description
                    "XR nodes on this card";
                }
              }  // list all-cards
            }  // container card
          }  // list all-locations
        }  // container RVM
      }  // module Cisco-IOS-XR-sysadmin-rvm-mgr
    

© 2023 YumaWorks, Inc. All rights reserved.