public interface Address extends ChildOf<Ipv4>, Augmentable<Address>, Identifiable<AddressKey>
This class represents the following YANG schema fragment defined in module ietf-ip
list address { key ip; leaf ip { type inet:ipv4-address-no-zone; } choice subnet { case prefix-length { leaf prefix-length { type uint8 { range 0..32; } } } case netmask { leaf netmask { if-feature ipv4-non-contiguous-netmasks; type yang:dotted-quad; } } } leaf origin { type ip-address-origin; config false; } }The schema path to identify an instance is ietf-ip/interfaces/interface/(urn:ietf:params:xml:ns:yang:ietf-ip?revision=2018-02-22)ipv4/address
To create instances of this class use AddressBuilder
.
AddressBuilder
,
AddressKey
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable Ipv4AddressNoZone |
getIp()
The IPv4 address on the interface.
|
@Nullable IpAddressOrigin |
getOrigin()
The origin of this address.
|
@Nullable Subnet |
getSubnet()
The subnet can be specified as a prefix length or,if the server supports
non-contiguous netmasks, asa netmask.
|
AddressKey |
key()
Returns an unique key for the object.
|
getImplementedInterface
augmentation
@Nullable Ipv4AddressNoZone getIp()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone
ip
, or null
if not present@Nullable Subnet getSubnet()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.ip.rev180222.interfaces._interface.ipv4.address.Subnet
subnet
, or null
if not present@Nullable IpAddressOrigin getOrigin()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.ip.rev180222.IpAddressOrigin
origin
, or null
if not presentAddressKey key()
Identifiable
key
in interface Identifiable<AddressKey>
Copyright © 2019 OpenDaylight. All rights reserved.