public class NeutronRouter extends Object implements Router
Modifier and Type | Class and Description |
---|---|
static class |
NeutronRouter.RouterConcreteBuilder |
static class |
NeutronRouter.Routers |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
NeutronRouter() |
Modifier and Type | Method and Description |
---|---|
static RouterBuilder |
builder() |
ExternalGateway |
getExternalGatewayInfo()
Information on external gateway for the router
|
String |
getId() |
String |
getName() |
List<? extends HostRoute> |
getRoutes()
Host Routing entries for the router
|
State |
getStatus()
Indicates whether a router is currently operational or not
|
String |
getTenantId() |
boolean |
isAdminStateUp()
Administrative state of the router
|
void |
setId(String id)
Sets the identifier for this resource.
|
void |
setName(String name)
Sets the name for this resource
|
void |
setTenantId(String tenantId)
Sets the tenant identifier
|
RouterBuilder |
toBuilder() |
String |
toString() |
public static RouterBuilder builder()
public RouterBuilder toBuilder()
toBuilder
in interface Buildable<RouterBuilder>
public String getId()
public String getName()
getName
in interface BasicResource
public String getTenantId()
getTenantId
in interface Resource
public void setId(String id)
public void setName(String name)
setName
in interface BasicResource
name
- the name to setpublic void setTenantId(String tenantId)
setTenantId
in interface Resource
tenantId
- the tenant id to setpublic boolean isAdminStateUp()
isAdminStateUp
in interface Router
public State getStatus()
public ExternalGateway getExternalGatewayInfo()
getExternalGatewayInfo
in interface Router
Copyright © 2017. All rights reserved.