Interface HwvtepPhysicalSwitchAttributes
-
- All Superinterfaces:
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
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HwvtepGlobalRef
getManagedBy()
Return managedBy, ornull
if it is not present.@Nullable Map<ManagementIpsKey,ManagementIps>
getManagementIps()
Return managementIps, ornull
if it is not present.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.@Nullable Map<SwitchFaultStatusKey,SwitchFaultStatus>
getSwitchFaultStatus()
Return switchFaultStatus, ornull
if it is not present.@Nullable Map<TunnelIpsKey,TunnelIps>
getTunnelIps()
Return tunnelIps, ornull
if it is not present.@Nullable Map<TunnelsKey,Tunnels>
getTunnels()
Return tunnels, ornull
if it is not present.Class<? extends HwvtepPhysicalSwitchAttributes>
implementedInterface()
default @NonNull Map<ManagementIpsKey,ManagementIps>
nonnullManagementIps()
Return managementIps, or an empty list if it is not present.default @NonNull Map<SwitchFaultStatusKey,SwitchFaultStatus>
nonnullSwitchFaultStatus()
Return switchFaultStatus, or an empty list if it is not present.default @NonNull Map<TunnelIpsKey,TunnelIps>
nonnullTunnelIps()
Return tunnelIps, or an empty list if it is not present.default @NonNull Map<TunnelsKey,Tunnels>
nonnullTunnels()
Return tunnels, or an empty list if it is not present.default @NonNull HwvtepGlobalRef
requireManagedBy()
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
requirePhysicalSwitchUuid()
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
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends HwvtepPhysicalSwitchAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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
default @NonNull Map<ManagementIpsKey,ManagementIps> 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
default @NonNull HwvtepGlobalRef 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
default @NonNull Map<TunnelIpsKey,TunnelIps> 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
default @NonNull Map<TunnelsKey,Tunnels> 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
default @NonNull Map<SwitchFaultStatusKey,SwitchFaultStatus> 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.
-
-