Interface HwvtepLogicalSwitchAttributes
- 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:
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; } }
-
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 TypeMethodDescriptionorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
Return logicalSwitchUuid, ornull
if it is not present.Return replicationMode, ornull
if it is not present.Return tunnelKey, ornull
if it is not present.Class<? extends HwvtepLogicalSwitchAttributes>
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
Return logicalSwitchUuid, guaranteed to be non-null.default @NonNull String
Return replicationMode, guaranteed to be non-null.default @NonNull String
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
-
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 HwvtepLogicalSwitchAttributes> 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
-
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
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
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
-