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

    @Generated("mdsal-binding-generator")
    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()
        Return hostId, or null if it is not present.
             
                 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 it is not present.
      • getVifDetails

        @Nullable Map<VifDetailsKey,​VifDetails> getVifDetails()
        Return vifDetails, or null if it is not present.
             
                 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 it is not present.
      • nonnullVifDetails

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

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

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

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