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
.
InterfaceAddressBuilder
,
InterfaceAddressKey
Modifier and Type | Field and Description |
---|---|
static @NonNull org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable 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() |
InterfaceAddressKey |
key() |
@Nullable String getInterface()
java.lang.String
interface
, or null
if not present@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getIpAddress()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
ipAddress
, or null
if not present@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getMacaddress()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
macaddress
, or null
if not presentInterfaceAddressKey key()
key
in interface org.opendaylight.yangtools.yang.binding.Identifiable<InterfaceAddressKey>
Copyright © 2019 OpenDaylight. All rights reserved.