|
1 | | -// Licensed to the Apache Software Foundation (ASF) under one |
2 | | -// or more contributor license agreements. See the NOTICE file |
3 | | -// distributed with this work for additional information |
4 | | -// regarding copyright ownership. The ASF licenses this file |
5 | | -// to you under the Apache License, Version 2.0 (the |
6 | | -// "License"); you may not use this file except in compliance |
7 | | -// with the License. You may obtain a copy of the License at |
8 | | -// |
9 | | -// http://www.apache.org/licenses/LICENSE-2.0 |
10 | | -// |
11 | | -// Unless required by applicable law or agreed to in writing, |
12 | | -// software distributed under the License is distributed on an |
13 | | -// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | -// KIND, either express or implied. See the License for the |
15 | | -// specific language governing permissions and limitations |
16 | | -// under the License. |
| 1 | +/* |
| 2 | + * Licensed to the Apache Software Foundation (ASF) under one |
| 3 | + * or more contributor license agreements. See the NOTICE file |
| 4 | + * distributed with this work for additional information |
| 5 | + * regarding copyright ownership. The ASF licenses this file |
| 6 | + * to you under the Apache License, Version 2.0 (the |
| 7 | + * "License"); you may not use this file except in compliance |
| 8 | + * with the License. You may obtain a copy of the License at |
| 9 | + * |
| 10 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + * |
| 12 | + * Unless required by applicable law or agreed to in writing, |
| 13 | + * software distributed under the License is distributed on an |
| 14 | + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | + * KIND, either express or implied. See the License for the |
| 16 | + * specific language governing permissions and limitations |
| 17 | + * under the License. |
| 18 | + */ |
17 | 19 | package org.apache.cloudstack.api.command.admin.network; |
18 | 20 |
|
19 | 21 | import com.cloud.exception.ResourceAllocationException; |
20 | 22 | import com.cloud.exception.ResourceUnavailableException; |
21 | 23 | import com.cloud.network.GuestVlan; |
22 | 24 | import com.cloud.user.Account; |
23 | | -import org.apache.cloudstack.api.*; |
24 | | -import org.apache.cloudstack.api.response.*; |
| 25 | +import org.apache.cloudstack.api.APICommand; |
| 26 | +import org.apache.cloudstack.api.ApiConstants; |
| 27 | +import org.apache.cloudstack.api.ApiErrorCode; |
| 28 | +import org.apache.cloudstack.api.BaseCmd; |
| 29 | +import org.apache.cloudstack.api.Parameter; |
| 30 | +import org.apache.cloudstack.api.ServerApiException; |
| 31 | +import org.apache.cloudstack.api.response.DomainResponse; |
| 32 | +import org.apache.cloudstack.api.response.GuestVlanRangeResponse; |
| 33 | +import org.apache.cloudstack.api.response.PhysicalNetworkResponse; |
| 34 | +import org.apache.cloudstack.api.response.ProjectResponse; |
25 | 35 | import org.apache.log4j.Logger; |
26 | 36 |
|
27 | 37 | @APICommand(name = "dedicateGuestVlanRange", description="Dedicates a guest vlan range to an account", responseObject=GuestVlanRangeResponse.class) |
|
0 commit comments