Interface L3Attributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Router
public interface L3Attributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-L3
grouping L3-attributes { leaf distributed { type boolean; default false; } leaf gateway-port-id { type yang:uuid; } list routes { key "destination nexthop"; leaf destination { type inet:ip-prefix; } leaf nexthop { type inet:ip-address; } } leaf router-status { type string; } }
The schema path to identify an instance is neutron-L3/L3-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 org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getGatewayPortId()
the port uuid holding the router's gateway address.String
getRouterStatus()
Contains the Router status.@Nullable Map<RoutesKey,Routes>
getRoutes()
list of routes for this router.Class<? extends L3Attributes>
implementedInterface()
Boolean
isDistributed()
whether this router is distributed or not.default @NonNull Map<RoutesKey,Routes>
nonnullRoutes()
-
-
-
Method Detail
-
implementedInterface
Class<? extends L3Attributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
isDistributed
Boolean isDistributed()
whether this router is distributed or not.- Returns:
java.lang.Boolean
distributed
, ornull
if not present
-
getGatewayPortId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getGatewayPortId()
the port uuid holding the router's gateway address.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
gatewayPortId
, ornull
if not present
-
getRoutes
@Nullable Map<RoutesKey,Routes> getRoutes()
list of routes for this router.- Returns:
java.util.Map
routes
, ornull
if not present
-
nonnullRoutes
default @NonNull Map<RoutesKey,Routes> nonnullRoutes()
- Returns:
java.util.Map
routes
, or an empty list if it is not present
-
getRouterStatus
String getRouterStatus()
Contains the Router status.- Returns:
java.lang.String
routerStatus
, ornull
if not present
-
-