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-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 @Nullable java.lang.String
getInterface()
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
getIpAddress()
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
getMacaddress()
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
@Nullable java.lang.String getInterface()
- Returns:
java.lang.String
interface
, ornull
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
, ornull
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
, ornull
if not present
-
key
InterfaceAddressKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<InterfaceAddressKey>
-
-