public interface StaticRoutes extends org.opendaylight.yangtools.yang.binding.ChildOf<HwvtepLogicalRouterAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<StaticRoutes>
This class represents the following YANG schema fragment defined in module hwvtep
list static-routes { leaf destination-address { type inet:ip-prefix; } leaf nexthop-address { type inet:ip-address; } }The schema path to identify an instance is hwvtep/hwvtep-logical-router-attributes/static-routes
To create instances of this class use StaticRoutesBuilder
.
StaticRoutesBuilder
Modifier and Type | Field and Description |
---|---|
static @NonNull org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix |
getDestinationAddress()
IPv4 or IPv6 address prefix in CIDR notation
|
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress |
getNexthopAddress()
IP address of next hop
|
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getDestinationAddress()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
destinationAddress
, or null
if not present@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getNexthopAddress()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
nexthopAddress
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.