Class Network
- java.lang.Object
-
- org.jclouds.openstack.neutron.v2.domain.Network
-
- Direct Known Subclasses:
Network.CreateNetwork
,Network.UpdateNetwork
public class Network extends Object
A Neutron network- See Also:
- api doc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Network.CreateBuilder
Create and Update builders (inheriting from Builder)static class
Network.CreateNetwork
Create and Update options - extend the domain class, passed to API update and create calls.static class
Network.UpdateBuilder
Create and Update builders (inheriting from Builder)static class
Network.UpdateNetwork
Create and Update options - extend the domain class, passed to API update and create calls.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Network.CreateBuilder
createBuilder(String name)
boolean
equals(Object obj)
Boolean
getAdminStateUp()
String
getAvailabilityZone()
Boolean
getExternal()
Adds external network attribute to network resource.String
getId()
String
getMemberSegments()
String
getMulticastIp()
String
getName()
String
getNetworkFlavor()
NetworkType
getNetworkType()
String
getPhysicalNetworkName()
Boolean
getPortSecurity()
String
getProfileId()
String
getSegmentAdd()
Integer
getSegmentationId()
String
getSegmentDel()
com.google.common.collect.ImmutableSet<NetworkSegment>
getSegments()
Boolean
getShared()
The shared attribute can be used to create a public network, i.e.: a network which is shared with all other tenants.NetworkStatus
getStatus()
com.google.common.collect.ImmutableSet<String>
getSubnets()
String
getTenantId()
int
hashCode()
String
toString()
static Network.UpdateBuilder
updateBuilder()
-
-
-
Method Detail
-
getStatus
@Nullable public NetworkStatus getStatus()
- Returns:
- the status of the Network
-
getSubnets
@Nullable public com.google.common.collect.ImmutableSet<String> getSubnets()
- Returns:
- the subnets of the Network
-
getShared
@Nullable public Boolean getShared()
The shared attribute can be used to create a public network, i.e.: a network which is shared with all other tenants. Control of the shared attribute could be reserved to particular users only, such as administrators. In this case, regular users trying to create a shared network will receive a 403 - Forbidden error.- Returns:
- true if the network resource can be accessed by any tenant or not, false if not
-
getAvailabilityZone
@Nullable public String getAvailabilityZone()
- Returns:
- the availability zone of the Network
-
getNetworkType
@Nullable public NetworkType getNetworkType()
- Returns:
- the networkType of the Network
-
getPhysicalNetworkName
@Nullable public String getPhysicalNetworkName()
- Returns:
- the physicalNetworkName of the Network
-
getSegmentationId
@Nullable public Integer getSegmentationId()
- Returns:
- the segmentationId of the Network
-
getExternal
@Nullable public Boolean getExternal()
Adds external network attribute to network resource.- Returns:
- the external of the Network
-
getMemberSegments
@Nullable public String getMemberSegments()
- Returns:
- the memberSegments of the Network
-
getSegments
@Nullable public com.google.common.collect.ImmutableSet<NetworkSegment> getSegments()
- Returns:
- the segments of the Network
-
getNetworkFlavor
@Nullable public String getNetworkFlavor()
- Returns:
- the networkFlavor of the Network
-
createBuilder
public static Network.CreateBuilder createBuilder(String name)
- Returns:
- the Builder for creating a new Router
-
updateBuilder
public static Network.UpdateBuilder updateBuilder()
- Returns:
- the Builder for updating a Router
-
-