Interface PortChainAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
PortChain
@Generated("mdsal-binding-generator") public interface PortChainAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
Grouping of port chain attributesThis class represents the following YANG schema fragment defined in module neutron-sfc
grouping port-chain-attributes { leaf-list port-pair-groups { type yang:uuid; } leaf-list flow-classifiers { type yang:uuid; } list chain-parameters { key chain-parameter; leaf chain-parameter { type string; default correlation; } leaf chain-parameter-value { type string; default mpls; } } }
The schema path to identify an instance is neutron-sfc/port-chain-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 @Nullable Map<ChainParametersKey,ChainParameters>
getChainParameters()
Return chainParameters, ornull
if it is not present.@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
getFlowClassifiers()
Return flowClassifiers, ornull
if it is not present.@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
getPortPairGroups()
Return portPairGroups, ornull
if it is not present.Class<? extends PortChainAttributes>
implementedInterface()
default @NonNull Map<ChainParametersKey,ChainParameters>
nonnullChainParameters()
Return chainParameters, or an empty list if it is not present.default @NonNull List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
requireFlowClassifiers()
Return flowClassifiers, guaranteed to be non-null.default @NonNull List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
requirePortPairGroups()
Return portPairGroups, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends PortChainAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPortPairGroups
@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getPortPairGroups()
Return portPairGroups, ornull
if it is not present.List of ID of Port pair groups that is part of the SF chain
- Returns:
List<Uuid>
portPairGroups, ornull
if it is not present.
-
requirePortPairGroups
default @NonNull List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> requirePortPairGroups()
Return portPairGroups, guaranteed to be non-null.List of ID of Port pair groups that is part of the SF chain
- Returns:
List<Uuid>
portPairGroups, guaranteed to be non-null.- Throws:
NoSuchElementException
- if portPairGroups is not present
-
getFlowClassifiers
@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getFlowClassifiers()
Return flowClassifiers, ornull
if it is not present.List of ID of flow classifiers associated to the SF chain
- Returns:
List<Uuid>
flowClassifiers, ornull
if it is not present.
-
requireFlowClassifiers
default @NonNull List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> requireFlowClassifiers()
Return flowClassifiers, guaranteed to be non-null.List of ID of flow classifiers associated to the SF chain
- Returns:
List<Uuid>
flowClassifiers, guaranteed to be non-null.- Throws:
NoSuchElementException
- if flowClassifiers is not present
-
getChainParameters
@Nullable Map<ChainParametersKey,ChainParameters> getChainParameters()
Return chainParameters, ornull
if it is not present.List of additional parameters related to the SF chain. Current only one parameter 'correlation' is defined. The 'correlation' parameter is used to specify the type of chain correlation mechanism. This parameter allows different correlation mechanism to be selected. This is currently set to 'mpls' as a default correlation mechanism because that's the only mechanism OpenStack SFC API's supports. If this parameter is not specified, it will default to 'mpls'
- Returns:
Map<ChainParametersKey, ChainParameters>
chainParameters, ornull
if it is not present.
-
nonnullChainParameters
default @NonNull Map<ChainParametersKey,ChainParameters> nonnullChainParameters()
Return chainParameters, or an empty list if it is not present.- Returns:
Map<ChainParametersKey, ChainParameters>
chainParameters, or an empty list if it is not present.
-
-