diff options
author | 2019-01-11 07:45:19 +0100 | |
---|---|---|
committer | 2019-01-11 07:46:46 +0100 | |
commit | 8a72578cec9ffe5bf815e38918fd82b190f8af38 (patch) | |
tree | 38fc04ef4dab6431861119e63f4559d5ad59bd10 /src/plugins/yang/openconfig/openconfig-if-poe.yang | |
parent | b70c4a3f70c08d93afb52ecb1bdd50a50feb1e1f (diff) |
Remove not supported openconfig yang modules.
Change-Id: I721def08356e64918424fdb889f545b64daeea88
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'src/plugins/yang/openconfig/openconfig-if-poe.yang')
-rw-r--r-- | src/plugins/yang/openconfig/openconfig-if-poe.yang | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/src/plugins/yang/openconfig/openconfig-if-poe.yang b/src/plugins/yang/openconfig/openconfig-if-poe.yang deleted file mode 100644 index f3c3bf1..0000000 --- a/src/plugins/yang/openconfig/openconfig-if-poe.yang +++ /dev/null @@ -1,99 +0,0 @@ -module openconfig-if-poe { - - yang-version "1"; - - namespace "http://openconfig.net/yang/poe"; - - prefix "oc-poe"; - - import openconfig-if-ethernet { prefix oc-eth; } - import openconfig-interfaces { prefix oc-if; } - import openconfig-extensions { prefix oc-ext; } - - organization "OpenConfig working group"; - - contact - "Openconfig working group - www.openconfig.net"; - - description - "This module defines configuration and state data for - Power over Ethernet (PoE) based on the IEEE 802.3af - standard."; - - oc-ext:openconfig-version "0.1.0"; - - revision "2017-09-14" { - description - "Initial public revision"; - reference "0.1.0"; - } - - grouping poe-ethernet-config { - description - "PoE ethernet config grouping"; - - leaf enabled { - type boolean; - default "true"; - description - "Enable or disable PoE in the ethernet interface."; - } - } - - grouping poe-ethernet-state { - description - "PoE ethernet state grouping"; - - leaf power-used { - type decimal64 { - fraction-digits 2; - } - units Watts; - description - "Power used by the ethernet interface in Watts."; - } - - leaf power-class { - type uint8; - description - "IEEE 802.3af Power class detected for this ethernet - interface."; - } - } - - grouping poe-ethernet-top { - description - "Ethernet top level grouping"; - - container poe { - description - "Top-level container for PoE configuration and state data"; - - container config { - description - "Configuration data for PoE"; - - uses poe-ethernet-config; - } - - container state { - config false; - - description - "Operational state data for PoE"; - - uses poe-ethernet-config; - uses poe-ethernet-state; - } - } - } - - augment "/oc-if:interfaces/oc-if:interface/oc-eth:ethernet" { - description - "Adds PoE to the ethernet model."; - - uses poe-ethernet-top; - } - -} |