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-parameters

    To create instances of this class use ServiceFunctionParametersBuilder.

    See Also:
    ServiceFunctionParametersBuilder, ServiceFunctionParametersKey
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<ServiceFunctionParameters> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getServiceFunctionParameter

        String getServiceFunctionParameter()
        Name of parameter defined for service function
        Returns:
        java.lang.String serviceFunctionParameter, or null if not present
      • getServiceFunctionParameterValue

        String getServiceFunctionParameterValue()
        Value of the service function parameter
        Returns:
        java.lang.String serviceFunctionParameterValue, or null if not present