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 classNetwork.CreateBuilderCreate and Update builders (inheriting from Builder)static classNetwork.CreateNetworkCreate and Update options - extend the domain class, passed to API update and create calls.static classNetwork.UpdateBuilderCreate and Update builders (inheriting from Builder)static classNetwork.UpdateNetworkCreate 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.CreateBuildercreateBuilder(String name)booleanequals(Object obj)BooleangetAdminStateUp()StringgetAvailabilityZone()BooleangetExternal()Adds external network attribute to network resource.StringgetId()StringgetMemberSegments()StringgetMulticastIp()StringgetName()StringgetNetworkFlavor()NetworkTypegetNetworkType()StringgetPhysicalNetworkName()BooleangetPortSecurity()StringgetProfileId()StringgetSegmentAdd()IntegergetSegmentationId()StringgetSegmentDel()com.google.common.collect.ImmutableSet<NetworkSegment>getSegments()BooleangetShared()The shared attribute can be used to create a public network, i.e.: a network which is shared with all other tenants.NetworkStatusgetStatus()com.google.common.collect.ImmutableSet<String>getSubnets()StringgetTenantId()inthashCode()StringtoString()static Network.UpdateBuilderupdateBuilder()
-
-
-
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
-
-