Interface HwvtepLogicalSwitchAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,HwvtepNodeIdentification
- All Known Subinterfaces:
LogicalSwitches
@Generated("mdsal-binding-generator") public interface HwvtepLogicalSwitchAttributes extends org.opendaylight.yangtools.yang.binding.DataObject, HwvtepNodeIdentification
This class represents the following YANG schema fragment defined in module hwvtep
grouping hwvtep-logical-switch-attributes { uses hwvtep-node-identification; leaf logical-switch-uuid { type yang:uuid; } leaf tunnel-key { type string; } leaf replication-mode { type string; } }
The schema path to identify an instance is hwvtephwvtep-logical-switch-attributes
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getLogicalSwitchUuid()
Return logicalSwitchUuid, ornull
if it is not present.String
getReplicationMode()
Return replicationMode, ornull
if it is not present.String
getTunnelKey()
Return tunnelKey, ornull
if it is not present.Class<? extends HwvtepLogicalSwitchAttributes>
implementedInterface()
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
requireLogicalSwitchUuid()
Return logicalSwitchUuid, guaranteed to be non-null.default @NonNull String
requireReplicationMode()
Return replicationMode, guaranteed to be non-null.default @NonNull String
requireTunnelKey()
Return tunnelKey, 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 HwvtepLogicalSwitchAttributes> 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
-
getLogicalSwitchUuid
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getLogicalSwitchUuid()
Return logicalSwitchUuid, ornull
if it is not present.A unique identifier of the logical switch
- Returns:
Uuid
logicalSwitchUuid, ornull
if it is not present.
-
requireLogicalSwitchUuid
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireLogicalSwitchUuid()
Return logicalSwitchUuid, guaranteed to be non-null.A unique identifier of the logical switch
- Returns:
Uuid
logicalSwitchUuid, guaranteed to be non-null.- Throws:
NoSuchElementException
- if logicalSwitchUuid is not present
-
getTunnelKey
String getTunnelKey()
Return tunnelKey, ornull
if it is not present.Per Logical Switch tunnel key
- Returns:
String
tunnelKey, ornull
if it is not present.
-
requireTunnelKey
default @NonNull String requireTunnelKey()
Return tunnelKey, guaranteed to be non-null.Per Logical Switch tunnel key
- Returns:
String
tunnelKey, guaranteed to be non-null.- Throws:
NoSuchElementException
- if tunnelKey is not present
-
getReplicationMode
String getReplicationMode()
Return replicationMode, ornull
if it is not present.Per Logical Switch replication mode
- Returns:
String
replicationMode, ornull
if it is not present.
-
requireReplicationMode
default @NonNull String requireReplicationMode()
Return replicationMode, guaranteed to be non-null.Per Logical Switch replication mode
- Returns:
String
replicationMode, guaranteed to be non-null.- Throws:
NoSuchElementException
- if replicationMode is not present
-
-