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-addressTo create instances of this class use
InterfaceAddressBuilder
.- See Also:
InterfaceAddressBuilder
,InterfaceAddressKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.String
getInterface()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address
getSrcIpAddress()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
getSrcMacAddress()
default java.lang.Class<InterfaceAddress>
implementedInterface()
InterfaceAddressKey
key()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<InterfaceAddress> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInterface
java.lang.String getInterface()
- Returns:
java.lang.String
interface
, ornull
if not present
-
getSrcIpAddress
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
, ornull
if not present
-
getSrcMacAddress
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
, ornull
if not present
-
key
InterfaceAddressKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<InterfaceAddressKey>
-
-