Interface TapInterfaceConfigAttributes

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

    @Generated("mdsal-binding-generator")
    public interface TapInterfaceConfigAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject

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

     grouping tap-interface-config-attributes {
       leaf mac {
         type yang:phys-address;
         mandatory false;
       }
       leaf device-instance {
         type uint32;
         mandatory false;
       }
     }
     
    The schema path to identify an instance is v3po/tap-interface-config-attributes
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getMac()
        Return mac, or null if it is not present.
             
                 Mac address to be set for the tap interface. Random will be used if not
                 configured
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress mac, or null if it is not present.
      • getDeviceInstance

        org.opendaylight.yangtools.yang.common.Uint32 getDeviceInstance()
        Return deviceInstance, or null if it is not present.
             
                 Custom device instance. Autogenerated will be used if not configured
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 deviceInstance, or null if it is not present.