public class NeutronNetwork extends Object implements Network
Modifier and Type | Class and Description |
---|---|
static class |
NeutronNetwork.NetworkConcreteBuilder |
static class |
NeutronNetwork.Networks |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
NeutronNetwork() |
Modifier and Type | Method and Description |
---|---|
static NetworkBuilder |
builder() |
String |
getId() |
String |
getName() |
NetworkType |
getNetworkType() |
List<? extends Subnet> |
getNeutronSubnets() |
String |
getProviderPhyNet() |
String |
getProviderSegID() |
State |
getStatus() |
List<String> |
getSubnets() |
String |
getTenantId() |
boolean |
isAdminStateUp() |
boolean |
isRouterExternal() |
boolean |
isShared() |
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
|
NetworkBuilder |
toBuilder()
Wraps this Network into a Builder
|
String |
toString() |
public static NetworkBuilder builder()
public NetworkBuilder toBuilder()
toBuilder
in interface Buildable<NetworkBuilder>
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 State getStatus()
public List<String> getSubnets()
getSubnets
in interface Network
public List<? extends Subnet> getNeutronSubnets()
getNeutronSubnets
in interface Network
public String getName()
getName
in interface BasicResource
public String getProviderPhyNet()
getProviderPhyNet
in interface Network
public boolean isAdminStateUp()
isAdminStateUp
in interface Network
public String getTenantId()
getTenantId
in interface Resource
public NetworkType getNetworkType()
getNetworkType
in interface Network
public boolean isRouterExternal()
isRouterExternal
in interface Network
public String getId()
public boolean isShared()
public String getProviderSegID()
getProviderSegID
in interface Network
Copyright © 2017. All rights reserved.