@Deprecated public interface Hardware extends ChildOf<IetfHardwareStateData>, Augmentable<Hardware>
This class represents the following YANG schema fragment defined in module ietf-hardware-state
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; } } } }The schema path to identify an instance is ietf-hardware-state/hardware
To create instances of this class use HardwareBuilder
.
HardwareBuilder
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
@Nullable List<Component> |
getComponent()
Deprecated.
|
@Nullable DateAndTime |
getLastChange()
Deprecated.
|
default @NonNull List<Component> |
nonnullComponent()
Deprecated.
|
getImplementedInterface
augmentation
@Deprecated @Nullable DateAndTime getLastChange()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime
lastChange
, or null
if not present@Deprecated @Nullable List<Component> getComponent()
java.util.List
component
, or null
if not present@Deprecated default @NonNull List<Component> nonnullComponent()
java.util.List
component
, or an empty list if it is not presentCopyright © 2019 OpenDaylight. All rights reserved.