Interface PortPairAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
PortPair
public interface PortPairAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
Grouping of port pair attributesThis class represents the following YANG schema fragment defined in module neutron-sfc
grouping port-pair-attributes { leaf ingress { type yang:uuid; } leaf egress { type yang:uuid; } 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
-
-
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 org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getEgress()
Egress neutron port ID of the Service Function@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getIngress()
Ingress neutron port ID of the Service Function@Nullable List<ServiceFunctionParameters>
getServiceFunctionParameters()
Service Function specific parameters.Class<? extends PortPairAttributes>
implementedInterface()
default @NonNull List<ServiceFunctionParameters>
nonnullServiceFunctionParameters()
-
-
-
Method Detail
-
implementedInterface
Class<? extends PortPairAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getIngress
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getIngress()
Ingress neutron port ID of the Service Function- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
ingress
, ornull
if not present
-
getEgress
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getEgress()
Egress neutron port ID of the Service Function- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
egress
, ornull
if not present
-
getServiceFunctionParameters
@Nullable List<ServiceFunctionParameters> getServiceFunctionParameters()
Service Function specific parameters. These parameters are generally used to pass the SF specific parameter information to the data path. Currently OpenStack 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.- Returns:
java.util.List
serviceFunctionParameters
, ornull
if not present
-
nonnullServiceFunctionParameters
default @NonNull List<ServiceFunctionParameters> nonnullServiceFunctionParameters()
- Returns:
java.util.List
serviceFunctionParameters
, or an empty list if it is not present
-
-