Package org.openstack4j.model.network
Interface Network
-
- All Superinterfaces:
BasicResource,Buildable<NetworkBuilder>,IdEntity,ModelEntity,Resource,Serializable,TimeEntity
- All Known Implementing Classes:
NeutronNetwork
public interface Network extends Resource, TimeEntity, Buildable<NetworkBuilder>
An OpenStack (Neutron) network- Author:
- Jeremy Unruh
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getAvailabilityZoneHints()List<String>getAvailabilityZones()IntegergetMTU()NetworkTypegetNetworkType()List<? extends Subnet>getNeutronSubnets()StringgetProviderPhyNet()StringgetProviderSegID()StategetStatus()List<String>getSubnets()booleanisAdminStateUp()booleanisDefault()BooleanisPortSecurityEnabled()booleanisRouterExternal()booleanisShared()-
Methods inherited from interface org.openstack4j.model.common.BasicResource
getName, setName
-
Methods inherited from interface org.openstack4j.model.common.Resource
getTenantId, setTenantId
-
Methods inherited from interface org.openstack4j.model.common.TimeEntity
getCreatedTime, getUpdatedTime
-
-
-
-
Method Detail
-
getStatus
State getStatus()
- Returns:
- the status of the network
-
getSubnets
List<String> getSubnets()
- Returns:
- list of subnet identifiers associated with the network
-
getProviderPhyNet
String getProviderPhyNet()
- Returns:
- the physical network provider or null
-
isAdminStateUp
boolean isAdminStateUp()
- Returns:
- true if the administrative state is up
-
getNetworkType
NetworkType getNetworkType()
- Returns:
- the network type
-
isRouterExternal
boolean isRouterExternal()
- Returns:
- true if the router is external
-
isShared
boolean isShared()
- Returns:
- true if the network is shared
-
getProviderSegID
String getProviderSegID()
- Returns:
- the provider segmentation identifier
-
getMTU
Integer getMTU()
- Returns:
- The maximum transmission unit (MTU) value to address fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
-
getAvailabilityZoneHints
List<String> getAvailabilityZoneHints()
- Returns:
- the list of the availability zone candidate for the network.
-
getAvailabilityZones
List<String> getAvailabilityZones()
- Returns:
- the list of the availability zone for the network.
-
isPortSecurityEnabled
Boolean isPortSecurityEnabled()
- Returns:
- true if the port security enabled is shared
-
isDefault
boolean isDefault()
- Returns:
- true if the network is default pool
-
-