1 module openconfig-platform-linecard {
6 namespace "http://openconfig.net/yang/platform/linecard";
10 import openconfig-platform { prefix oc-platform; }
11 import openconfig-platform-types { prefix oc-platform-types; }
12 import openconfig-extensions { prefix oc-ext; }
16 organization "OpenConfig working group";
19 "OpenConfig working group
23 "This module defines data related to LINECARD components in the openconfig-platform model";
25 oc-ext:openconfig-version "0.1.0";
27 revision "2017-08-03" {
33 // extension statements
37 // identity statements
41 // grouping statements
43 grouping linecard-config {
45 "Configuration data for linecard components";
47 leaf power-admin-state {
48 type oc-platform-types:component-power-type;
49 default POWER_ENABLED;
51 "Enable or disable power to the linecard";
55 grouping linecard-state {
57 "Operational state data for linecard components";
62 "Identifier for the slot or chassis position in which the
63 linecard is installed";
67 grouping linecard-top {
69 "Top-level grouping for linecard data";
73 "Top-level container for linecard data";
77 "Configuration data for linecards";
87 "Operational state data for linecards";
95 // data definition statements
99 augment "/oc-platform:components/oc-platform:component" {
101 "Adding linecard data to physical inventory";
104 when "current()/oc-platform:state/" +
105 "oc-platform:type = 'LINECARD'" {
107 "Augment is active when component is of type LINECARD";
114 // notification statements