@Deprecated public interface Component extends ChildOf<Hardware>, Augmentable<Component>, Identifiable<ComponentKey>
This class represents the following YANG schema fragment defined in module ietf-hardware-state
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/component
To create instances of this class use ComponentBuilder
.
ComponentBuilder
,
ComponentKey
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
@Nullable String |
getAlias()
Deprecated.
|
@Nullable String |
getAssetId()
Deprecated.
|
@Nullable List<String> |
getContainsChild()
Deprecated.
|
@Nullable String |
getDescription()
Deprecated.
|
@Nullable String |
getFirmwareRev()
Deprecated.
|
@Nullable String |
getHardwareRev()
Deprecated.
|
@Nullable DateAndTime |
getMfgDate()
Deprecated.
|
@Nullable String |
getMfgName()
Deprecated.
|
@Nullable String |
getModelName()
Deprecated.
|
@Nullable String |
getName()
Deprecated.
|
@Nullable String |
getParent()
Deprecated.
|
@Nullable Integer |
getParentRelPos()
Deprecated.
|
@Nullable Integer |
getPhysicalIndex()
Deprecated.
|
@Nullable SensorData |
getSensorData()
Deprecated.
|
@Nullable String |
getSerialNum()
Deprecated.
|
@Nullable String |
getSoftwareRev()
Deprecated.
|
@Nullable State |
getState()
Deprecated.
|
@Nullable List<Uri> |
getUri()
Deprecated.
|
@Nullable Uuid |
getUuid()
Deprecated.
|
@Nullable Class<? extends HardwareClass> |
getXmlClass()
Deprecated.
|
@Nullable Boolean |
isIsFru()
Deprecated.
|
ComponentKey |
key()
Deprecated.
Returns an unique key for the object.
|
getImplementedInterface
augmentation
@Deprecated @Nullable String getName()
java.lang.String
name
, or null
if not present@Deprecated @Nullable Class<? extends HardwareClass> getXmlClass()
java.lang.Class
xmlClass
, or null
if not present@Deprecated @Nullable Integer getPhysicalIndex()
java.lang.Integer
physicalIndex
, or null
if not present@Deprecated @Nullable String getDescription()
java.lang.String
description
, or null
if not present@Deprecated @Nullable String getParent()
java.lang.String
parent
, or null
if not present@Deprecated @Nullable Integer getParentRelPos()
java.lang.Integer
parentRelPos
, or null
if not present@Deprecated @Nullable List<String> getContainsChild()
java.util.List
containsChild
, or null
if not present@Deprecated @Nullable String getHardwareRev()
java.lang.String
hardwareRev
, or null
if not present@Deprecated @Nullable String getFirmwareRev()
java.lang.String
firmwareRev
, or null
if not present@Deprecated @Nullable String getSoftwareRev()
java.lang.String
softwareRev
, or null
if not present@Deprecated @Nullable String getSerialNum()
java.lang.String
serialNum
, or null
if not present@Deprecated @Nullable String getMfgName()
java.lang.String
mfgName
, or null
if not present@Deprecated @Nullable String getModelName()
java.lang.String
modelName
, or null
if not present@Deprecated @Nullable String getAlias()
java.lang.String
alias
, or null
if not present@Deprecated @Nullable String getAssetId()
java.lang.String
assetId
, or null
if not present@Deprecated @Nullable Boolean isIsFru()
java.lang.Boolean
isFru
, or null
if not present@Deprecated @Nullable DateAndTime getMfgDate()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime
mfgDate
, or null
if not present@Deprecated @Nullable List<Uri> getUri()
java.util.List
uri
, or null
if not present@Deprecated @Nullable Uuid getUuid()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
uuid
, or null
if not present@Deprecated @Nullable State getState()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.state.rev180313.hardware.component.State
state
, or null
if not present@Deprecated @Nullable SensorData getSensorData()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.state.rev180313.hardware.component.SensorData
sensorData
, or null
if not presentComponentKey key()
Identifiable
key
in interface Identifiable<ComponentKey>
Copyright © 2019 OpenDaylight. All rights reserved.