ieee802-ethernet-pse

This module contains YANG definitions for configuring and managing ports with Power Over Ethernet feature defined by IEEE 802....

  • Version: 2019-06-21

    ieee802-ethernet-pse@2019-06-21


    
      module ieee802-ethernet-pse {
    
        yang-version 1.1;
    
        namespace
          "urn:ieee:std:802.3:yang:ieee802-ethernet-pse";
    
        prefix ieee802-pse;
    
        import ietf-interfaces {
          prefix if;
          reference
            "IETF RFC 8343";
    
    
        }
        import ietf-yang-types {
          prefix yang;
          reference
            "IETF RFC 6991";
    
    
        }
        import ieee802-ethernet-interface {
          prefix ieee802-eth-if;
        }
    
        organization
          "IEEE 802.3 Ethernet Working Group
         Web URL: http://www.ieee802.org/3/";
    
        contact
          "Web URL: http://www.ieee802.org/3/";
    
        description
          "This module contains YANG definitions for configuring and
         managing ports with Power Over Ethernet feature defined by
         IEEE 802.3. It provides functionality roughly equivalent to
         that of the POWER-ETHERNET-MIB defined in IETF RFC 3621.";
    
        revision "2019-06-21" {
          description "Initial revision.";
          reference
            "IEEE Std 802.3-2018, unless dated explicitly";
    
        }
    
    
        typedef multi-pair-detection-state {
          type enumeration {
            enum "disabled" {
              value 1;
              description "PSE disabled.";
            }
            enum "searching" {
              value 2;
              description "PSE is searching.";
            }
            enum "deliveringPower" {
              value 3;
              description
                "PSE is delivering power.";
            }
            enum "fault" {
              value 4;
              description "PSE fault detected.";
            }
            enum "test" {
              value 5;
              description "PSE test mode.";
            }
            enum "otherFault" {
              value 6;
              description
                "PSE implementation specific fault detected.";
            }
          }
          description
            "Detection state of a multi-pair PSE.";
          reference
            "IEEE Std 802.3, 30.9.1.1.5";
    
        }
    
        typedef single-pair-detection-state {
          type enumeration {
            enum "unknown" {
              value 1;
              description
                "True detection state unknown.";
            }
            enum "disabled" {
              value 2;
              description
                "PoDL PSE is disabled.";
            }
            enum "searching" {
              value 3;
              description
                "PoDL PSE is searching.";
            }
            enum "deliveringPower" {
              value 4;
              description
                "PoDL PSE is delivering power.";
            }
            enum "sleep" {
              value 5;
              description
                "PoDL PSE is in sleep state.";
            }
            enum "idle" {
              value 6;
              description "PoDL PSE is idle.";
            }
            enum "error" {
              value 7;
              description "PoDL PSE error.";
            }
          }
          description
            "Detection state of a PoDL PSE.";
          reference
            "IEEE Std 802.3, 30.15.1.1.3";
    
        }
    
        typedef power-class {
          type enumeration {
            enum "class0" {
              value 1;
              description "Class 0";
            }
            enum "class1" {
              value 2;
              description "Class 1";
            }
            enum "class2" {
              value 3;
              description "Class 2";
            }
            enum "class3" {
              value 4;
              description "Class 3";
            }
            enum "class4" {
              value 5;
              description "Class 4";
            }
            enum "class5" {
              value 6;
              description
                "Class 5 (for PoDL-only)";
            }
            enum "class6" {
              value 7;
              description
                "Class 6 (for PoDL-only)";
            }
            enum "class7" {
              value 8;
              description
                "Class 7 (for PoDL-only)";
            }
            enum "class8" {
              value 9;
              description
                "Class 8 (for PoDL-only)";
            }
            enum "class9" {
              value 10;
              description
                "Class 9 (for PoDL-only)";
            }
            enum "unknown" {
              value 11;
              description
                "Initializing, true Power Class not yet known 
               (only for PoDL PSE).";
            }
          }
          description "Power class.";
          reference
            "IEEE Std 802.3, 30.9.1.1.6 aPSEPowerClassification and 
            IEEE Std 802.3, 30.15.1.1.6 aPoDLPSEDetectedPDPowerClass.";
    
        }
    
        identity pse-type {
          description "Base type for PSE.";
        }
    
        identity multi-pair {
          base pse-type;
          description
            "PSE supports IEEE Std 802.3, Clause 33.";
        }
    
        identity single-pair {
          base pse-type;
          description
            "PSE support IEEE Std 802.3, Clause 104.";
        }
    
        identity powering-pairs {
          description
            "Base type for powering pairs.";
        }
    
        identity signal {
          base powering-pairs;
          description
            "The signal pair is in use.";
        }
    
        identity spare {
          base powering-pairs;
          description
            "The spare pair is in use.";
        }
      }  // module ieee802-ethernet-pse
    

© 2023 YumaWorks, Inc. All rights reserved.