summaryrefslogtreecommitdiffstats
path: root/quantum-model/src/main
diff options
context:
space:
mode:
authorSmokowski, Steve (ss835w) <ss835w@us.att.com>2019-03-28 18:47:43 -0400
committerSmokowski, Steve (ss835w) <ss835w@us.att.com>2019-03-28 18:47:43 -0400
commit05c2d103b96f463f1da9e12ea9301dce67b75dce (patch)
tree6be8dfba861ec6e3d8b9aeb4d0c365e7e50d4575 /quantum-model/src/main
parent4d31ac194f70065e7905a70b7c781125085169a4 (diff)
Fix Neutron Model
Fix Neutron model, it should use object not string Issue-ID: SO-1713 Change-Id: Ie40cef4fcd7aade05a18c4dffe077342f8236cc0 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/Port.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Port.java b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Port.java
index 9f32f29..5efe995 100644
--- a/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Port.java
+++ b/quantum-model/src/main/java/com/woorea/openstack/quantum/model/Port.java
@@ -100,14 +100,14 @@ public class Port implements Serializable {
* A map containing additional information needed by the interface driver
*/
@JsonProperty("binding:vif_details")
- private Map<String, String> vifDetails;
+ private Map<String, Object> vifDetails;
/**
* A map to enable applications running on the specific host to pass and receive vif port specific information
* to the plugin.
*/
@JsonProperty("binding:profile")
- private Map<String, String> profile;
+ private Map<String, Object> profile;
public String getHostId() {
return hostId;
@@ -133,19 +133,19 @@ public class Port implements Serializable {
this.vnicType = vnicType;
}
- public Map<String, String> getVifDetails() {
+ public Map<String, Object> getVifDetails() {
return vifDetails;
}
- public void setVifDetails(Map<String, String> vifDetails) {
+ public void setVifDetails(Map<String, Object> vifDetails) {
this.vifDetails = vifDetails;
}
- public Map<String, String> getProfile() {
+ public Map<String, Object> getProfile() {
return profile;
}
- public void setProfile(Map<String, String> profile) {
+ public void setProfile(Map<String, Object> profile) {
this.profile = profile;
}