Interface TapFlowAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
TapFlow
@Generated("mdsal-binding-generator") public interface TapFlowAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
Grouping for Tap FlowThis class represents the following YANG schema fragment defined in module neutron-tapaas
grouping tap-flow-attributes { leaf tap-service-id { type yang:uuid; } leaf source-port { type yang:uuid; } leaf direction { type identityref { base direction-base; } } }
The schema path to identify an instance is neutron-tapaas/tap-flow-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 Class<? extends DirectionBase>
getDirection()
Return direction, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getSourcePort()
Return sourcePort, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getTapServiceId()
Return tapServiceId, ornull
if it is not present.Class<? extends TapFlowAttributes>
implementedInterface()
default @NonNull Class<? extends DirectionBase>
requireDirection()
Return direction, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
requireSourcePort()
Return sourcePort, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
requireTapServiceId()
Return tapServiceId, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends TapFlowAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTapServiceId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getTapServiceId()
Return tapServiceId, ornull
if it is not present.UUID of the Tap Service Instance
- Returns:
Uuid
tapServiceId, ornull
if it is not present.
-
requireTapServiceId
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireTapServiceId()
Return tapServiceId, guaranteed to be non-null.UUID of the Tap Service Instance
- Returns:
Uuid
tapServiceId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if tapServiceId is not present
-
getSourcePort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getSourcePort()
Return sourcePort, ornull
if it is not present.Source port of traffic
- Returns:
Uuid
sourcePort, ornull
if it is not present.
-
requireSourcePort
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireSourcePort()
Return sourcePort, guaranteed to be non-null.Source port of traffic
- Returns:
Uuid
sourcePort, guaranteed to be non-null.- Throws:
NoSuchElementException
- if sourcePort is not present
-
getDirection
Class<? extends DirectionBase> getDirection()
Return direction, ornull
if it is not present.Direction of traffic
- Returns:
Class<? extends DirectionBase>
direction, ornull
if it is not present.
-
requireDirection
default @NonNull Class<? extends DirectionBase> requireDirection()
Return direction, guaranteed to be non-null.Direction of traffic
- Returns:
Class<? extends DirectionBase>
direction, guaranteed to be non-null.- Throws:
NoSuchElementException
- if direction is not present
-
-