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 ipv6-nd-util

     list interface-address {
       key interface;
       leaf interface {
         type leafref {
           path /if:interfaces/if:interface/if:name;
         }
       }
       leaf src-ip-address {
         type inet:ipv6-address;
       }
       leaf src-mac-address {
         type yang:phys-address;
       }
     }
     
    The schema path to identify an instance is ipv6-nd-util/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
      • getSrcIpAddress

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address getSrcIpAddress()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address srcIpAddress, or null if not present
      • getSrcMacAddress

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