Interface ServiceFunctionParameters
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ServiceFunctionParameters>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<PortPairAttributes>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<ServiceFunctionParametersKey>
public interface ServiceFunctionParameters extends org.opendaylight.yangtools.yang.binding.ChildOf<PortPairAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<ServiceFunctionParameters>, org.opendaylight.yangtools.yang.binding.Identifiable<ServiceFunctionParametersKey>
Service Function specific parameters. These parameters are generally used to pass the SF specific parameter information to the data path. Currently SFC defined only one parameter - 'correlation'. The 'correlation' parameter is used to specify the type of chain correlation mechanism supported by a specific SF. This is needed by the data plane switch to determine how to associate a packet with a chain. Currently there is no default mechanism defined by OpenStack SFC API.This class represents the following YANG schema fragment defined in module neutron-sfc
list service-function-parameters { key service-function-parameter; leaf service-function-parameter { type string; default correlation; } leaf service-function-parameter-value { type string; } }
The schema path to identify an instance is neutron-sfc/port-pair-attributes/service-function-parametersTo create instances of this class use
ServiceFunctionParametersBuilder
.
-
-
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
getServiceFunctionParameter()
Name of parameter defined for service functionString
getServiceFunctionParameterValue()
Value of the service function parameterdefault Class<ServiceFunctionParameters>
implementedInterface()
ServiceFunctionParametersKey
key()
-
-
-
Method Detail
-
implementedInterface
default Class<ServiceFunctionParameters> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getServiceFunctionParameter
String getServiceFunctionParameter()
Name of parameter defined for service function- Returns:
java.lang.String
serviceFunctionParameter
, ornull
if not present
-
getServiceFunctionParameterValue
String getServiceFunctionParameterValue()
Value of the service function parameter- Returns:
java.lang.String
serviceFunctionParameterValue
, ornull
if not present
-
key
ServiceFunctionParametersKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<ServiceFunctionParametersKey>
-
-