summaryrefslogtreecommitdiffstats
path: root/quantum-model/src/main
diff options
context:
space:
mode:
authorSmokowski, Steve (ss835w) <ss835w@us.att.com>2019-05-02 09:42:55 -0400
committerSmokowski, Steve (ss835w) <ss835w@us.att.com>2019-05-02 12:15:48 -0400
commite153f0adfbed711ce1e215748594a4d04fd1edaf (patch)
tree15a1f4d7b8af126e2061633c1547881992cfbb6f /quantum-model/src/main
parentf9b78e1d7ca2b64badd8529aa4600250387ddae7 (diff)
Enhance Openstack Client
Update Openstack Client to support Cinder, and drop null query params Issue-ID: SO-1844 Change-Id: If58717656e0468ec0ce5d53055c381fe7d1c03f5 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
Diffstat (limited to 'quantum-model/src/main')
-rw-r--r--quantum-model/src/main/java/com/woorea/openstack/quantum/model/Network.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Network.java b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Network.java
index 95fb6a4..bec7dbf 100644
--- a/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Network.java
+++ b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Network.java
@@ -74,7 +74,7 @@ public class Network implements Serializable {
/**
* @return the status
*/
- @JsonIgnore
+
public String getStatus() {
return status;
}
@@ -91,7 +91,7 @@ public class Network implements Serializable {
/**
* @return the subnets
*/
- @JsonIgnore
+
public List<String> getSubnets() {
return subnets;
}
@@ -125,7 +125,7 @@ public class Network implements Serializable {
* @deprecated
*/
@Deprecated
- @JsonIgnore
+
public String getProviderPhyNet() {
return getProviderPhysicalNetwork();
}
@@ -136,7 +136,7 @@ public class Network implements Serializable {
* @deprecated
*/
@Deprecated
- @JsonIgnore
+
public void setProviderPhyNet(String providerPhyNet) {
setProviderPhysicalNetwork(providerPhyNet);
}
@@ -144,7 +144,7 @@ public class Network implements Serializable {
/**
* @return the adminStateUp
*/
- @JsonIgnore
+
public boolean isAdminStateUp() {
return adminStateUp;
}
@@ -181,7 +181,7 @@ public class Network implements Serializable {
* @deprecated
*/
@Deprecated
- @JsonIgnore
+
public String getNetType() {
return getProviderNetworkType();
}
@@ -192,7 +192,7 @@ public class Network implements Serializable {
* @deprecated
*/
@Deprecated
- @JsonIgnore
+
public void setNetType(String netType) {
setProviderNetworkType(netType);
}
@@ -215,7 +215,7 @@ public class Network implements Serializable {
/**
* @return the id
*/
- @JsonIgnore
+
public String getId() {
return id;
}
@@ -249,7 +249,7 @@ public class Network implements Serializable {
* @deprecated
*/
@Deprecated
- @JsonIgnore
+
public String getProviderSegID() {
return getProviderSegmentationId() == null ? null : Integer.toString(getProviderSegmentationId());
}
@@ -260,7 +260,7 @@ public class Network implements Serializable {
* @deprecated
*/
@Deprecated
- @JsonIgnore
+
public void setProviderSegID(String providerSegID) {
setProviderSegmentationId(providerSegID == null ? null : Integer.parseInt(providerSegID));
}
@@ -302,7 +302,7 @@ public class Network implements Serializable {
*/
public enum NetworkType { BASIC, PROVIDER, MULTI_PROVIDER };
- @JsonIgnore
+
public NetworkType getNetworkType () {
if (segments != null)
return NetworkType.MULTI_PROVIDER;