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

    To create instances of this class use ChainParametersBuilder.

    See Also:
    ChainParametersBuilder, ChainParametersKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        String getChainParameter()
        SF Chain parameter attribute name
        Returns:
        java.lang.String chainParameter, or null if not present
      • getChainParameterValue

        String getChainParameterValue()
        SF Chain parameter's value
        Returns:
        java.lang.String chainParameterValue, or null if not present