Interface VhostUserInterfaceBaseAttributes

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

    @Generated("mdsal-binding-generator")
    public interface VhostUserInterfaceBaseAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject, InterfaceTag
    vhost-user settings

    This class represents the following YANG schema fragment defined in module v3po

     grouping vhost-user-interface-base-attributes {
       leaf socket {
         type string {
           length 1..255;
         }
       }
       leaf role {
         type vhost-user-role;
         default server;
       }
       uses interface-tag;
     }
     
    The schema path to identify an instance is v3po/vhost-user-interface-base-attributes
    • Field Detail

      • QNAME

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

      • implementedInterface

        java.lang.Class<? extends VhostUserInterfaceBaseAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface InterfaceTag
      • getSocket

        java.lang.String getSocket()
        Return socket, or null if it is not present.
        Returns:
        java.lang.String socket, or null if it is not present.
      • getRole

        VhostUserRole getRole()
        Return role, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev170607.VhostUserRole role, or null if it is not present.