Interface ChainParameters
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ChainParameters>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<PortChainAttributes>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<ChainParametersKey>
public interface ChainParameters extends org.opendaylight.yangtools.yang.binding.ChildOf<PortChainAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<ChainParameters>, org.opendaylight.yangtools.yang.binding.Identifiable<ChainParametersKey>
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 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'This class represents the following YANG schema fragment defined in module neutron-sfc
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/chain-parametersTo create instances of this class use
ChainParametersBuilder
.- See Also:
ChainParametersBuilder
,ChainParametersKey
-
-
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 String
getChainParameter()
SF Chain parameter attribute nameString
getChainParameterValue()
SF Chain parameter's valuedefault Class<ChainParameters>
implementedInterface()
ChainParametersKey
key()
-
-
-
Method Detail
-
implementedInterface
default Class<ChainParameters> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getChainParameter
String getChainParameter()
SF Chain parameter attribute name- Returns:
java.lang.String
chainParameter
, ornull
if not present
-
getChainParameterValue
String getChainParameterValue()
SF Chain parameter's value- Returns:
java.lang.String
chainParameterValue
, ornull
if not present
-
key
ChainParametersKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<ChainParametersKey>
-
-