Interface PortChainAttributes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    PortChain

    @Generated("mdsal-binding-generator")
    public interface PortChainAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Grouping of port chain attributes

    This class represents the following YANG schema fragment defined in module neutron-sfc

     grouping port-chain-attributes {
       leaf-list port-pair-groups {
         type yang:uuid;
       }
       leaf-list flow-classifiers {
         type yang:uuid;
       }
       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
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends PortChainAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getPortPairGroups

        @Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getPortPairGroups()
        Return portPairGroups, or null if it is not present.
             
                 List of ID of Port pair groups that is part of the SF chain
             
         
        Returns:
        java.util.List portPairGroups, or null if it is not present.
      • getFlowClassifiers

        @Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getFlowClassifiers()
        Return flowClassifiers, or null if it is not present.
             
                 List of ID of flow classifiers associated to the SF chain
             
         
        Returns:
        java.util.List flowClassifiers, or null if it is not present.
      • getChainParameters

        @Nullable Map<ChainParametersKey,​ChainParameters> getChainParameters()
        Return chainParameters, or null if it is not present.
             
                 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 different
                 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'
             
         
        Returns:
        java.util.Map chainParameters, or null if it is not present.
      • nonnullChainParameters

        default @NonNull Map<ChainParametersKey,​ChainParameters> nonnullChainParameters()
        Return chainParameters, or an empty list if it is not present.
        Returns:
        java.util.Map chainParameters, or an empty list if it is not present.