diff --git a/server/src/com/cloud/api/commands/ListVlanIpRangesCmd.java b/server/src/com/cloud/api/commands/ListVlanIpRangesCmd.java index e0f51389c5e..bcc12489928 100644 --- a/server/src/com/cloud/api/commands/ListVlanIpRangesCmd.java +++ b/server/src/com/cloud/api/commands/ListVlanIpRangesCmd.java @@ -49,7 +49,7 @@ public class ListVlanIpRangesCmd extends BaseListCmd { @Parameter(name="domainid", type=CommandType.LONG, description="the domain ID with which the VLAN IP range is associated. If used with the account parameter, returns all VLAN IP ranges for that account in the specified domain.") private Long domainId; - @Parameter(name="id", type=CommandType.LONG, required=true, description="the ID of the VLAN IP range") + @Parameter(name="id", type=CommandType.LONG, required=false, description="the ID of the VLAN IP range") private Long id; @Parameter(name="podid", type=CommandType.LONG, description="the Pod ID of the VLAN IP range") diff --git a/server/src/com/cloud/configuration/ConfigurationManagerImpl.java b/server/src/com/cloud/configuration/ConfigurationManagerImpl.java index 3fbcbecfe6f..f43ee5cde45 100644 --- a/server/src/com/cloud/configuration/ConfigurationManagerImpl.java +++ b/server/src/com/cloud/configuration/ConfigurationManagerImpl.java @@ -447,7 +447,7 @@ public class ConfigurationManagerImpl implements ConfigurationManager { String endIp = cmd.getEndIp(); String gateway = cmd.getGateway(); Long id = cmd.getId(); - String name = cmd.getName(); + String name = cmd.getPodName(); Long userId = UserContext.current().getUserId(); if (userId == null) {