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
@Generated("mdsal-binding-generator") 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 Map<AclBindingsKey,AclBindings>
getAclBindings()
Return aclBindings, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getLogicalRouterUuid()
Return logicalRouterUuid, ornull
if it is not present.@Nullable List<StaticRoutes>
getStaticRoutes()
Return staticRoutes, ornull
if it is not present.@Nullable List<SwitchBindings>
getSwitchBindings()
Return switchBindings, ornull
if it is not present.Class<? extends HwvtepLogicalRouterAttributes>
implementedInterface()
default @NonNull Map<AclBindingsKey,AclBindings>
nonnullAclBindings()
Return aclBindings, or an empty list if it is not present.default @NonNull List<StaticRoutes>
nonnullStaticRoutes()
Return staticRoutes, or an empty list if it is not present.default @NonNull List<SwitchBindings>
nonnullSwitchBindings()
Return switchBindings, or an empty list if it is not present.-
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
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getLogicalRouterUuid()
Return logicalRouterUuid, ornull
if it is not present.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 it is not present.
-
getSwitchBindings
@Nullable List<SwitchBindings> getSwitchBindings()
Return switchBindings, ornull
if it is not present.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 it is not present.
-
nonnullSwitchBindings
default @NonNull List<SwitchBindings> nonnullSwitchBindings()
Return switchBindings, or an empty list if it is not present.- Returns:
java.util.List
switchBindings, or an empty list if it is not present.
-
getStaticRoutes
@Nullable List<StaticRoutes> getStaticRoutes()
Return staticRoutes, ornull
if it is not present.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 it is not present.
-
nonnullStaticRoutes
default @NonNull List<StaticRoutes> nonnullStaticRoutes()
Return staticRoutes, or an empty list if it is not present.- Returns:
java.util.List
staticRoutes, or an empty list if it is not present.
-
getAclBindings
@Nullable Map<AclBindingsKey,AclBindings> getAclBindings()
Return aclBindings, ornull
if it is not present.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.Map
aclBindings, ornull
if it is not present.
-
nonnullAclBindings
default @NonNull Map<AclBindingsKey,AclBindings> nonnullAclBindings()
Return aclBindings, or an empty list if it is not present.- Returns:
java.util.Map
aclBindings, or an empty list if it is not present.
-
-