Class ManilaShareNetwork
- java.lang.Object
-
- org.openstack4j.openstack.manila.domain.ManilaShareNetwork
-
- All Implemented Interfaces:
Serializable,ShareNetwork,ModelEntity
public class ManilaShareNetwork extends Object implements ShareNetwork
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
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManilaShareNetwork.ShareNetworks-
Nested classes/interfaces inherited from interface org.openstack4j.model.manila.ShareNetwork
ShareNetwork.NetworkType
-
-
Constructor Summary
Constructors Constructor Description ManilaShareNetwork()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCidr()StringgetCreatedAt()StringgetDescription()StringgetId()IntegergetIpVersion()StringgetName()ShareNetwork.NetworkTypegetNetworkType()StringgetNeutronNetId()StringgetNeutronSubnetId()StringgetNovaNetId()StringgetProjectId()IntegergetSegmentationId()StringgetUpdatedAt()
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceShareNetwork- Returns:
- the share network ID
-
getProjectId
public String getProjectId()
- Specified by:
getProjectIdin interfaceShareNetwork- Returns:
- the UUID of the project where the share network was created
-
getNeutronNetId
public String getNeutronNetId()
- Specified by:
getNeutronNetIdin interfaceShareNetwork- Returns:
- the neutron network ID
-
getNeutronSubnetId
public String getNeutronSubnetId()
- Specified by:
getNeutronSubnetIdin interfaceShareNetwork- Returns:
- the neutron subnet ID
-
getNovaNetId
public String getNovaNetId()
- Specified by:
getNovaNetIdin interfaceShareNetwork- Returns:
- the nova network ID
-
getNetworkType
public ShareNetwork.NetworkType getNetworkType()
- Specified by:
getNetworkTypein interfaceShareNetwork- Returns:
- the network type
-
getSegmentationId
public Integer getSegmentationId()
- Specified by:
getSegmentationIdin interfaceShareNetwork- Returns:
- the segmentation ID
-
getCidr
public String getCidr()
- Specified by:
getCidrin interfaceShareNetwork- Returns:
- the CIDR
-
getIpVersion
public Integer getIpVersion()
- Specified by:
getIpVersionin interfaceShareNetwork- Returns:
- the IP version of the network
-
getName
public String getName()
- Specified by:
getNamein interfaceShareNetwork- Returns:
- the share network name
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceShareNetwork- Returns:
- the share network description
-
getCreatedAt
public String getCreatedAt()
- Specified by:
getCreatedAtin interfaceShareNetwork- Returns:
- the date and time stamp when the share network was created
-
getUpdatedAt
public String getUpdatedAt()
- Specified by:
getUpdatedAtin interfaceShareNetwork- Returns:
- the date and time stamp when the share network was updated
-
-