public interface IetfHardwareStateData extends DataRoot
This class represents the following YANG schema fragment defined in module ietf-hardware-state
module ietf-hardware-state { yang-version 1.1; namespace urn:ietf:params:xml:ns:yang:ietf-hardware-state; prefix hw-state; import ietf-inet-types { prefix inet; } import ietf-yang-types { prefix yang; } import iana-hardware { prefix ianahw; } import ietf-hardware { prefix hw; } revision 2018-03-13 { } feature entity-mib { status deprecated; } feature hardware-state { status deprecated; } feature hardware-sensor { status deprecated; } container hardware { config false; status deprecated; leaf last-change { type yang:date-and-time; status deprecated; } list component { key name; status deprecated; leaf name { type string; status deprecated; } leaf class { type identityref { base ianahw:hardware-class; } status deprecated; } leaf physical-index { if-feature entity-mib; type int32 { range 1..2147483647; } status deprecated; } leaf description { type string; status deprecated; } leaf parent { type leafref { path ../../component/name; require-instance false; } status deprecated; } leaf parent-rel-pos { type int32 { range "0 .. 2147483647"; } status deprecated; } leaf-list contains-child { type leafref { path ../../component/name; } status deprecated; } leaf hardware-rev { type string; status deprecated; } leaf firmware-rev { type string; status deprecated; } leaf software-rev { type string; status deprecated; } leaf serial-num { type string; status deprecated; } leaf mfg-name { type string; status deprecated; } leaf model-name { type string; status deprecated; } leaf alias { type string; status deprecated; } leaf asset-id { type string; status deprecated; } leaf is-fru { type boolean; status deprecated; } leaf mfg-date { type yang:date-and-time; status deprecated; } leaf-list uri { type inet:uri; status deprecated; } leaf uuid { type yang:uuid; status deprecated; } container state { if-feature hardware-state; status deprecated; leaf state-last-changed { type yang:date-and-time; status deprecated; } leaf admin-state { type hw:admin-state; status deprecated; } leaf oper-state { type hw:oper-state; status deprecated; } leaf usage-state { type hw:usage-state; status deprecated; } leaf alarm-state { type hw:alarm-state; status deprecated; } leaf standby-state { type hw:standby-state; status deprecated; } } container sensor-data { when "derived-from-or-self(../class, \"ianahw:sensor\")" { } if-feature hardware-sensor; status deprecated; leaf value { type hw:sensor-value; status deprecated; } leaf value-type { type hw:sensor-value-type; status deprecated; } leaf value-scale { type hw:sensor-value-scale; status deprecated; } leaf value-precision { type hw:sensor-value-precision; status deprecated; } leaf oper-status { type hw:sensor-status; status deprecated; } leaf units-display { type string; status deprecated; } leaf value-timestamp { type yang:date-and-time; status deprecated; } leaf value-update-rate { type uint32; units milliseconds; status deprecated; } } } } notification hardware-state-change { status deprecated; } notification hardware-state-oper-enabled { if-feature hardware-state; status deprecated; leaf name { type leafref { path /hardware/component/name; } status deprecated; } leaf admin-state { type leafref { path /hardware/component/state/admin-state; } status deprecated; } leaf alarm-state { type leafref { path /hardware/component/state/alarm-state; } status deprecated; } } notification hardware-state-oper-disabled { if-feature hardware-state; status deprecated; leaf name { type leafref { path /hardware/component/name; } status deprecated; } leaf admin-state { type leafref { path /hardware/component/state/admin-state; } status deprecated; } leaf alarm-state { type leafref { path /hardware/component/state/alarm-state; } status deprecated; } } }
Modifier and Type | Method and Description |
---|---|
@Nullable Hardware |
getHardware()
Deprecated.
|
@Deprecated @Nullable Hardware getHardware()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.state.rev180313.Hardware
hardware
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.