Interface InterfaceAddress

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<InterfaceAddress>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<Interfaces>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<InterfaceAddressKey>

    public interface InterfaceAddress
    extends org.opendaylight.yangtools.yang.binding.ChildOf<Interfaces>, org.opendaylight.yangtools.yang.binding.Augmentable<InterfaceAddress>, org.opendaylight.yangtools.yang.binding.Identifiable<InterfaceAddressKey>

    This class represents the following YANG schema fragment defined in module odl-arputil

     list interface-address {
       key interface;
       leaf interface {
         type leafref {
           path /if:interfaces/if:interface/if:name;
         }
       }
       leaf ip-address {
         type inet:ip-address;
       }
       leaf macaddress {
         type yang:phys-address;
       }
     }
     
    The schema path to identify an instance is odl-arputil/interfaces/interface-address

    To create instances of this class use InterfaceAddressBuilder.

    See Also:
    InterfaceAddressBuilder, InterfaceAddressKey
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<InterfaceAddress> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getInterface

        @Nullable java.lang.String getInterface()
        Returns:
        java.lang.String interface, or null if not present
      • getIpAddress

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getIpAddress()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ipAddress, or null if not present
      • getMacaddress

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getMacaddress()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress macaddress, or null if not present