Interface HwvtepLogicalRouterAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,HwvtepNodeIdentification
- All Known Subinterfaces:
LogicalRouters
public interface HwvtepLogicalRouterAttributes extends org.opendaylight.yangtools.yang.binding.DataObject, HwvtepNodeIdentification
This class represents the following YANG schema fragment defined in module hwvtep
grouping hwvtep-logical-router-attributes { uses hwvtep-node-identification; leaf logical-router-uuid { type yang:uuid; } list switch-bindings { leaf destination-address { type inet:ip-prefix; } leaf logical-switch-ref { type hwvtep-logical-switch-ref; } } list static-routes { leaf destination-address { type inet:ip-prefix; } leaf nexthop-address { type inet:ip-address; } } list acl-bindings { key router-interface; leaf router-interface { type inet:ip-prefix; } leaf acl-ref { type hwvtep-acl-ref; } } }
The schema path to identify an instance is hwvtep/hwvtep-logical-router-attributes
-
-
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 List<AclBindings>
getAclBindings()
map of string-ACL pairs.@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getLogicalRouterUuid()
A unique identifier of the logical router@Nullable List<StaticRoutes>
getStaticRoutes()
map of string-string pairs.@Nullable List<SwitchBindings>
getSwitchBindings()
A map of IPv4 or IPv6 address prefix in CIDR notation to logical switch.Class<? extends HwvtepLogicalRouterAttributes>
implementedInterface()
default @NonNull List<AclBindings>
nonnullAclBindings()
default @NonNull List<StaticRoutes>
nonnullStaticRoutes()
default @NonNull List<SwitchBindings>
nonnullSwitchBindings()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.HwvtepNodeIdentification
getHwvtepNodeDescription, getHwvtepNodeName
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends HwvtepLogicalRouterAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceHwvtepNodeIdentification
-
getLogicalRouterUuid
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getLogicalRouterUuid()
A unique identifier of the logical router- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
logicalRouterUuid
, ornull
if not present
-
getSwitchBindings
@Nullable List<SwitchBindings> getSwitchBindings()
A map of IPv4 or IPv6 address prefix in CIDR notation to logical switch. Multiple prefixes may map to the same switch. By writing a 32-bit (or 128-bit for v6) address with a /N prefix length, both the router's interface address and the subnet prefix can be configured. For example, 192.68.1.1/24 creates a /24 subnet for the logical switch attached to the interface and assigns the address 192.68.1.1 to the router interface.- Returns:
java.util.List
switchBindings
, ornull
if not present
-
nonnullSwitchBindings
default @NonNull List<SwitchBindings> nonnullSwitchBindings()
- Returns:
java.util.List
switchBindings
, or an empty list if it is not present
-
getStaticRoutes
@Nullable List<StaticRoutes> getStaticRoutes()
map of string-string pairs. One or more static routes, mapping IP prefixes to next hop IP addresses.- Returns:
java.util.List
staticRoutes
, ornull
if not present
-
nonnullStaticRoutes
default @NonNull List<StaticRoutes> nonnullStaticRoutes()
- Returns:
java.util.List
staticRoutes
, or an empty list if it is not present
-
getAclBindings
@Nullable List<AclBindings> getAclBindings()
map of string-ACL pairs. Maps ACLs to logical router interfaces. The router interfaces are indicated using IP address notation, and must be the same interfaces created in the switch_binding column. For example, an ACL could be associated with the logical router interface with an address of 192.68.1.1 as defined in the example above.- Returns:
java.util.List
aclBindings
, ornull
if not present
-
nonnullAclBindings
default @NonNull List<AclBindings> nonnullAclBindings()
- Returns:
java.util.List
aclBindings
, or an empty list if it is not present
-
-