req.hypervisorIpAddress = hypervisorIpAddress;
} else {
req.attachmentType = "NoAttachment";
}
HttpPut method = new HttpPut();
<BUG>method.setEntity(new StringEntity(new Gson().toJson(req), ContentType.APPLICATION_JSON));
HttpResponse res = executeMethod(method, "/ssp.v1/tenant-ports/" + portUuid);

if (res == null || res.getStatusLine().getStatusCode() != HttpStatus.SC_OK) {
return null;
}
try {
return new Gson().fromJson(new InputStreamReader(res.getEntity().getContent(), "UTF-8"),</BUG>
TenantPort.class);

req.hypervisorIpAddress = hypervisorIpAddress;
} else {
req.attachmentType = "NoAttachment";
