mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
api_refactor: usage apis to admin.usage pkg
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
0bbe82e8e1
commit
e07106db0b
@ -20,9 +20,9 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.cloudstack.api.admin.usage.command.ListTrafficTypeImplementorsCmd;
|
||||
import org.apache.cloudstack.api.user.network.command.CreateNetworkCmd;
|
||||
import org.apache.cloudstack.api.user.network.command.ListNetworksCmd;
|
||||
import com.cloud.api.commands.ListTrafficTypeImplementorsCmd;
|
||||
import org.apache.cloudstack.api.user.network.command.RestartNetworkCmd;
|
||||
import com.cloud.exception.ConcurrentOperationException;
|
||||
import com.cloud.exception.InsufficientAddressCapacityException;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
// KIND, either express or implied. See the License for the
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
package com.cloud.api.commands;
|
||||
package org.apache.cloudstack.api.admin.usage.command;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@ -14,7 +14,7 @@
|
||||
// KIND, either express or implied. See the License for the
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
package com.cloud.api.commands;
|
||||
package org.apache.cloudstack.api.admin.usage.command;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
@ -360,8 +360,8 @@ updateNetworkServiceProvider=org.apache.cloudstack.api.admin.network.command.Upd
|
||||
addTrafficType=org.apache.cloudstack.api.admin.usage.command.AddTrafficTypeCmd;1
|
||||
deleteTrafficType=org.apache.cloudstack.api.admin.usage.command.DeleteTrafficTypeCmd;1
|
||||
listTrafficTypes=org.apache.cloudstack.api.admin.usage.command.ListTrafficTypesCmd;1
|
||||
updateTrafficType=com.cloud.api.commands.UpdateTrafficTypeCmd;1
|
||||
listTrafficTypeImplementors=com.cloud.api.commands.ListTrafficTypeImplementorsCmd;1
|
||||
updateTrafficType=org.apache.cloudstack.api.admin.usage.command.UpdateTrafficTypeCmd;1
|
||||
listTrafficTypeImplementors=org.apache.cloudstack.api.admin.usage.command.ListTrafficTypeImplementorsCmd;1
|
||||
|
||||
#### Storage Network commands
|
||||
createStorageNetworkIpRange=org.apache.cloudstack.api.admin.network.command.CreateStorageNetworkIpRangeCmd;1
|
||||
|
||||
@ -40,6 +40,7 @@ import java.util.concurrent.TimeUnit;
|
||||
import javax.ejb.Local;
|
||||
import javax.naming.ConfigurationException;
|
||||
|
||||
import org.apache.cloudstack.api.admin.usage.command.ListTrafficTypeImplementorsCmd;
|
||||
import org.apache.cloudstack.api.user.network.command.CreateNetworkCmd;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
@ -58,7 +59,6 @@ import com.cloud.agent.api.StartupRoutingCommand;
|
||||
import com.cloud.agent.api.to.NicTO;
|
||||
import com.cloud.alert.AlertManager;
|
||||
import org.apache.cloudstack.api.user.network.command.ListNetworksCmd;
|
||||
import com.cloud.api.commands.ListTrafficTypeImplementorsCmd;
|
||||
import org.apache.cloudstack.api.user.network.command.RestartNetworkCmd;
|
||||
import com.cloud.configuration.Config;
|
||||
import com.cloud.configuration.ConfigurationManager;
|
||||
|
||||
@ -25,9 +25,9 @@ import javax.ejb.Local;
|
||||
import javax.naming.ConfigurationException;
|
||||
|
||||
import com.cloud.acl.ControlledEntity.ACLType;
|
||||
import org.apache.cloudstack.api.admin.usage.command.ListTrafficTypeImplementorsCmd;
|
||||
import org.apache.cloudstack.api.user.network.command.CreateNetworkCmd;
|
||||
import org.apache.cloudstack.api.user.network.command.ListNetworksCmd;
|
||||
import com.cloud.api.commands.ListTrafficTypeImplementorsCmd;
|
||||
import org.apache.cloudstack.api.user.network.command.RestartNetworkCmd;
|
||||
import com.cloud.dc.DataCenter;
|
||||
import com.cloud.dc.Vlan;
|
||||
|
||||
@ -25,12 +25,12 @@ import java.util.Set;
|
||||
import javax.ejb.Local;
|
||||
import javax.naming.ConfigurationException;
|
||||
|
||||
import org.apache.cloudstack.api.admin.usage.command.ListTrafficTypeImplementorsCmd;
|
||||
import org.apache.cloudstack.api.user.network.command.ListNetworksCmd;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
import com.cloud.acl.ControlledEntity.ACLType;
|
||||
import org.apache.cloudstack.api.user.network.command.CreateNetworkCmd;
|
||||
import com.cloud.api.commands.ListTrafficTypeImplementorsCmd;
|
||||
import org.apache.cloudstack.api.user.network.command.RestartNetworkCmd;
|
||||
import com.cloud.dc.DataCenter;
|
||||
import com.cloud.dc.Vlan;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user