Package org.openstack4j.model.manila
Interface ShareNetwork
-
- All Superinterfaces:
ModelEntity,Serializable
- All Known Implementing Classes:
ManilaShareNetwork
public interface ShareNetwork extends ModelEntity
A share network stores network information that share servers can use where shares are hosted. A share network has these attributes:- The IP block in Classless Inter-Domain Routing (CIDR) notation from which to allocate the network.
- The IP version of the network.
- The network type, which is
vlan,vxlan,gre, orflat. - If the network uses segmentation, a segmentation identifier. For example, VLAN, VXLAN, and GRE networks use segmentation.
- Author:
- Daniel Gonzalez Nothnagel
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classShareNetwork.NetworkType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCidr()StringgetCreatedAt()StringgetDescription()StringgetId()IntegergetIpVersion()StringgetName()ShareNetwork.NetworkTypegetNetworkType()StringgetNeutronNetId()StringgetNeutronSubnetId()StringgetNovaNetId()StringgetProjectId()IntegergetSegmentationId()StringgetUpdatedAt()
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- the share network ID
-
getProjectId
String getProjectId()
- Returns:
- the UUID of the project where the share network was created
-
getNeutronNetId
String getNeutronNetId()
- Returns:
- the neutron network ID
-
getNeutronSubnetId
String getNeutronSubnetId()
- Returns:
- the neutron subnet ID
-
getNovaNetId
String getNovaNetId()
- Returns:
- the nova network ID
-
getNetworkType
ShareNetwork.NetworkType getNetworkType()
- Returns:
- the network type
-
getSegmentationId
Integer getSegmentationId()
- Returns:
- the segmentation ID
-
getCidr
String getCidr()
- Returns:
- the CIDR
-
getIpVersion
Integer getIpVersion()
- Returns:
- the IP version of the network
-
getName
String getName()
- Returns:
- the share network name
-
getDescription
String getDescription()
- Returns:
- the share network description
-
getCreatedAt
String getCreatedAt()
- Returns:
- the date and time stamp when the share network was created
-
getUpdatedAt
String getUpdatedAt()
- Returns:
- the date and time stamp when the share network was updated
-
-