Interface HwvtepPhysicalSwitchAttributes
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,HwvtepNodeIdentification
- All Known Subinterfaces:
PhysicalSwitchAugmentation
@Generated("mdsal-binding-generator")
public interface HwvtepPhysicalSwitchAttributes
extends org.opendaylight.yangtools.yang.binding.DataObject, HwvtepNodeIdentification
This class represents the following YANG schema fragment defined in module hwvtep
grouping hwvtep-physical-switch-attributes { uses hwvtep-node-identification; leaf physical-switch-uuid { type yang:uuid; } list management-ips { key management-ips-key; leaf management-ips-key { type inet:ip-address; } } leaf managed-by { type hwvtep-global-ref; } list tunnel-ips { key tunnel-ips-key; leaf tunnel-ips-key { type inet:ip-address; } } list tunnels { key "local-locator-ref remote-locator-ref"; uses hwvtep-tunnel-attributes; } list switch-fault-status { config false; key switch-fault-status-key; leaf switch-fault-status-key { type string; } leaf switch-fault-status-value { type string; } } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn managedBy, ornull
if it is not present.@Nullable Map<ManagementIpsKey,
ManagementIps> Return managementIps, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
Return physicalSwitchUuid, ornull
if it is not present.@Nullable Map<SwitchFaultStatusKey,
SwitchFaultStatus> Return switchFaultStatus, ornull
if it is not present.@Nullable Map<TunnelIpsKey,
TunnelIps> Return tunnelIps, ornull
if it is not present.@Nullable Map<TunnelsKey,
Tunnels> Return tunnels, ornull
if it is not present.Class<? extends HwvtepPhysicalSwitchAttributes>
default @NonNull Map<ManagementIpsKey,
ManagementIps> Return managementIps, or an empty list if it is not present.default @NonNull Map<SwitchFaultStatusKey,
SwitchFaultStatus> Return switchFaultStatus, or an empty list if it is not present.default @NonNull Map<TunnelIpsKey,
TunnelIps> Return tunnelIps, or an empty list if it is not present.default @NonNull Map<TunnelsKey,
Tunnels> Return tunnels, or an empty list if it is not present.default @NonNull HwvtepGlobalRef
Return managedBy, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
Return physicalSwitchUuid, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.HwvtepNodeIdentification
getHwvtepNodeDescription, getHwvtepNodeName, requireHwvtepNodeDescription, requireHwvtepNodeName
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends HwvtepPhysicalSwitchAttributes> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceHwvtepNodeIdentification
-
getPhysicalSwitchUuid
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getPhysicalSwitchUuid()Return physicalSwitchUuid, ornull
if it is not present.The unique identifier of the physical-switch
- Returns:
Uuid
physicalSwitchUuid, ornull
if it is not present.
-
requirePhysicalSwitchUuid
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requirePhysicalSwitchUuid()Return physicalSwitchUuid, guaranteed to be non-null.The unique identifier of the physical-switch
- Returns:
Uuid
physicalSwitchUuid, guaranteed to be non-null.- Throws:
NoSuchElementException
- if physicalSwitchUuid is not present
-
getManagementIps
@Nullable Map<ManagementIpsKey,ManagementIps> getManagementIps()Return managementIps, ornull
if it is not present.- Returns:
Map<ManagementIpsKey, ManagementIps>
managementIps, ornull
if it is not present.
-
nonnullManagementIps
Return managementIps, or an empty list if it is not present.- Returns:
Map<ManagementIpsKey, ManagementIps>
managementIps, or an empty list if it is not present.
-
getManagedBy
HwvtepGlobalRef getManagedBy()Return managedBy, ornull
if it is not present.The hwvtep global node to which this physical switch belongs to
- Returns:
HwvtepGlobalRef
managedBy, ornull
if it is not present.
-
requireManagedBy
Return managedBy, guaranteed to be non-null.The hwvtep global node to which this physical switch belongs to
- Returns:
HwvtepGlobalRef
managedBy, guaranteed to be non-null.- Throws:
NoSuchElementException
- if managedBy is not present
-
getTunnelIps
@Nullable Map<TunnelIpsKey,TunnelIps> getTunnelIps()Return tunnelIps, ornull
if it is not present.- Returns:
Map<TunnelIpsKey, TunnelIps>
tunnelIps, ornull
if it is not present.
-
nonnullTunnelIps
Return tunnelIps, or an empty list if it is not present.- Returns:
Map<TunnelIpsKey, TunnelIps>
tunnelIps, or an empty list if it is not present.
-
getTunnels
@Nullable Map<TunnelsKey,Tunnels> getTunnels()Return tunnels, ornull
if it is not present.- Returns:
Map<TunnelsKey, Tunnels>
tunnels, ornull
if it is not present.
-
nonnullTunnels
Return tunnels, or an empty list if it is not present.- Returns:
Map<TunnelsKey, Tunnels>
tunnels, or an empty list if it is not present.
-
getSwitchFaultStatus
@Nullable Map<SwitchFaultStatusKey,SwitchFaultStatus> getSwitchFaultStatus()Return switchFaultStatus, ornull
if it is not present.- Returns:
Map<SwitchFaultStatusKey, SwitchFaultStatus>
switchFaultStatus, ornull
if it is not present.
-
nonnullSwitchFaultStatus
Return switchFaultStatus, or an empty list if it is not present.- Returns:
Map<SwitchFaultStatusKey, SwitchFaultStatus>
switchFaultStatus, or an empty list if it is not present.
-