summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/Certificate.java48
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/Cloudpipe.java248
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/Cloudpipes.java34
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/Extension.java112
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/Extensions.java42
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/FloatingIps.java42
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/Host.java178
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/HostAggregate.java174
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/HostAggregates.java42
9 files changed, 460 insertions, 460 deletions
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Certificate.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Certificate.java
index 1e2558d..31811f5 100644
--- a/nova-model/src/main/java/com/woorea/openstack/nova/model/Certificate.java
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Certificate.java
@@ -22,31 +22,31 @@ import org.codehaus.jackson.map.annotate.JsonRootName;
@JsonRootName("certificate")
public class Certificate {
- private String data;
-
- @JsonProperty("private_key")
- private String privateKey;
+ private String data;
+
+ @JsonProperty("private_key")
+ private String privateKey;
- /**
- * @return the data
- */
- public String getData() {
- return data;
- }
+ /**
+ * @return the data
+ */
+ public String getData() {
+ return data;
+ }
- /**
- * @return the privateKey
- */
- public String getPrivateKey() {
- return privateKey;
- }
+ /**
+ * @return the privateKey
+ */
+ public String getPrivateKey() {
+ return privateKey;
+ }
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- @Override
- public String toString() {
- return "Certificate [data=" + data + ", privateKey=" + privateKey + "]";
- }
-
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "Certificate [data=" + data + ", privateKey=" + privateKey + "]";
+ }
+
}
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Cloudpipe.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Cloudpipe.java
index 8d77d39..dc0f21d 100644
--- a/nova-model/src/main/java/com/woorea/openstack/nova/model/Cloudpipe.java
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Cloudpipe.java
@@ -23,128 +23,128 @@ import org.codehaus.jackson.map.annotate.JsonRootName;
@JsonRootName("cloudpipe")
public class Cloudpipe implements Serializable {
-
- private String projectId;
-
- private String internalIp;
-
- private String publicIp;
-
- private String publicPort;
-
- private String state;
-
- private String instanceId;
-
- private Calendar createdAt;
-
- /**
- * @return the projectId
- */
- public String getProjectId() {
- return projectId;
- }
-
- /**
- * @param projectId the projectId to set
- */
- public void setProjectId(String projectId) {
- this.projectId = projectId;
- }
-
- /**
- * @return the internalIp
- */
- public String getInternalIp() {
- return internalIp;
- }
-
- /**
- * @param internalIp the internalIp to set
- */
- public void setInternalIp(String internalIp) {
- this.internalIp = internalIp;
- }
-
- /**
- * @return the publicIp
- */
- public String getPublicIp() {
- return publicIp;
- }
-
- /**
- * @param publicIp the publicIp to set
- */
- public void setPublicIp(String publicIp) {
- this.publicIp = publicIp;
- }
-
- /**
- * @return the publicPort
- */
- public String getPublicPort() {
- return publicPort;
- }
-
- /**
- * @param publicPort the publicPort to set
- */
- public void setPublicPort(String publicPort) {
- this.publicPort = publicPort;
- }
-
- /**
- * @return the state
- */
- public String getState() {
- return state;
- }
-
- /**
- * @param state the state to set
- */
- public void setState(String state) {
- this.state = state;
- }
-
- /**
- * @return the instanceId
- */
- public String getInstanceId() {
- return instanceId;
- }
-
- /**
- * @param instanceId the instanceId to set
- */
- public void setInstanceId(String instanceId) {
- this.instanceId = instanceId;
- }
-
- /**
- * @return the createdAt
- */
- public Calendar getCreatedAt() {
- return createdAt;
- }
-
- /**
- * @param createdAt the createdAt to set
- */
- public void setCreatedAt(Calendar createdAt) {
- this.createdAt = createdAt;
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- @Override
- public String toString() {
- return "CloudPipe [projectId=" + projectId + ", internalIp="
- + internalIp + ", publicIp=" + publicIp + ", publicPort="
- + publicPort + ", state=" + state + ", instanceId="
- + instanceId + ", createdAt=" + createdAt + "]";
- }
-
+
+ private String projectId;
+
+ private String internalIp;
+
+ private String publicIp;
+
+ private String publicPort;
+
+ private String state;
+
+ private String instanceId;
+
+ private Calendar createdAt;
+
+ /**
+ * @return the projectId
+ */
+ public String getProjectId() {
+ return projectId;
+ }
+
+ /**
+ * @param projectId the projectId to set
+ */
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ /**
+ * @return the internalIp
+ */
+ public String getInternalIp() {
+ return internalIp;
+ }
+
+ /**
+ * @param internalIp the internalIp to set
+ */
+ public void setInternalIp(String internalIp) {
+ this.internalIp = internalIp;
+ }
+
+ /**
+ * @return the publicIp
+ */
+ public String getPublicIp() {
+ return publicIp;
+ }
+
+ /**
+ * @param publicIp the publicIp to set
+ */
+ public void setPublicIp(String publicIp) {
+ this.publicIp = publicIp;
+ }
+
+ /**
+ * @return the publicPort
+ */
+ public String getPublicPort() {
+ return publicPort;
+ }
+
+ /**
+ * @param publicPort the publicPort to set
+ */
+ public void setPublicPort(String publicPort) {
+ this.publicPort = publicPort;
+ }
+
+ /**
+ * @return the state
+ */
+ public String getState() {
+ return state;
+ }
+
+ /**
+ * @param state the state to set
+ */
+ public void setState(String state) {
+ this.state = state;
+ }
+
+ /**
+ * @return the instanceId
+ */
+ public String getInstanceId() {
+ return instanceId;
+ }
+
+ /**
+ * @param instanceId the instanceId to set
+ */
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ }
+
+ /**
+ * @return the createdAt
+ */
+ public Calendar getCreatedAt() {
+ return createdAt;
+ }
+
+ /**
+ * @param createdAt the createdAt to set
+ */
+ public void setCreatedAt(Calendar createdAt) {
+ this.createdAt = createdAt;
+ }
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "CloudPipe [projectId=" + projectId + ", internalIp="
+ + internalIp + ", publicIp=" + publicIp + ", publicPort="
+ + publicPort + ", state=" + state + ", instanceId="
+ + instanceId + ", createdAt=" + createdAt + "]";
+ }
+
}
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Cloudpipes.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Cloudpipes.java
index 4436361..a9920d6 100644
--- a/nova-model/src/main/java/com/woorea/openstack/nova/model/Cloudpipes.java
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Cloudpipes.java
@@ -23,22 +23,22 @@ import org.codehaus.jackson.annotate.JsonProperty;
public class Cloudpipes implements Serializable {
- @JsonProperty("cloudpipes")
- private List<Cloudpipe> list;
+ @JsonProperty("cloudpipes")
+ private List<Cloudpipe> list;
- /**
- * @return the list
- */
- public List<Cloudpipe> getList() {
- return list;
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- @Override
- public String toString() {
- return "Flavors [list=" + list + "]";
- }
-
+ /**
+ * @return the list
+ */
+ public List<Cloudpipe> getList() {
+ return list;
+ }
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "Flavors [list=" + list + "]";
+ }
+
}
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Extension.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Extension.java
index 320ad3e..bdf37c2 100644
--- a/nova-model/src/main/java/com/woorea/openstack/nova/model/Extension.java
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Extension.java
@@ -25,67 +25,67 @@ import org.codehaus.jackson.map.annotate.JsonRootName;
@JsonRootName("extension")
public class Extension implements Serializable {
- private String alias;
-
- private String description;
-
- private String name;
-
- private String namespace;
-
- private Calendar updated;
-
- private List<Link> links;
+ private String alias;
+
+ private String description;
+
+ private String name;
+
+ private String namespace;
+
+ private Calendar updated;
+
+ private List<Link> links;
- /**
- * @return the alias
- */
- public String getAlias() {
- return alias;
- }
+ /**
+ * @return the alias
+ */
+ public String getAlias() {
+ return alias;
+ }
- /**
- * @return the description
- */
- public String getDescription() {
- return description;
- }
+ /**
+ * @return the description
+ */
+ public String getDescription() {
+ return description;
+ }
- /**
- * @return the name
- */
- public String getName() {
- return name;
- }
+ /**
+ * @return the name
+ */
+ public String getName() {
+ return name;
+ }
- /**
- * @return the namespace
- */
- public String getNamespace() {
- return namespace;
- }
+ /**
+ * @return the namespace
+ */
+ public String getNamespace() {
+ return namespace;
+ }
- /**
- * @return the updated
- */
- public Calendar getUpdated() {
- return updated;
- }
+ /**
+ * @return the updated
+ */
+ public Calendar getUpdated() {
+ return updated;
+ }
- /**
- * @return the links
- */
- public List<Link> getLinks() {
- return links;
- }
+ /**
+ * @return the links
+ */
+ public List<Link> getLinks() {
+ return links;
+ }
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- @Override
- public String toString() {
- return "Extension [alias=" + alias + ", description=" + description
- + ", name=" + name + ", namespace=" + namespace + "]";
- }
-
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "Extension [alias=" + alias + ", description=" + description
+ + ", name=" + name + ", namespace=" + namespace + "]";
+ }
+
}
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Extensions.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Extensions.java
index 232b424..0ecb493 100644
--- a/nova-model/src/main/java/com/woorea/openstack/nova/model/Extensions.java
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Extensions.java
@@ -24,27 +24,27 @@ import org.codehaus.jackson.annotate.JsonProperty;
public class Extensions implements Iterable<Extension>, Serializable {
- @JsonProperty("extensions")
- private List<Extension> list;
+ @JsonProperty("extensions")
+ private List<Extension> list;
- /**
- * @return the list
- */
- public List<Extension> getList() {
- return list;
- }
-
- @Override
- public Iterator<Extension> iterator() {
- return list.iterator();
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- @Override
- public String toString() {
- return "Extensions [list=" + list + "]";
- }
+ /**
+ * @return the list
+ */
+ public List<Extension> getList() {
+ return list;
+ }
+
+ @Override
+ public Iterator<Extension> iterator() {
+ return list.iterator();
+ }
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "Extensions [list=" + list + "]";
+ }
}
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/FloatingIps.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/FloatingIps.java
index 995f9d9..5c05794 100644
--- a/nova-model/src/main/java/com/woorea/openstack/nova/model/FloatingIps.java
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/FloatingIps.java
@@ -24,27 +24,27 @@ import org.codehaus.jackson.annotate.JsonProperty;
public class FloatingIps implements Iterable<FloatingIp>, Serializable {
- @JsonProperty("floating_ips")
- private List<FloatingIp> list;
+ @JsonProperty("floating_ips")
+ private List<FloatingIp> list;
- /**
- * @return the list
- */
- public List<FloatingIp> getList() {
- return list;
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- @Override
- public String toString() {
- return "FloatingIps [list=" + list + "]";
- }
+ /**
+ * @return the list
+ */
+ public List<FloatingIp> getList() {
+ return list;
+ }
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "FloatingIps [list=" + list + "]";
+ }
- @Override
- public Iterator<FloatingIp> iterator() {
- return list.iterator();
- }
-
+ @Override
+ public Iterator<FloatingIp> iterator() {
+ return list.iterator();
+ }
+
}
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Host.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Host.java
index dd3c620..f193e2d 100644
--- a/nova-model/src/main/java/com/woorea/openstack/nova/model/Host.java
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Host.java
@@ -22,104 +22,104 @@ import java.util.List;
import org.codehaus.jackson.annotate.JsonProperty;
public class Host implements Serializable {
-
- public static final class ResourceWrapper implements Serializable {
-
- public static final class Resource implements Serializable {
-
- private String project;
-
- @JsonProperty("memory_mb")
- private Integer memoryMb;
-
- private String host;
-
- private Integer cpu;
-
- @JsonProperty("disk_gb")
- private Integer diskGb;
+
+ public static final class ResourceWrapper implements Serializable {
+
+ public static final class Resource implements Serializable {
+
+ private String project;
+
+ @JsonProperty("memory_mb")
+ private Integer memoryMb;
+
+ private String host;
+
+ private Integer cpu;
+
+ @JsonProperty("disk_gb")
+ private Integer diskGb;
- /**
- * @return the project
- */
- public String getProject() {
- return project;
- }
+ /**
+ * @return the project
+ */
+ public String getProject() {
+ return project;
+ }
- /**
- * @return the memoryMb
- */
- public Integer getMemoryMb() {
- return memoryMb;
- }
+ /**
+ * @return the memoryMb
+ */
+ public Integer getMemoryMb() {
+ return memoryMb;
+ }
- /**
- * @return the host
- */
- public String getHost() {
- return host;
- }
+ /**
+ * @return the host
+ */
+ public String getHost() {
+ return host;
+ }
- /**
- * @return the cpu
- */
- public Integer getCpu() {
- return cpu;
- }
+ /**
+ * @return the cpu
+ */
+ public Integer getCpu() {
+ return cpu;
+ }
- /**
- * @return the diskGb
- */
- public Integer getDiskGb() {
- return diskGb;
- }
+ /**
+ * @return the diskGb
+ */
+ public Integer getDiskGb() {
+ return diskGb;
+ }
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- @Override
- public String toString() {
- return "Resource [project=" + project + ", memoryMb="
- + memoryMb + ", host=" + host + ", cpu=" + cpu
- + ", diskGb=" + diskGb + "]";
- }
-
- }
-
- private Resource resource;
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "Resource [project=" + project + ", memoryMb="
+ + memoryMb + ", host=" + host + ", cpu=" + cpu
+ + ", diskGb=" + diskGb + "]";
+ }
+
+ }
+
+ private Resource resource;
- /**
- * @return the resource
- */
- public Resource getResource() {
- return resource;
- }
+ /**
+ * @return the resource
+ */
+ public Resource getResource() {
+ return resource;
+ }
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- @Override
- public String toString() {
- return "ResourceWrapper [resource=" + resource + "]";
- }
-
- }
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "ResourceWrapper [resource=" + resource + "]";
+ }
+
+ }
- private List<ResourceWrapper> host;
+ private List<ResourceWrapper> host;
- /**
- * @return the host
- */
- public List<ResourceWrapper> getHost() {
- return host;
- }
+ /**
+ * @return the host
+ */
+ public List<ResourceWrapper> getHost() {
+ return host;
+ }
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- @Override
- public String toString() {
- return "Host [host=" + host + "]";
- }
-
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "Host [host=" + host + "]";
+ }
+
}
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/HostAggregate.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/HostAggregate.java
index 8273688..4ba26e7 100644
--- a/nova-model/src/main/java/com/woorea/openstack/nova/model/HostAggregate.java
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/HostAggregate.java
@@ -25,102 +25,102 @@ import org.codehaus.jackson.map.annotate.JsonRootName;
@JsonRootName("aggregate")
public class HostAggregate implements Serializable {
-
- private String id;
+
+ private String id;
- private String name;
-
- @JsonProperty("availability_zone")
- private String availabilityZone;
-
- @JsonProperty("created_at")
- private String createdAt;
-
- @JsonProperty("updated_at")
- private String updatedAt;
-
- @JsonProperty("deleted_at")
- private String deletedAt;
-
- private Boolean deleted;
-
- private List<String> hosts;
-
- private Map<String, String> metadata;
+ private String name;
+
+ @JsonProperty("availability_zone")
+ private String availabilityZone;
+
+ @JsonProperty("created_at")
+ private String createdAt;
+
+ @JsonProperty("updated_at")
+ private String updatedAt;
+
+ @JsonProperty("deleted_at")
+ private String deletedAt;
+
+ private Boolean deleted;
+
+ private List<String> hosts;
+
+ private Map<String, String> metadata;
- /**
- * @return the id
- */
- public String getId() {
- return id;
- }
+ /**
+ * @return the id
+ */
+ public String getId() {
+ return id;
+ }
- /**
- * @return the name
- */
- public String getName() {
- return name;
- }
+ /**
+ * @return the name
+ */
+ public String getName() {
+ return name;
+ }
- /**
- * @return the availabilityZone
- */
- public String getAvailabilityZone() {
- return availabilityZone;
- }
+ /**
+ * @return the availabilityZone
+ */
+ public String getAvailabilityZone() {
+ return availabilityZone;
+ }
- /**
- * @return the createdAt
- */
- public String getCreatedAt() {
- return createdAt;
- }
+ /**
+ * @return the createdAt
+ */
+ public String getCreatedAt() {
+ return createdAt;
+ }
- /**
- * @return the updatedAt
- */
- public String getUpdatedAt() {
- return updatedAt;
- }
+ /**
+ * @return the updatedAt
+ */
+ public String getUpdatedAt() {
+ return updatedAt;
+ }
- /**
- * @return the deletedAt
- */
- public String getDeletedAt() {
- return deletedAt;
- }
+ /**
+ * @return the deletedAt
+ */
+ public String getDeletedAt() {
+ return deletedAt;
+ }
- /**
- * @return the deleted
- */
- public Boolean getDeleted() {
- return deleted;
- }
+ /**
+ * @return the deleted
+ */
+ public Boolean getDeleted() {
+ return deleted;
+ }
- /**
- * @return the hosts
- */
- public List<String> getHosts() {
- return hosts;
- }
+ /**
+ * @return the hosts
+ */
+ public List<String> getHosts() {
+ return hosts;
+ }
- /**
- * @return the metadata
- */
- public Map<String, String> getMetadata() {
- return metadata;
- }
+ /**
+ * @return the metadata
+ */
+ public Map<String, String> getMetadata() {
+ return metadata;
+ }
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- @Override
- public String toString() {
- return "HostAggregate [id=" + id + ", name=" + name
- + ", availabilityZone=" + availabilityZone + ", createdAt="
- + createdAt + ", updatedAt=" + updatedAt + ", deletedAt="
- + deletedAt + ", deleted=" + deleted + ", hosts=" + hosts
- + ", metadata=" + metadata + "]";
- }
-
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "HostAggregate [id=" + id + ", name=" + name
+ + ", availabilityZone=" + availabilityZone + ", createdAt="
+ + createdAt + ", updatedAt=" + updatedAt + ", deletedAt="
+ + deletedAt + ", deleted=" + deleted + ", hosts=" + hosts
+ + ", metadata=" + metadata + "]";
+ }
+
}
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/HostAggregates.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/HostAggregates.java
index 04355ff..56da094 100644
--- a/nova-model/src/main/java/com/woorea/openstack/nova/model/HostAggregates.java
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/HostAggregates.java
@@ -24,27 +24,27 @@ import org.codehaus.jackson.annotate.JsonProperty;
public class HostAggregates implements Iterable<HostAggregate>, Serializable {
- @JsonProperty("aggregates")
- private List<HostAggregate> list;
+ @JsonProperty("aggregates")
+ private List<HostAggregate> list;
- /**
- * @return the list
- */
- public List<HostAggregate> getList() {
- return list;
- }
-
- @Override
- public Iterator<HostAggregate> iterator() {
- return list.iterator();
- }
-
- /* (non-Javadoc)
- * @see java.lang.Object#toString()
- */
- @Override
- public String toString() {
- return "HostAggregates [list=" + list + "]";
- }
+ /**
+ * @return the list
+ */
+ public List<HostAggregate> getList() {
+ return list;
+ }
+
+ @Override
+ public Iterator<HostAggregate> iterator() {
+ return list.iterator();
+ }
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "HostAggregates [list=" + list + "]";
+ }
}