fujitsu-slot

This module contains definitions for Slot Equipment. Copyright (c) 2015 Fujitsu Ltd. All rights reserved.

  • Version: 2018-06-26

    fujitsu-slot@2018-06-26


    
      module fujitsu-slot {
    
        yang-version 1;
    
        namespace
          "urn:fujitsu:params:xml:ns:yang:equipment:slot";
    
        prefix slot;
    
        import fujitsu-subslot {
          prefix subslot;
        }
        import fujitsu-physical-inventory {
          prefix physical-inventory;
        }
        import fujitsu-entity-states {
          prefix entity-states;
        }
        import fujitsu-performance-monitoring-typedefs {
          prefix pmtypedefs;
        }
    
        organization "Fujitsu Ltd.";
    
        contact
          "Fujitsu Ltd.
    
    Address: 2801 Telecom Parkway
    	 Richardson, Texas 75082
    
    Tel: +1-800-USE-FTAC (1-800-873-3822)
    Email: ftac@fnc.fujitsu.com
    Web: www.fujitsu.com/us/services/telecom";
    
        description
          "This module contains definitions for Slot Equipment.
    
    Copyright (c) 2015 Fujitsu Ltd.
    All rights reserved. ";
    
        revision "2018-06-26" {
          description
            "RF-242 added new container of memory-statistics under slot grouping
    which gives shelf and slot level memory information";
        }
    
        revision "2018-06-05" {
          description
            "RF-242 added new container of cpu-statistics under slot grouping
    which gives shelf and slot level cpu information";
        }
    
        revision "2018-04-03" {
          description
            "OPS-2800 Added new leaf named description under slot grouping
    which stores some information of slot";
        }
    
        revision "2017-07-10" {
          description
            "Tailf dependencies added for yang-performance.";
        }
    
        revision "2015-04-10" {
          description "Initial revision.";
        }
    
    
        typedef SlotType {
          type string;
          description
            "A identifier that identifier what kind of cards
    can be plugged into this slot.";
        }
    
        grouping Slot {
          description
            "This grouping defines parameters for a slot";
          leaf slotID {
            type string;
            description "A unique slot ID";
          }
    
          leaf description {
            type string {
              length "min..1024";
            }
            description "slot information";
          }
    
          uses entity-states:oper-status {
            refine oper-status {
              config false;
            }
          }
    
          uses entity-states:admin-status {
            refine admin-status {
              default "down";
              mandatory false;
            }
          }
    
          leaf cardType {
            type string;
            mandatory true;
            description
              "the card type as defined in 'cardData'";
          }
    
          leaf cardMode {
            type string;
            description
              "the card mode as defined in 'cardData'";
          }
    
          container pi {
            config false;
            description
              "Physical inventory information of the slot";
            uses physical-inventory:PhysicalInventory;
          }  // container pi
    
          container statistics {
            config false;
            description
              "Shelf/Slot level system statistics";
            container cpu-statistics {
              description
                "Shelf/Slot level CPU statistics";
              leaf user-type {
                type string;
                description "CPU user type";
              }
    
              leaf instant {
                type decimal64 {
                  fraction-digits 2;
                }
                description
                  "Current CPU usage in %";
              }
    
              leaf avg {
                type decimal64 {
                  fraction-digits 2;
                }
                description
                  "Average CPU usage in %";
              }
    
              leaf min {
                type decimal64 {
                  fraction-digits 2;
                }
                description
                  "Minimum CPU usage in %";
              }
    
              leaf max {
                type decimal64 {
                  fraction-digits 2;
                }
                description
                  "Maximum CPU usage in %";
              }
    
              leaf interval {
                type uint64;
                description
                  "CPU statistics computed interval in nanoseconds";
              }
            }  // container cpu-statistics
    
            container memory-statistics {
              description
                "Shelf/slot level memory statistics";
              leaf physical {
                type uint64;
                description
                  "Total installed physical memory in MegaBytes";
              }
    
              leaf available {
                type uint64;
                description
                  "Total available memory for use by applications in MB";
              }
    
              leaf utilized {
                type uint64;
                description
                  "Total utilized memory by applications in MegaBytes";
              }
            }  // container memory-statistics
          }  // container statistics
    
          uses pmtypedefs:pm-info;
    
          list subslot {
            key "subslotID";
            description
              "A list of subslots per slot identified by the 'subslotNumber'";
            uses subslot:subslot;
          }  // list subslot
        }  // grouping Slot
      }  // module fujitsu-slot
    

© 2023 YumaWorks, Inc. All rights reserved.