Interface BindingAttributes

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

    public interface BindingAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject

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

     grouping binding-attributes {
       leaf host-id {
         type string;
       }
       list vif-details {
         key details-key;
         leaf details-key {
           type string;
         }
         leaf value {
           type string;
         }
       }
       leaf vif-type {
         type string;
       }
       leaf vnic-type {
         type string;
       }
       leaf profile {
         type string;
       }
     }
     
    The schema path to identify an instance is neutron-binding/binding-attributes
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        String getHostId()
        The ID of the host where the port is allocated. In some cases, different implementations can run on different hosts.
        Returns:
        java.lang.String hostId, or null if not present
      • getVifDetails

        @Nullable Map<VifDetailsKey,​VifDetails> getVifDetails()
        A dictionary that enables the application to pass information about functions that the Networking API provides. To enable or disable port filtering features such as security group and anti-MAC/IP spoofing, specify port-filter: True or port-filter: False
        Returns:
        java.util.Map vifDetails, or null if not present
      • nonnullVifDetails

        default @NonNull Map<VifDetailsKey,​VifDetails> nonnullVifDetails()
        Returns:
        java.util.Map vifDetails, or an empty list if it is not present
      • getVifType

        String getVifType()
        Returns:
        java.lang.String vifType, or null if not present
      • getVnicType

        String getVnicType()
        Returns:
        java.lang.String vnicType, or null if not present
      • getProfile

        String getProfile()
        Returns:
        java.lang.String profile, or null if not present