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
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 List<ChainParameters>
getChainParameters()
List of additional parameters related to the SF chain.@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
getFlowClassifiers()
List of ID of flow classifiers associated to the SF chain@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
getPortPairGroups()
List of ID of Port pair groups that is part of the SF chainClass<? extends PortChainAttributes>
implementedInterface()
default @NonNull List<ChainParameters>
nonnullChainParameters()
-
-
-
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()
List of ID of Port pair groups that is part of the SF chain- Returns:
java.util.List
portPairGroups
, ornull
if not present
-
getFlowClassifiers
@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getFlowClassifiers()
List of ID of flow classifiers associated to the SF chain- Returns:
java.util.List
flowClassifiers
, ornull
if not present
-
getChainParameters
@Nullable List<ChainParameters> getChainParameters()
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:
java.util.List
chainParameters
, ornull
if not present
-
nonnullChainParameters
default @NonNull List<ChainParameters> nonnullChainParameters()
- Returns:
java.util.List
chainParameters
, or an empty list if it is not present
-
-