Deleted global config parameter direct.network.no.default.route that is no longer in use.

This commit is contained in:
alena 2011-01-20 11:41:31 -08:00
parent 217b87afb7
commit af3373c4d6
2 changed files with 1 additions and 2 deletions

View File

@ -59,7 +59,6 @@ public enum Config {
MulticastThrottlingRate("Network", ManagementServer.class, Integer.class, "multicast.throttling.rate", "10", "Default multicast rate in megabits per second allowed.", null),
NetworkThrottlingRate("Network", ManagementServer.class, Integer.class, "network.throttling.rate", "200", "Default data transfer rate in megabits per second allowed.", null),
GuestDomainSuffix("Network", AgentManager.class, String.class, "guest.domain.suffix", "cloud.internal", "Default domain name for vms inside virtualized networks fronted by router", null),
DirectNetworkNoDefaultRoute("Network", ManagementServer.class, Boolean.class, "direct.network.no.default.route", "false", "Direct Network Dhcp Server should not send a default route", "true/false"),
OvsNetwork("Network", ManagementServer.class, Boolean.class, "open.vswitch.network", "false", "enable/disable open vswitch network", null),
//VPN

View File

@ -1508,7 +1508,7 @@ public class AccountManagerImpl implements AccountManager, AccountService, Manag
return caller;
}
} else {
if (accountName == null || domainId == null) {
if ((accountName == null && domainId != null) || (accountName != null && domainId == null)) {
throw new InvalidParameterValueException("AccountName and domainId must be specified together");
}
//regular user can't create/list resources for other people