fujitsu-performance-monitoring

This module contains a collection of YANG definitions for Performance Monitoring management. Copyright (c) 2015 Fujitsu Ltd. Al...

  • Version: 2018-01-11

    fujitsu-performance-monitoring@2018-01-11


    
      module fujitsu-performance-monitoring {
    
        yang-version 1;
    
        namespace
          "urn:fujitsu:params:xml:ns:yang:perfmon";
    
        prefix perfmon;
    
        import ietf-yang-types {
          prefix yang;
        }
        import fujitsu-notifications {
          prefix notifications;
        }
        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 a collection of YANG definitions for
         Performance Monitoring management.
         
         Copyright (c) 2015 Fujitsu Ltd.
         All rights reserved. ";
    
        revision "2018-01-11" {
          description
            "Added container pm-protections.";
        }
    
        revision "2017-12-05" {
          description
            "Added restriction for Shelf and Slot value.";
        }
    
        revision "2017-02-08" {
          description
            "Moved typedefs to a separate file.";
        }
    
        revision "2016-12-07" {
          description
            "Corrected pm-validity description.";
        }
    
        revision "2015-05-07" {
          description "Initial revision.";
        }
    
    
        container pm-equipment {
          config false;
          description
            "Top container for all equipment performance monitoring entities.";
          list shelf {
            key "shelfId";
            description
              "List of shelf entities to store performance monitoring operational data";
            leaf shelfId {
              type string {
                pattern "[0-9]+";
              }
              description "Shelf Identifier";
            }
    
            uses pmtypedefs:pm-oper-data;
    
            list slot {
              key "slotId";
              description
                "List of slot entities to store performance monitoring operational data";
              leaf slotId {
                type string {
                  pattern "[0-9]+";
                }
                description "Slot Identifier";
              }
    
              uses pmtypedefs:pm-oper-data;
    
              list subslot {
                key "subslotId";
                description
                  "List of subslot entities to store performance monitoring operational data";
                leaf subslotId {
                  type string;
                  description
                    "Subslot Identifier";
                }
    
                uses pmtypedefs:pm-oper-data;
    
                list port {
                  key "portId";
                  description
                    "List of port entities to store performance monitoring operational data";
                  leaf portId {
                    type string;
                    description
                      "Port Identifier";
                  }
    
                  uses pmtypedefs:pm-oper-data;
    
                  list subport {
                    key "subportId";
                    description
                      "List of subport entities to store performance monitoring operational data";
                    leaf subportId {
                      type string;
                      description
                        "Subport Identifier";
                    }
    
                    uses pmtypedefs:pm-oper-data;
                  }  // list subport
                }  // list port
              }  // list subslot
            }  // list slot
          }  // list shelf
        }  // container pm-equipment
    
        container pm-interfaces {
          config false;
          description
            "Top container for all interface performance monitoring entities.";
          list interface {
            key "name";
            description
              "List of interface entities to store performance monitoring operational data";
            leaf name {
              type string;
              description "Interface name";
            }
    
            uses pmtypedefs:pm-oper-data;
          }  // list interface
        }  // container pm-interfaces
    
        container pm-protections {
          config false;
          description
            "Top container for all protection performance monitoring entities.";
          list protection {
            key "pg-type name";
            description
              "List of protection entities to store performance monitoring operational data";
            leaf pg-type {
              type pmtypedefs:pm-pg-type;
              description
                "Protection group type";
            }
    
            leaf name {
              type instance-identifier;
              description "Protection name";
            }
    
            uses pmtypedefs:pm-oper-data;
          }  // list protection
        }  // container pm-protections
    
        rpc init-pm {
          description
            "Command to initialize PM data";
          input {
            leaf id {
              type string;
              mandatory true;
              description "Entity Identifier";
            }
    
            leaf time-period {
              type pmtypedefs:pm-time-period;
              default "15-min";
            }
    
            leaf index {
              type pmtypedefs:pm-history;
              default "current";
            }
          }
    
          output {
            leaf status {
              type string;
            }
          }
        }  // rpc init-pm
    
        notification threshold-crossover-notification {
          description
            "This notification is used to report a threshold cross-over event.";
          uses notifications:common-event-parameters;
    
          leaf pm-value {
            type pmtypedefs:pm-data-type;
            mandatory true;
            description
              "Monitored performance value";
          }
    
          leaf pm-threshold-level {
            type pmtypedefs:pm-data-type;
            mandatory true;
            description
              "Performance monitor threshold level";
          }
        }  // notification threshold-crossover-notification
      }  // module fujitsu-performance-monitoring
    

© 2023 YumaWorks, Inc. All rights reserved.