use of org.openkilda.testing.service.traffexam.model.AddressResponse in project open-kilda by telstra.
the class TraffExamServiceImpl method assignAddress.
private Address assignAddress(Host host, Address payload) {
AddressResponse response = restTemplate.postForObject(makeHostUri(host).path("address").build(), payload, AddressResponse.class);
Address address = response.address;
address.setHost(host);
suppliedAddresses.put(address.getId(), address);
return address;
}
Aggregations