api_refactor: usage apis to admin.usage pkg

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
Rohit Yadav 2012-12-05 14:31:31 -08:00
parent 0bbe82e8e1
commit e07106db0b
7 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

@ -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;