summaryrefslogtreecommitdiffstats
path: root/src/plugins/yang/openconfig/openconfig-if-poe.yang
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/yang/openconfig/openconfig-if-poe.yang')
-rw-r--r--src/plugins/yang/openconfig/openconfig-if-poe.yang99
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;
- }
-
-}