mirror of https://github.com/apache/cloudstack.git
Deleted global config parameter direct.network.no.default.route that is no longer in use.
This commit is contained in:
parent
217b87afb7
commit
af3373c4d6
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue