summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ceilometer-client/pom.xml2
-rw-r--r--ceilometer-model/pom.xml2
-rwxr-xr-xcinder-client/pom.xml2
-rwxr-xr-xcinder-model/pom.xml2
-rw-r--r--glance-client/pom.xml2
-rw-r--r--glance-model/pom.xml2
-rw-r--r--heat-client/pom.xml2
-rw-r--r--heat-model/pom.xml2
-rw-r--r--keystone-client/pom.xml2
-rw-r--r--keystone-model/pom.xml2
-rw-r--r--nova-client/pom.xml2
-rw-r--r--nova-client/src/main/java/com/woorea/openstack/nova/Nova.java8
-rw-r--r--nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java44
-rw-r--r--nova-model/pom.xml2
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/CpuInfo.java104
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/Hypervisor.java265
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/Hypervisors.java60
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/Service.java79
-rw-r--r--nova-model/src/main/java/com/woorea/openstack/nova/model/Topology.java79
-rw-r--r--openstack-client-connectors/http-connector/pom.xml2
-rw-r--r--openstack-client-connectors/pom.xml2
-rw-r--r--openstack-client/pom.xml2
-rw-r--r--pom.xml14
-rw-r--r--quantum-client/pom.xml2
-rw-r--r--quantum-model/pom.xml2
-rw-r--r--swift-client/pom.xml2
-rw-r--r--swift-model/pom.xml2
-rw-r--r--version.properties4
28 files changed, 671 insertions, 24 deletions
diff --git a/ceilometer-client/pom.xml b/ceilometer-client/pom.xml
index 2801d96..60913e7 100644
--- a/ceilometer-client/pom.xml
+++ b/ceilometer-client/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>ceilometer-client</artifactId>
diff --git a/ceilometer-model/pom.xml b/ceilometer-model/pom.xml
index a3e4139..e5e789c 100644
--- a/ceilometer-model/pom.xml
+++ b/ceilometer-model/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>ceilometer-model</artifactId>
diff --git a/cinder-client/pom.xml b/cinder-client/pom.xml
index 0971270..78db71c 100755
--- a/cinder-client/pom.xml
+++ b/cinder-client/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<artifactId>cinder-client</artifactId>
<name>OpenStack Cinder Client</name>
diff --git a/cinder-model/pom.xml b/cinder-model/pom.xml
index 6376fe2..0226517 100755
--- a/cinder-model/pom.xml
+++ b/cinder-model/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>cinder-model</artifactId>
diff --git a/glance-client/pom.xml b/glance-client/pom.xml
index aee714f..3c0c0d1 100644
--- a/glance-client/pom.xml
+++ b/glance-client/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>glance-client</artifactId>
diff --git a/glance-model/pom.xml b/glance-model/pom.xml
index fbe5428..8c6bd2f 100644
--- a/glance-model/pom.xml
+++ b/glance-model/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>glance-model</artifactId>
diff --git a/heat-client/pom.xml b/heat-client/pom.xml
index eab2a14..81ec2a5 100644
--- a/heat-client/pom.xml
+++ b/heat-client/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>heat-client</artifactId>
diff --git a/heat-model/pom.xml b/heat-model/pom.xml
index 3b43228..c3e24fa 100644
--- a/heat-model/pom.xml
+++ b/heat-model/pom.xml
@@ -16,7 +16,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>heat-model</artifactId>
diff --git a/keystone-client/pom.xml b/keystone-client/pom.xml
index 08b1f6e..fba890b 100644
--- a/keystone-client/pom.xml
+++ b/keystone-client/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>keystone-client</artifactId>
diff --git a/keystone-model/pom.xml b/keystone-model/pom.xml
index 5586c34..d483778 100644
--- a/keystone-model/pom.xml
+++ b/keystone-model/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>keystone-model</artifactId>
diff --git a/nova-client/pom.xml b/nova-client/pom.xml
index 3077d6c..6f00a10 100644
--- a/nova-client/pom.xml
+++ b/nova-client/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>nova-client</artifactId>
diff --git a/nova-client/src/main/java/com/woorea/openstack/nova/Nova.java b/nova-client/src/main/java/com/woorea/openstack/nova/Nova.java
index 0125179..908e1e9 100644
--- a/nova-client/src/main/java/com/woorea/openstack/nova/Nova.java
+++ b/nova-client/src/main/java/com/woorea/openstack/nova/Nova.java
@@ -27,6 +27,7 @@ import com.woorea.openstack.nova.api.ServersResource;
import com.woorea.openstack.nova.api.extensions.AggregatesExtension;
import com.woorea.openstack.nova.api.extensions.FloatingIpsExtension;
import com.woorea.openstack.nova.api.extensions.HostsExtension;
+import com.woorea.openstack.nova.api.extensions.HypervisorsExtension;
import com.woorea.openstack.nova.api.extensions.KeyPairsExtension;
import com.woorea.openstack.nova.api.extensions.SecurityGroupsExtension;
import com.woorea.openstack.nova.api.extensions.SnapshotsExtension;
@@ -58,6 +59,8 @@ public class Nova extends OpenStackClient {
private final HostsExtension hosts;
+ private final HypervisorsExtension hypervisor;
+
public Nova(String endpoint, OpenStackClientConnector connector) {
super(endpoint, connector);
extensions = new ExtensionsResource(this);
@@ -72,6 +75,7 @@ public class Nova extends OpenStackClient {
aggregates = new AggregatesExtension(this);
quotaSets = new QuotaSetsResource(this);
hosts = new HostsExtension(this);
+ hypervisor = new HypervisorsExtension(this);
}
public Nova(String endpoint) {
@@ -125,4 +129,8 @@ public class Nova extends OpenStackClient {
public HostsExtension hosts() {
return hosts;
}
+
+ public HypervisorsExtension hypervisors() {
+ return hypervisor;
+ }
}
diff --git a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java
index b092b0c..a785971 100644
--- a/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java
+++ b/nova-client/src/main/java/com/woorea/openstack/nova/api/extensions/HypervisorsExtension.java
@@ -16,6 +16,48 @@
package com.woorea.openstack.nova.api.extensions;
-public interface HypervisorsExtension {
+import com.woorea.openstack.base.client.HttpMethod;
+import com.woorea.openstack.base.client.OpenStackClient;
+import com.woorea.openstack.base.client.OpenStackRequest;
+import com.woorea.openstack.nova.model.Hypervisor;
+import com.woorea.openstack.nova.model.Hypervisors;
+public class HypervisorsExtension {
+
+ private final OpenStackClient client;
+
+ public HypervisorsExtension(OpenStackClient client) {
+ this.client = client;
+ }
+
+ public List list() {
+ return new List();
+ }
+
+ public ListDetail listDetail() {
+ return new ListDetail();
+ }
+
+ public Show show(String id) {
+ return new Show(id);
+ }
+
+ public class List extends OpenStackRequest<Hypervisors> {
+ public List() {
+ super(client, HttpMethod.GET, "/os-hypervisors", null, Hypervisors.class);
+ }
+ }
+
+ public class ListDetail extends OpenStackRequest<Hypervisors> {
+ public ListDetail() {
+ super(client, HttpMethod.GET, "/os-hypervisors/detail", null, Hypervisors.class);
+ }
+ }
+
+ public class Show extends OpenStackRequest<Hypervisor> {
+ public Show(String id) {
+ super(client, HttpMethod.GET, new StringBuffer("/hypervisors").append(id).toString(), null,
+ Hypervisor.class);
+ }
+ }
}
diff --git a/nova-model/pom.xml b/nova-model/pom.xml
index d78fde6..5bea0fe 100644
--- a/nova-model/pom.xml
+++ b/nova-model/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>nova-model</artifactId>
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/CpuInfo.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/CpuInfo.java
new file mode 100644
index 0000000..bf52fb7
--- /dev/null
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/CpuInfo.java
@@ -0,0 +1,104 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package com.woorea.openstack.nova.model;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class CpuInfo {
+
+ @JsonProperty("arch")
+ private String arch;
+ @JsonProperty("model")
+ private String model;
+ @JsonProperty("vendor")
+ private String vendor;
+ @JsonProperty("features")
+ private List<String> features = null;
+ @JsonProperty("topology")
+ private Topology topology;
+ @JsonIgnore
+ private Map<String, Object> additionalProperties = new HashMap<String, Object>();
+
+ @JsonProperty("arch")
+ public String getArch() {
+ return arch;
+ }
+
+ @JsonProperty("arch")
+ public void setArch(String arch) {
+ this.arch = arch;
+ }
+
+ @JsonProperty("model")
+ public String getModel() {
+ return model;
+ }
+
+ @JsonProperty("model")
+ public void setModel(String model) {
+ this.model = model;
+ }
+
+ @JsonProperty("vendor")
+ public String getVendor() {
+ return vendor;
+ }
+
+ @JsonProperty("vendor")
+ public void setVendor(String vendor) {
+ this.vendor = vendor;
+ }
+
+ @JsonProperty("features")
+ public List<String> getFeatures() {
+ return features;
+ }
+
+ @JsonProperty("features")
+ public void setFeatures(List<String> features) {
+ this.features = features;
+ }
+
+ @JsonProperty("topology")
+ public Topology getTopology() {
+ return topology;
+ }
+
+ @JsonProperty("topology")
+ public void setTopology(Topology topology) {
+ this.topology = topology;
+ }
+
+ @JsonAnyGetter
+ public Map<String, Object> getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+}
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Hypervisor.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Hypervisor.java
new file mode 100644
index 0000000..fb5d9d2
--- /dev/null
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Hypervisor.java
@@ -0,0 +1,265 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package com.woorea.openstack.nova.model;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class Hypervisor {
+
+ @JsonProperty("cpu_info")
+ private CpuInfo cpuInfo;
+ @JsonProperty("current_workload")
+ private Integer currentWorkload;
+ @JsonProperty("status")
+ private String status;
+ @JsonProperty("state")
+ private String state;
+ @JsonProperty("disk_available_least")
+ private Integer diskAvailableLeast;
+ @JsonProperty("host_ip")
+ private String hostIp;
+ @JsonProperty("free_disk_gb")
+ private Integer freeDiskGb;
+ @JsonProperty("free_ram_mb")
+ private Integer freeRamMb;
+ @JsonProperty("hypervisor_hostname")
+ private String hypervisorHostname;
+ @JsonProperty("hypervisor_type")
+ private String hypervisorType;
+ @JsonProperty("hypervisor_version")
+ private Integer hypervisorVersion;
+ @JsonProperty("id")
+ private Integer id;
+ @JsonProperty("local_gb")
+ private Integer localGb;
+ @JsonProperty("local_gb_used")
+ private Integer localGbUsed;
+ @JsonProperty("memory_mb")
+ private Integer memoryMb;
+ @JsonProperty("memory_mb_used")
+ private Integer memoryMbUsed;
+ @JsonProperty("running_vms")
+ private Integer runningVms;
+ @JsonProperty("service")
+ private Service service;
+ @JsonProperty("vcpus")
+ private Integer vcpus;
+ @JsonProperty("vcpus_used")
+ private Integer vcpusUsed;
+
+ @JsonProperty("cpu_info")
+ public CpuInfo getCpuInfo() {
+ return cpuInfo;
+ }
+
+ @JsonProperty("cpu_info")
+ public void setCpuInfo(CpuInfo cpuInfo) {
+ this.cpuInfo = cpuInfo;
+ }
+
+ @JsonProperty("current_workload")
+ public Integer getCurrentWorkload() {
+ return currentWorkload;
+ }
+
+ @JsonProperty("current_workload")
+ public void setCurrentWorkload(Integer currentWorkload) {
+ this.currentWorkload = currentWorkload;
+ }
+
+ @JsonProperty("status")
+ public String getStatus() {
+ return status;
+ }
+
+ @JsonProperty("status")
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ @JsonProperty("state")
+ public String getState() {
+ return state;
+ }
+
+ @JsonProperty("state")
+ public void setState(String state) {
+ this.state = state;
+ }
+
+ @JsonProperty("disk_available_least")
+ public Integer getDiskAvailableLeast() {
+ return diskAvailableLeast;
+ }
+
+ @JsonProperty("disk_available_least")
+ public void setDiskAvailableLeast(Integer diskAvailableLeast) {
+ this.diskAvailableLeast = diskAvailableLeast;
+ }
+
+ @JsonProperty("host_ip")
+ public String getHostIp() {
+ return hostIp;
+ }
+
+ @JsonProperty("host_ip")
+ public void setHostIp(String hostIp) {
+ this.hostIp = hostIp;
+ }
+
+ @JsonProperty("free_disk_gb")
+ public Integer getFreeDiskGb() {
+ return freeDiskGb;
+ }
+
+ @JsonProperty("free_disk_gb")
+ public void setFreeDiskGb(Integer freeDiskGb) {
+ this.freeDiskGb = freeDiskGb;
+ }
+
+ @JsonProperty("free_ram_mb")
+ public Integer getFreeRamMb() {
+ return freeRamMb;
+ }
+
+ @JsonProperty("free_ram_mb")
+ public void setFreeRamMb(Integer freeRamMb) {
+ this.freeRamMb = freeRamMb;
+ }
+
+ @JsonProperty("hypervisor_hostname")
+ public String getHypervisorHostname() {
+ return hypervisorHostname;
+ }
+
+ @JsonProperty("hypervisor_hostname")
+ public void setHypervisorHostname(String hypervisorHostname) {
+ this.hypervisorHostname = hypervisorHostname;
+ }
+
+ @JsonProperty("hypervisor_type")
+ public String getHypervisorType() {
+ return hypervisorType;
+ }
+
+ @JsonProperty("hypervisor_type")
+ public void setHypervisorType(String hypervisorType) {
+ this.hypervisorType = hypervisorType;
+ }
+
+ @JsonProperty("hypervisor_version")
+ public Integer getHypervisorVersion() {
+ return hypervisorVersion;
+ }
+
+ @JsonProperty("hypervisor_version")
+ public void setHypervisorVersion(Integer hypervisorVersion) {
+ this.hypervisorVersion = hypervisorVersion;
+ }
+
+ @JsonProperty("id")
+ public Integer getId() {
+ return id;
+ }
+
+ @JsonProperty("id")
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ @JsonProperty("local_gb")
+ public Integer getLocalGb() {
+ return localGb;
+ }
+
+ @JsonProperty("local_gb")
+ public void setLocalGb(Integer localGb) {
+ this.localGb = localGb;
+ }
+
+ @JsonProperty("local_gb_used")
+ public Integer getLocalGbUsed() {
+ return localGbUsed;
+ }
+
+ @JsonProperty("local_gb_used")
+ public void setLocalGbUsed(Integer localGbUsed) {
+ this.localGbUsed = localGbUsed;
+ }
+
+ @JsonProperty("memory_mb")
+ public Integer getMemoryMb() {
+ return memoryMb;
+ }
+
+ @JsonProperty("memory_mb")
+ public void setMemoryMb(Integer memoryMb) {
+ this.memoryMb = memoryMb;
+ }
+
+ @JsonProperty("memory_mb_used")
+ public Integer getMemoryMbUsed() {
+ return memoryMbUsed;
+ }
+
+ @JsonProperty("memory_mb_used")
+ public void setMemoryMbUsed(Integer memoryMbUsed) {
+ this.memoryMbUsed = memoryMbUsed;
+ }
+
+ @JsonProperty("running_vms")
+ public Integer getRunningVms() {
+ return runningVms;
+ }
+
+ @JsonProperty("running_vms")
+ public void setRunningVms(Integer runningVms) {
+ this.runningVms = runningVms;
+ }
+
+ @JsonProperty("service")
+ public Service getService() {
+ return service;
+ }
+
+ @JsonProperty("service")
+ public void setService(Service service) {
+ this.service = service;
+ }
+
+ @JsonProperty("vcpus")
+ public Integer getVcpus() {
+ return vcpus;
+ }
+
+ @JsonProperty("vcpus")
+ public void setVcpus(Integer vcpus) {
+ this.vcpus = vcpus;
+ }
+
+ @JsonProperty("vcpus_used")
+ public Integer getVcpusUsed() {
+ return vcpusUsed;
+ }
+
+ @JsonProperty("vcpus_used")
+ public void setVcpusUsed(Integer vcpusUsed) {
+ this.vcpusUsed = vcpusUsed;
+ }
+}
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Hypervisors.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Hypervisors.java
new file mode 100644
index 0000000..c75d871
--- /dev/null
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Hypervisors.java
@@ -0,0 +1,60 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package com.woorea.openstack.nova.model;
+
+import java.io.Serializable;
+import java.util.Iterator;
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+
+public class Hypervisors implements Iterable<Hypervisor>, Serializable {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 3609243147419561496L;
+
+ @JsonProperty("hypervisors")
+ private List<Hypervisor> list;
+
+ @JsonProperty("hypervisors_links")
+ private List<Link> links;
+
+ /**
+ * @return the list
+ */
+ public List<Hypervisor> getList() {
+ return list;
+ }
+
+ @Override
+ public Iterator<Hypervisor> iterator() {
+ return list.iterator();
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "Hypervisor [list=" + list + "]";
+ }
+
+}
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Service.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Service.java
new file mode 100644
index 0000000..f1aeb14
--- /dev/null
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Service.java
@@ -0,0 +1,79 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package com.woorea.openstack.nova.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class Service {
+
+ @JsonProperty("host")
+ private String host;
+ @JsonProperty("id")
+ private Integer id;
+ @JsonProperty("disabled_reason")
+ private Object disabledReason;
+ @JsonIgnore
+ private Map<String, Object> additionalProperties = new HashMap<String, Object>();
+
+ @JsonProperty("host")
+ public String getHost() {
+ return host;
+ }
+
+ @JsonProperty("host")
+ public void setHost(String host) {
+ this.host = host;
+ }
+
+ @JsonProperty("id")
+ public Integer getId() {
+ return id;
+ }
+
+ @JsonProperty("id")
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ @JsonProperty("disabled_reason")
+ public Object getDisabledReason() {
+ return disabledReason;
+ }
+
+ @JsonProperty("disabled_reason")
+ public void setDisabledReason(Object disabledReason) {
+ this.disabledReason = disabledReason;
+ }
+
+ @JsonAnyGetter
+ public Map<String, Object> getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+}
diff --git a/nova-model/src/main/java/com/woorea/openstack/nova/model/Topology.java b/nova-model/src/main/java/com/woorea/openstack/nova/model/Topology.java
new file mode 100644
index 0000000..c083357
--- /dev/null
+++ b/nova-model/src/main/java/com/woorea/openstack/nova/model/Topology.java
@@ -0,0 +1,79 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package com.woorea.openstack.nova.model;
+
+import java.util.HashMap;
+import java.util.Map;
+import com.fasterxml.jackson.annotation.JsonAnyGetter;
+import com.fasterxml.jackson.annotation.JsonAnySetter;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+@JsonInclude(JsonInclude.Include.NON_NULL)
+public class Topology {
+
+ @JsonProperty("cores")
+ private Integer cores;
+ @JsonProperty("threads")
+ private Integer threads;
+ @JsonProperty("sockets")
+ private Integer sockets;
+ @JsonIgnore
+ private Map<String, Object> additionalProperties = new HashMap<String, Object>();
+
+ @JsonProperty("cores")
+ public Integer getCores() {
+ return cores;
+ }
+
+ @JsonProperty("cores")
+ public void setCores(Integer cores) {
+ this.cores = cores;
+ }
+
+ @JsonProperty("threads")
+ public Integer getThreads() {
+ return threads;
+ }
+
+ @JsonProperty("threads")
+ public void setThreads(Integer threads) {
+ this.threads = threads;
+ }
+
+ @JsonProperty("sockets")
+ public Integer getSockets() {
+ return sockets;
+ }
+
+ @JsonProperty("sockets")
+ public void setSockets(Integer sockets) {
+ this.sockets = sockets;
+ }
+
+ @JsonAnyGetter
+ public Map<String, Object> getAdditionalProperties() {
+ return this.additionalProperties;
+ }
+
+ @JsonAnySetter
+ public void setAdditionalProperty(String name, Object value) {
+ this.additionalProperties.put(name, value);
+ }
+
+}
diff --git a/openstack-client-connectors/http-connector/pom.xml b/openstack-client-connectors/http-connector/pom.xml
index 86a4b6b..bc463c0 100644
--- a/openstack-client-connectors/http-connector/pom.xml
+++ b/openstack-client-connectors/http-connector/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>client-connectors</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk.client-connectors</groupId>
diff --git a/openstack-client-connectors/pom.xml b/openstack-client-connectors/pom.xml
index 76d4bd1..0fa02d9 100644
--- a/openstack-client-connectors/pom.xml
+++ b/openstack-client-connectors/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>client-connectors</artifactId>
diff --git a/openstack-client/pom.xml b/openstack-client/pom.xml
index e07191c..e0a82a5 100644
--- a/openstack-client/pom.xml
+++ b/openstack-client/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>openstack-client</artifactId>
diff --git a/pom.xml b/pom.xml
index 8ca6378..348ccea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,13 +6,13 @@
<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
- <version>2.0.0</version>
+ <version>3.0.0</version>
<relativePath />
</parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>so-libs</name>
<description>OpenStack Java SDK</description>
@@ -174,6 +174,16 @@
<artifactId>jackson-databind</artifactId>
<version>2.9.8</version>
</dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-core</artifactId>
+ <version>2.9.8</version>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-annotations</artifactId>
+ <version>2.9.8</version>
+ </dependency>
</dependencies>
<reporting>
<plugins>
diff --git a/quantum-client/pom.xml b/quantum-client/pom.xml
index 64ec666..b066e53 100644
--- a/quantum-client/pom.xml
+++ b/quantum-client/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>quantum-client</artifactId>
diff --git a/quantum-model/pom.xml b/quantum-model/pom.xml
index b232949..1b9ebac 100644
--- a/quantum-model/pom.xml
+++ b/quantum-model/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>quantum-model</artifactId>
diff --git a/swift-client/pom.xml b/swift-client/pom.xml
index 6f883fb..fb9cae5 100644
--- a/swift-client/pom.xml
+++ b/swift-client/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>swift-client</artifactId>
diff --git a/swift-model/pom.xml b/swift-model/pom.xml
index b4da372..3e4ac81 100644
--- a/swift-model/pom.xml
+++ b/swift-model/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.onap.so.libs</groupId>
<artifactId>openstack-java-sdk</artifactId>
- <version>1.5.0-SNAPSHOT</version>
+ <version>1.6.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.libs.openstack-java-sdk</groupId>
<artifactId>swift-model</artifactId>
diff --git a/version.properties b/version.properties
index 825dd23..871bd2e 100644
--- a/version.properties
+++ b/version.properties
@@ -4,8 +4,8 @@
# because they are used in Jenkins, whose plug-in doesn't support
major_version=1
-minor_version=5
-sprint_number=1
+minor_version=6
+sprint_number=0
base_version=${major_version}.${minor_version}.${sprint_number}