Added missing guest type to the network response

This commit is contained in:
alena 2011-11-04 18:02:37 -07:00
parent 2ef551874a
commit 6dcc1691a1
1 changed files with 2 additions and 0 deletions

View File

@ -2156,6 +2156,8 @@ public class ApiResponseHelper implements ResponseGenerator {
if (network.getTrafficType() != null) {
response.setTrafficType(network.getTrafficType().name());
}
response.setGuestIpType(network.getGuestType().toString());
// get start ip and end ip of corresponding vlan
List<? extends Vlan> vlan = ApiDBUtils.listVlanByNetworkId(network.getId());