* 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;
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;
}
Assert.assertNotNull(vnicType);
binding.setVnicType(vnicType);
- Map<String,String> vifDetails = binding.getVifDetails();
+ Map<String,Object> vifDetails = binding.getVifDetails();
Assert.assertNotNull(vifDetails);
Assert.assertEquals(2, vifDetails.size());
binding.setVifDetails(vifDetails);
- Map<String,String> profile = binding.getProfile();
+ Map<String,Object> profile = binding.getProfile();
Assert.assertNotNull(profile);
Assert.assertEquals(2, profile.size());
binding.setProfile(profile);