diff --git a/.gitignore b/.gitignore
index f50f2e3c9e6..d6f5d1c8feb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -86,3 +86,4 @@ engine/storage/integration-test/test-output
tools/apidoc/log/
log/
plugins/network-elements/juniper-contrail/logs/
+scripts/vm/hypervisor/xenserver/vhd-util
diff --git a/LICENSE.header b/LICENSE.header
new file mode 100644
index 00000000000..60b675e3101
--- /dev/null
+++ b/LICENSE.header
@@ -0,0 +1,16 @@
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
diff --git a/agent/conf/agent.properties b/agent/conf/agent.properties
index 5f5f3682afd..a7376b68947 100644
--- a/agent/conf/agent.properties
+++ b/agent/conf/agent.properties
@@ -114,3 +114,7 @@ domr.scripts.dir=scripts/network/domr/kvm
# for examples:"Conroe" "Penryn", "Nehalem", "Westmere", "pentiumpro" and so
# on,run virsh capabilities for more details.
# guest.cpu.model=
+#
+# vm.memballoon.disable=true
+# Disable memory ballooning on vm guests for overcommit, by default overcommit
+# feature enables balloon and sets currentMemory to a minimum value.
diff --git a/agent/pom.xml b/agent/pom.xml
index 4e5caae80df..2036ae0ca39 100644
--- a/agent/pom.xml
+++ b/agent/pom.xml
@@ -115,38 +115,5 @@
-
-
-
-
- org.eclipse.m2e
- lifecycle-mapping
- 1.0.0
-
-
-
-
-
-
- org.apache.maven.plugins
-
-
- maven-antrun-plugin
-
- [1.7,)
-
- run
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/agent/src/com/cloud/agent/AgentShell.java b/agent/src/com/cloud/agent/AgentShell.java
index 87004f9a1e4..210a8600fad 100644
--- a/agent/src/com/cloud/agent/AgentShell.java
+++ b/agent/src/com/cloud/agent/AgentShell.java
@@ -304,7 +304,7 @@ public class AgentShell implements IAgentShell, Daemon {
// For KVM agent, do it specially here
File file = new File("/etc/cloudstack/agent/log4j-cloud.xml");
- if(!file.exists()) {
+ if (!file.exists()) {
file = PropertiesUtil.findConfigFile("log4j-cloud.xml");
}
diff --git a/agent/src/com/cloud/agent/resource/DummyResource.java b/agent/src/com/cloud/agent/resource/DummyResource.java
index 816f6ede569..73f8ef1a1e9 100755
--- a/agent/src/com/cloud/agent/resource/DummyResource.java
+++ b/agent/src/com/cloud/agent/resource/DummyResource.java
@@ -180,8 +180,8 @@ public class DummyResource implements ServerResource {
return true;
}
- public void setParams(Map _params) {
- this._params = _params;
+ public void setParams(Map params) {
+ this._params = params;
}
@Override
diff --git a/scripts/network/domr/createipAlias.sh b/api/resources/META-INF/cloudstack/api-config/module.properties
old mode 100755
new mode 100644
similarity index 74%
rename from scripts/network/domr/createipAlias.sh
rename to api/resources/META-INF/cloudstack/api-config/module.properties
index c35658e6679..3b2a85d2743
--- a/scripts/network/domr/createipAlias.sh
+++ b/api/resources/META-INF/cloudstack/api-config/module.properties
@@ -1,4 +1,3 @@
-#!/usr/bin/env bash
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
@@ -15,12 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-
-
-usage() {
- printf " %s routerip \n" $(basename $0) >&2
-}
-
-set -x
-cert="/root/.ssh/id_rsa.cloud"
-ssh -p 3922 -q -o StrictHostKeyChecking=no -i $cert root@$1 "/root/createIpAlias.sh $2"
+name=api-config
+parent=core
diff --git a/api/resources/META-INF/cloudstack/api-config/spring-api-config-context.xml b/api/resources/META-INF/cloudstack/api-config/spring-api-config-context.xml
new file mode 100644
index 00000000000..2cd12663072
--- /dev/null
+++ b/api/resources/META-INF/cloudstack/api-config/spring-api-config-context.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
diff --git a/api/src/com/cloud/agent/api/to/IpAddressTO.java b/api/src/com/cloud/agent/api/to/IpAddressTO.java
index 5f31313eba9..1169820e19a 100644
--- a/api/src/com/cloud/agent/api/to/IpAddressTO.java
+++ b/api/src/com/cloud/agent/api/to/IpAddressTO.java
@@ -33,6 +33,8 @@ public class IpAddressTO {
private Integer networkRate;
private TrafficType trafficType;
private String networkName;
+ private Integer nicDevId;
+ private boolean newNic;
public IpAddressTO(long accountId, String ipAddress, boolean add, boolean firstIP, boolean sourceNat, String broadcastUri, String vlanGateway, String vlanNetmask,
String vifMacAddress, Integer networkRate, boolean isOneToOneNat) {
@@ -116,4 +118,19 @@ public class IpAddressTO {
return networkRate;
}
+ public Integer getNicDevId() {
+ return nicDevId;
+ }
+
+ public void setNicDevId(Integer nicDevId) {
+ this.nicDevId = nicDevId;
+ }
+
+ public boolean isNewNic() {
+ return newNic;
+ }
+
+ public void setNewNic(boolean newNic) {
+ this.newNic = newNic;
+ }
}
diff --git a/api/src/com/cloud/agent/api/to/NfsTO.java b/api/src/com/cloud/agent/api/to/NfsTO.java
index ee6c3e3566d..1c9ee38e017 100644
--- a/api/src/com/cloud/agent/api/to/NfsTO.java
+++ b/api/src/com/cloud/agent/api/to/NfsTO.java
@@ -44,8 +44,8 @@ public class NfsTO implements DataStoreTO {
return _url;
}
- public void setUrl(String _url) {
- this._url = _url;
+ public void setUrl(String url) {
+ this._url = url;
}
@Override
@@ -53,8 +53,8 @@ public class NfsTO implements DataStoreTO {
return _role;
}
- public void setRole(DataStoreRole _role) {
- this._role = _role;
+ public void setRole(DataStoreRole role) {
+ this._role = role;
}
@Override
diff --git a/api/src/com/cloud/agent/api/to/VolumeTO.java b/api/src/com/cloud/agent/api/to/VolumeTO.java
index eb1d9181cdf..2ad5e0b26f7 100644
--- a/api/src/com/cloud/agent/api/to/VolumeTO.java
+++ b/api/src/com/cloud/agent/api/to/VolumeTO.java
@@ -129,15 +129,15 @@ public class VolumeTO implements InternalIdentity {
public String getChainInfo() {
return chainInfo;
}
-
+
public void setChainInfo(String chainInfo) {
- this.chainInfo = chainInfo;
+ this.chainInfo = chainInfo;
}
public String getOsType() {
return guestOsType;
}
-
+
public void setPath(String path) {
this.path = path;
}
diff --git a/api/src/com/cloud/alert/Alert.java b/api/src/com/cloud/alert/Alert.java
index 6555b6fded1..f77442068d6 100644
--- a/api/src/com/cloud/alert/Alert.java
+++ b/api/src/com/cloud/alert/Alert.java
@@ -39,5 +39,6 @@ public interface Alert extends Identity, InternalIdentity {
Date getResolved();
boolean getArchived();
+
String getName();
}
diff --git a/api/src/com/cloud/deploy/DeployDestination.java b/api/src/com/cloud/deploy/DeployDestination.java
index 05625d60b0f..4ded5ebe7a1 100644
--- a/api/src/com/cloud/deploy/DeployDestination.java
+++ b/api/src/com/cloud/deploy/DeployDestination.java
@@ -16,6 +16,7 @@
// under the License.
package com.cloud.deploy;
+import java.io.Serializable;
import java.util.Map;
import com.cloud.dc.DataCenter;
@@ -26,7 +27,9 @@ import com.cloud.storage.StoragePool;
import com.cloud.storage.Volume;
import com.cloud.utils.NumbersUtil;
-public class DeployDestination {
+public class DeployDestination implements Serializable {
+ private static final long serialVersionUID = 7113840781939014695L;
+
DataCenter _dc;
Pod _pod;
Cluster _cluster;
@@ -76,28 +79,28 @@ public class DeployDestination {
@Override
public boolean equals(Object obj) {
DeployDestination that = (DeployDestination)obj;
- if (this._dc == null || that._dc == null) {
+ if (_dc == null || that._dc == null) {
return false;
}
- if (this._dc.getId() != that._dc.getId()) {
+ if (_dc.getId() != that._dc.getId()) {
return false;
}
- if (this._pod == null || that._pod == null) {
+ if (_pod == null || that._pod == null) {
return false;
}
- if (this._pod.getId() != that._pod.getId()) {
+ if (_pod.getId() != that._pod.getId()) {
return false;
}
- if (this._cluster == null || that._cluster == null) {
+ if (_cluster == null || that._cluster == null) {
return false;
}
- if (this._cluster.getId() != that._cluster.getId()) {
+ if (_cluster.getId() != that._cluster.getId()) {
return false;
}
- if (this._host == null || that._host == null) {
+ if (_host == null || that._host == null) {
return false;
}
- return this._host.getId() == that._host.getId();
+ return _host.getId() == that._host.getId();
}
@Override
diff --git a/api/src/com/cloud/deploy/DeploymentPlanner.java b/api/src/com/cloud/deploy/DeploymentPlanner.java
index 6916a5bc350..eb62cb178bb 100644
--- a/api/src/com/cloud/deploy/DeploymentPlanner.java
+++ b/api/src/com/cloud/deploy/DeploymentPlanner.java
@@ -16,6 +16,7 @@
// under the License.
package com.cloud.deploy;
+import java.io.Serializable;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
@@ -89,7 +90,9 @@ public interface DeploymentPlanner extends Adapter {
Shared, Dedicated;
}
- public static class ExcludeList {
+ public static class ExcludeList implements Serializable {
+ private static final long serialVersionUID = -482175549460148301L;
+
private Set _dcIds;
private Set _podIds;
private Set _clusterIds;
@@ -99,22 +102,22 @@ public interface DeploymentPlanner extends Adapter {
public ExcludeList() {
}
- public ExcludeList(Set _dcIds, Set _podIds, Set _clusterIds, Set _hostIds, Set _poolIds) {
- if (_dcIds != null) {
- this._dcIds = new HashSet(_dcIds);
+ public ExcludeList(Set dcIds, Set podIds, Set clusterIds, Set hostIds, Set poolIds) {
+ if (dcIds != null) {
+ this._dcIds = new HashSet(dcIds);
}
- if (_podIds != null) {
- this._podIds = new HashSet(_podIds);
+ if (podIds != null) {
+ this._podIds = new HashSet(podIds);
}
- if (_clusterIds != null) {
- this._clusterIds = new HashSet(_clusterIds);
+ if (clusterIds != null) {
+ this._clusterIds = new HashSet(clusterIds);
}
- if (_hostIds != null) {
- this._hostIds = new HashSet(_hostIds);
+ if (hostIds != null) {
+ this._hostIds = new HashSet(hostIds);
}
- if (_poolIds != null) {
- this._poolIds = new HashSet(_poolIds);
+ if (poolIds != null) {
+ this._poolIds = new HashSet(poolIds);
}
}
@@ -173,6 +176,12 @@ public interface DeploymentPlanner extends Adapter {
_poolIds.add(poolId);
}
+ public void removePool(long poolId) {
+ if (_poolIds != null) {
+ _poolIds.remove(poolId);
+ }
+ }
+
public void addDataCenter(long dataCenterId) {
if (_dcIds == null) {
_dcIds = new HashSet();
diff --git a/api/src/com/cloud/deploy/HAPlanner.java b/api/src/com/cloud/deploy/HAPlanner.java
new file mode 100644
index 00000000000..aeb5083c522
--- /dev/null
+++ b/api/src/com/cloud/deploy/HAPlanner.java
@@ -0,0 +1,21 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package com.cloud.deploy;
+
+
+public interface HAPlanner extends DeploymentPlanner {
+}
\ No newline at end of file
diff --git a/api/src/com/cloud/event/EventTypes.java b/api/src/com/cloud/event/EventTypes.java
index d3c29e93028..e88f0104ea7 100755
--- a/api/src/com/cloud/event/EventTypes.java
+++ b/api/src/com/cloud/event/EventTypes.java
@@ -455,7 +455,11 @@ public class EventTypes {
//Alert generation
public static final String ALERT_GENERATE = "ALERT.GENERATE";
-
+ // OpenDaylight
+ public static final String EVENT_EXTERNAL_OPENDAYLIGHT_ADD_CONTROLLER = "PHYSICAL.ODLCONTROLLER.ADD";
+ public static final String EVENT_EXTERNAL_OPENDAYLIGHT_DELETE_CONTROLLER = "PHYSICAL.ODLCONTROLLER.DELETE";
+ public static final String EVENT_EXTERNAL_OPENDAYLIGHT_CONFIGURE_CONTROLLER = "PHYSICAL.ODLCONTROLLER.CONFIGURE";
+
static {
// TODO: need a way to force author adding event types to declare the entity details as well, with out braking
@@ -761,6 +765,11 @@ public class EventTypes {
entityEventDetails.put(EVENT_AUTOSCALEVMGROUP_DISABLE, AutoScaleVmGroup.class.getName());
entityEventDetails.put(EVENT_GUEST_VLAN_RANGE_DEDICATE, GuestVlan.class.getName());
entityEventDetails.put(EVENT_DEDICATED_GUEST_VLAN_RANGE_RELEASE, GuestVlan.class.getName());
+
+ // OpenDaylight
+ entityEventDetails.put(EVENT_EXTERNAL_OPENDAYLIGHT_ADD_CONTROLLER, "OpenDaylightController");
+ entityEventDetails.put(EVENT_EXTERNAL_OPENDAYLIGHT_DELETE_CONTROLLER, "OpenDaylightController");
+ entityEventDetails.put(EVENT_EXTERNAL_OPENDAYLIGHT_CONFIGURE_CONTROLLER, "OpenDaylightController");
}
public static String getEntityForEvent(String eventName) {
diff --git a/api/src/com/cloud/exception/CloudException.java b/api/src/com/cloud/exception/CloudException.java
index f898719028b..f35249b0732 100644
--- a/api/src/com/cloud/exception/CloudException.java
+++ b/api/src/com/cloud/exception/CloudException.java
@@ -27,6 +27,7 @@ import com.cloud.utils.exception.CSExceptionErrorCode;
*/
public class CloudException extends Exception {
+ private static final long serialVersionUID = 8784427323859682503L;
// This holds a list of uuids and their names. Add uuid:fieldname pairs
protected ArrayList idList = new ArrayList();
@@ -58,10 +59,10 @@ public class CloudException extends Exception {
}
public void setCSErrorCode(int cserrcode) {
- this.csErrorCode = cserrcode;
+ csErrorCode = cserrcode;
}
public int getCSErrorCode() {
- return this.csErrorCode;
+ return csErrorCode;
}
}
diff --git a/api/src/com/cloud/exception/OperationTimedoutException.java b/api/src/com/cloud/exception/OperationTimedoutException.java
index d531c326c37..fe27408eb4e 100644
--- a/api/src/com/cloud/exception/OperationTimedoutException.java
+++ b/api/src/com/cloud/exception/OperationTimedoutException.java
@@ -28,7 +28,15 @@ public class OperationTimedoutException extends CloudException {
long _agentId;
long _seqId;
int _time;
- Command[] _cmds;
+
+ // TODO
+ // I did a reference search on usage of getCommands() and found none
+ //
+ // to prevent serialization problems across boundaries, I'm disabling serialization of _cmds here
+ // getCommands() will still be available within the same serialization boundary, but it will be lost
+ // when exception is propagated across job boundaries.
+ //
+ transient Command[] _cmds;
boolean _isActive;
public OperationTimedoutException(Command[] cmds, long agentId, long seqId, int time, boolean isActive) {
diff --git a/api/src/com/cloud/host/Host.java b/api/src/com/cloud/host/Host.java
index 9d811255e14..689ed12b64e 100755
--- a/api/src/com/cloud/host/Host.java
+++ b/api/src/com/cloud/host/Host.java
@@ -78,6 +78,11 @@ public interface Host extends StateObject, Identity, InternalIdentity {
*/
String getPrivateIpAddress();
+ /**
+ * @return the ip address of the host.
+ */
+ String getStorageUrl();
+
/**
* @return the ip address of the host attached to the storage network.
*/
diff --git a/api/src/com/cloud/hypervisor/HypervisorGuru.java b/api/src/com/cloud/hypervisor/HypervisorGuru.java
index 03493726176..4a35cecb887 100644
--- a/api/src/com/cloud/hypervisor/HypervisorGuru.java
+++ b/api/src/com/cloud/hypervisor/HypervisorGuru.java
@@ -75,4 +75,6 @@ public interface HypervisorGuru extends Adapter {
*
*/
List finalizeExpungeNics(VirtualMachine vm, List nics);
+
+ List finalizeExpungeVolumes(VirtualMachine vm);
}
diff --git a/api/src/com/cloud/network/Network.java b/api/src/com/cloud/network/Network.java
index d19c999f16e..62151a4f0c0 100644
--- a/api/src/com/cloud/network/Network.java
+++ b/api/src/com/cloud/network/Network.java
@@ -16,6 +16,7 @@
// under the License.
package com.cloud.network;
+import java.io.Serializable;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
@@ -33,7 +34,7 @@ import com.cloud.utils.fsm.StateObject;
/**
* owned by an account.
*/
-public interface Network extends ControlledEntity, StateObject, InternalIdentity, Identity {
+public interface Network extends ControlledEntity, StateObject, InternalIdentity, Identity, Serializable {
public enum GuestType {
Shared, Isolated
@@ -47,9 +48,9 @@ public interface Network extends ControlledEntity, StateObject, I
public static final Service Dns = new Service("Dns", Capability.AllowDnsSuffixModification);
public static final Service Gateway = new Service("Gateway");
public static final Service Firewall = new Service("Firewall", Capability.SupportedProtocols, Capability.MultipleIps, Capability.TrafficStatistics,
- Capability.SupportedTrafficDirection, Capability.SupportedEgressProtocols);
+ Capability.SupportedTrafficDirection, Capability.SupportedEgressProtocols);
public static final Service Lb = new Service("Lb", Capability.SupportedLBAlgorithms, Capability.SupportedLBIsolation, Capability.SupportedProtocols,
- Capability.TrafficStatistics, Capability.LoadBalancingSupportedIps, Capability.SupportedStickinessMethods, Capability.ElasticLb, Capability.LbSchemes);
+ Capability.TrafficStatistics, Capability.LoadBalancingSupportedIps, Capability.SupportedStickinessMethods, Capability.ElasticLb, Capability.LbSchemes);
public static final Service UserData = new Service("UserData");
public static final Service SourceNat = new Service("SourceNat", Capability.SupportedSourceNatTypes, Capability.RedundantRouter);
public static final Service StaticNat = new Service("StaticNat", Capability.ElasticIp);
@@ -111,7 +112,7 @@ public interface Network extends ControlledEntity, StateObject, I
private static List supportedProviders = new ArrayList();
public static final Provider VirtualRouter = new Provider("VirtualRouter", false);
- public static final Provider JuniperContrail = new Provider("JuniperContrail", false);
+ public static final Provider JuniperContrailRouter = new Provider("JuniperContrailRouter", false);
public static final Provider JuniperSRX = new Provider("JuniperSRX", true);
public static final Provider PaloAlto = new Provider("PaloAlto", true);
public static final Provider F5BigIp = new Provider("F5BigIp", true);
@@ -128,6 +129,7 @@ public interface Network extends ControlledEntity, StateObject, I
public static final Provider CiscoVnmc = new Provider("CiscoVnmc", true);
// add new Ovs provider
public static final Provider Ovs = new Provider("Ovs", false);
+ public static final Provider Opendaylight = new Provider("Opendaylight", false);
private final String name;
private final boolean isExternal;
@@ -213,7 +215,7 @@ public interface Network extends ControlledEntity, StateObject, I
Allocated("Indicates the network configuration is in allocated but not setup"), Setup("Indicates the network configuration is setup"), Implementing(
"Indicates the network configuration is being implemented"), Implemented("Indicates the network configuration is in use"), Shutdown(
- "Indicates the network configuration is being destroyed"), Destroy("Indicates that the network is destroyed");
+ "Indicates the network configuration is being destroyed"), Destroy("Indicates that the network is destroyed");
protected static final StateMachine2 s_fsm = new StateMachine2();
@@ -223,7 +225,7 @@ public interface Network extends ControlledEntity, StateObject, I
s_fsm.addTransition(State.Implementing, Event.OperationFailed, State.Shutdown);
s_fsm.addTransition(State.Implemented, Event.DestroyNetwork, State.Shutdown);
s_fsm.addTransition(State.Shutdown, Event.OperationSucceeded, State.Allocated);
- s_fsm.addTransition(State.Shutdown, Event.OperationFailed, State.Implemented);
+ s_fsm.addTransition(State.Shutdown, Event.OperationFailed, State.Shutdown);
s_fsm.addTransition(State.Setup, Event.DestroyNetwork, State.Destroy);
s_fsm.addTransition(State.Allocated, Event.DestroyNetwork, State.Destroy);
}
diff --git a/api/src/com/cloud/network/NetworkModel.java b/api/src/com/cloud/network/NetworkModel.java
index fcb6a2e58f4..f6555db565e 100644
--- a/api/src/com/cloud/network/NetworkModel.java
+++ b/api/src/com/cloud/network/NetworkModel.java
@@ -60,6 +60,8 @@ public interface NetworkModel {
*/
List extends IpAddress> listPublicIpsAssignedToGuestNtwk(long accountId, long associatedNetworkId, Boolean sourceNat);
+ List extends IpAddress> listPublicIpsAssignedToGuestNtwk(long associatedNetworkId, Boolean sourceNat);
+
List extends NetworkOffering> getSystemAccountNetworkOfferings(String... offeringNames);
List extends Nic> getNics(long vmId);
diff --git a/api/src/com/cloud/network/NetworkService.java b/api/src/com/cloud/network/NetworkService.java
index 57e95c947cd..1731b119d5e 100755
--- a/api/src/com/cloud/network/NetworkService.java
+++ b/api/src/com/cloud/network/NetworkService.java
@@ -62,9 +62,9 @@ public interface NetworkService {
Network createGuestNetwork(CreateNetworkCmd cmd) throws InsufficientCapacityException, ConcurrentOperationException, ResourceAllocationException;
- List extends Network> searchForNetworks(ListNetworksCmd cmd);
+ Pair, Integer> searchForNetworks(ListNetworksCmd cmd);
- boolean deleteNetwork(long networkId);
+ boolean deleteNetwork(long networkId, boolean forced);
boolean restartNetwork(RestartNetworkCmd cmd, boolean cleanup) throws ConcurrentOperationException, ResourceUnavailableException, InsufficientCapacityException;
@@ -110,7 +110,7 @@ public interface NetworkService {
long findPhysicalNetworkId(long zoneId, String tag, TrafficType trafficType);
- PhysicalNetworkTrafficType addTrafficTypeToPhysicalNetwork(Long physicalNetworkId, String trafficType, String xenLabel, String kvmLabel, String vmwareLabel,
+ PhysicalNetworkTrafficType addTrafficTypeToPhysicalNetwork(Long physicalNetworkId, String trafficType, String isolationMethod, String xenLabel, String kvmLabel, String vmwareLabel,
String simulatorLabel, String vlan, String hypervLabel);
PhysicalNetworkTrafficType getPhysicalNetworkTrafficType(Long id);
@@ -168,7 +168,7 @@ public interface NetworkService {
InsufficientCapacityException;
/* Requests an IP address for the guest nic */
- NicSecondaryIp allocateSecondaryGuestIP(Account account, long zoneId, Long nicId, Long networkId, String ipaddress) throws InsufficientAddressCapacityException;
+ NicSecondaryIp allocateSecondaryGuestIP(long nicId, String ipaddress) throws InsufficientAddressCapacityException;
boolean releaseSecondaryIpFromNic(long ipAddressId);
diff --git a/api/src/com/cloud/network/Networks.java b/api/src/com/cloud/network/Networks.java
index e15ed463657..1e4d2294641 100755
--- a/api/src/com/cloud/network/Networks.java
+++ b/api/src/com/cloud/network/Networks.java
@@ -31,7 +31,7 @@ public class Networks {
None, DcGlobal, // global to data center
HostLocal;
- public static String DummyPrivateIp = "169.254.1.1";
+ public static final String DummyPrivateIp = "169.254.1.1";
}
/**
@@ -94,7 +94,22 @@ public class Networks {
return uri.getSchemeSpecificPart();
}
},
- Mido("mido", String.class), Pvlan("pvlan", String.class), Vxlan("vxlan", Long.class), UnDecided(null, null);
+ Mido("mido", String.class), Pvlan("pvlan", String.class),
+ Vxlan("vxlan", Long.class) {
+ @Override
+ public URI toUri(T value) {
+ try {
+ if (value.toString().contains("://"))
+ return new URI(value.toString());
+ else
+ return new URI("vxlan://" + value.toString());
+ } catch (URISyntaxException e) {
+ throw new CloudRuntimeException(
+ "Unable to convert to broadcast URI: " + value);
+ }
+ }
+ },
+ UnDecided(null, null), OpenDaylight("opendaylight", String.class);
private final String scheme;
private final Class> type;
diff --git a/api/src/com/cloud/network/OvsProvider.java b/api/src/com/cloud/network/OvsProvider.java
index e20491a3a2d..dfa40912417 100644
--- a/api/src/com/cloud/network/OvsProvider.java
+++ b/api/src/com/cloud/network/OvsProvider.java
@@ -20,7 +20,7 @@ import org.apache.cloudstack.api.Identity;
import org.apache.cloudstack.api.InternalIdentity;
public interface OvsProvider extends InternalIdentity, Identity {
- public boolean isEnabled();
+ public boolean isEnabled();
- public long getNspId();
+ public long getNspId();
}
diff --git a/api/src/com/cloud/network/PhysicalNetwork.java b/api/src/com/cloud/network/PhysicalNetwork.java
index cfa236d3898..8cc214e894b 100644
--- a/api/src/com/cloud/network/PhysicalNetwork.java
+++ b/api/src/com/cloud/network/PhysicalNetwork.java
@@ -33,7 +33,7 @@ public interface PhysicalNetwork extends Identity, InternalIdentity {
}
public enum IsolationMethod {
- VLAN, L3, GRE, STT, VNS, MIDO, SSP, VXLAN;
+ VLAN, L3, GRE, STT, VNS, MIDO, SSP, VXLAN, ODL, L3VPN;
}
public enum BroadcastDomainRange {
diff --git a/api/src/com/cloud/network/VirtualNetworkApplianceService.java b/api/src/com/cloud/network/VirtualNetworkApplianceService.java
index 96162f31949..a9d9c527f40 100644
--- a/api/src/com/cloud/network/VirtualNetworkApplianceService.java
+++ b/api/src/com/cloud/network/VirtualNetworkApplianceService.java
@@ -69,5 +69,5 @@ public interface VirtualNetworkApplianceService {
List upgradeRouterTemplate(UpgradeRouterTemplateCmd cmd);
- public static final String _minVRVersion = "4.2.0";
+ public static final String MinVRVersion = "4.3.0";
}
diff --git a/api/src/com/cloud/network/as/AutoScalePolicy.java b/api/src/com/cloud/network/as/AutoScalePolicy.java
index 8452ba1492c..56ea3f5f7f7 100644
--- a/api/src/com/cloud/network/as/AutoScalePolicy.java
+++ b/api/src/com/cloud/network/as/AutoScalePolicy.java
@@ -32,8 +32,8 @@ public interface AutoScalePolicy extends ControlledEntity, InternalIdentity {
public int getDuration();
public int getQuietTime();
-
- public Date getLastQuiteTime();
+
+ public Date getLastQuiteTime();
public String getAction();
diff --git a/api/src/com/cloud/network/as/AutoScaleVmGroup.java b/api/src/com/cloud/network/as/AutoScaleVmGroup.java
index 15f7bea9a4d..e8b328fc267 100644
--- a/api/src/com/cloud/network/as/AutoScaleVmGroup.java
+++ b/api/src/com/cloud/network/as/AutoScaleVmGroup.java
@@ -47,7 +47,7 @@ public interface AutoScaleVmGroup extends ControlledEntity, InternalIdentity {
int getInterval();
- Date getLastInterval();
+ Date getLastInterval();
String getState();
diff --git a/api/src/com/cloud/network/as/Counter.java b/api/src/com/cloud/network/as/Counter.java
index 99b3364419a..286bf517c79 100644
--- a/api/src/com/cloud/network/as/Counter.java
+++ b/api/src/com/cloud/network/as/Counter.java
@@ -34,5 +34,5 @@ public interface Counter extends InternalIdentity, Identity {
String getValue();
Source getSource();
-
+
}
diff --git a/api/src/com/cloud/network/element/NetworkElement.java b/api/src/com/cloud/network/element/NetworkElement.java
index e7988bf08da..951732f727c 100644
--- a/api/src/com/cloud/network/element/NetworkElement.java
+++ b/api/src/com/cloud/network/element/NetworkElement.java
@@ -22,7 +22,6 @@ import java.util.Set;
import com.cloud.deploy.DeployDestination;
import com.cloud.exception.ConcurrentOperationException;
import com.cloud.exception.InsufficientCapacityException;
-import com.cloud.exception.InsufficientNetworkCapacityException;
import com.cloud.exception.ResourceUnavailableException;
import com.cloud.network.Network;
import com.cloud.network.Network.Capability;
@@ -67,7 +66,6 @@ public interface NetworkElement extends Adapter {
* @return
* @throws ConcurrentOperationException
* @throws ResourceUnavailableException
- * @throws InsufficientNetworkCapacityException
*/
boolean prepare(Network network, NicProfile nic, VirtualMachineProfile vm, DeployDestination dest, ReservationContext context) throws ConcurrentOperationException,
ResourceUnavailableException, InsufficientCapacityException;
diff --git a/api/src/com/cloud/network/element/UserDataServiceProvider.java b/api/src/com/cloud/network/element/UserDataServiceProvider.java
index ad485a5b7ab..45ab0d877a3 100644
--- a/api/src/com/cloud/network/element/UserDataServiceProvider.java
+++ b/api/src/com/cloud/network/element/UserDataServiceProvider.java
@@ -33,5 +33,5 @@ public interface UserDataServiceProvider extends NetworkElement {
boolean saveUserData(Network network, NicProfile nic, VirtualMachineProfile vm) throws ResourceUnavailableException;
- boolean saveSSHKey(Network network, NicProfile nic, VirtualMachineProfile vm, String SSHPublicKey) throws ResourceUnavailableException;
+ boolean saveSSHKey(Network network, NicProfile nic, VirtualMachineProfile vm, String sshPublicKey) throws ResourceUnavailableException;
}
diff --git a/api/src/com/cloud/network/element/VirtualRouterElementService.java b/api/src/com/cloud/network/element/VirtualRouterElementService.java
index c8d45cafe53..f8e015088db 100644
--- a/api/src/com/cloud/network/element/VirtualRouterElementService.java
+++ b/api/src/com/cloud/network/element/VirtualRouterElementService.java
@@ -31,12 +31,13 @@ import com.cloud.utils.component.PluggableService;
public interface VirtualRouterElementService extends PluggableService {
VirtualRouterProvider configure(ConfigureVirtualRouterElementCmd cmd);
- OvsProvider configure(ConfigureOvsElementCmd cmd);
+ OvsProvider configure(ConfigureOvsElementCmd cmd);
+
VirtualRouterProvider addElement(Long nspId, Type providerType);
VirtualRouterProvider getCreatedElement(long id);
List extends VirtualRouterProvider> searchForVirtualRouterElement(ListVirtualRouterElementsCmd cmd);
- List extends OvsProvider> searchForOvsElement(ListOvsElementsCmd cmd);
+ List extends OvsProvider> searchForOvsElement(ListOvsElementsCmd cmd);
}
diff --git a/api/src/com/cloud/network/firewall/FirewallService.java b/api/src/com/cloud/network/firewall/FirewallService.java
index 3413c4d4fb8..917bda3de6d 100644
--- a/api/src/com/cloud/network/firewall/FirewallService.java
+++ b/api/src/com/cloud/network/firewall/FirewallService.java
@@ -44,7 +44,7 @@ public interface FirewallService {
boolean applyEgressFirewallRules(FirewallRule rule, Account caller) throws ResourceUnavailableException;
- boolean applyIngressFirewallRules(long Ipid, Account caller) throws ResourceUnavailableException;
+ boolean applyIngressFirewallRules(long ipId, Account caller) throws ResourceUnavailableException;
FirewallRule getFirewallRule(long ruleId);
diff --git a/api/src/com/cloud/network/lb/LoadBalancingRulesService.java b/api/src/com/cloud/network/lb/LoadBalancingRulesService.java
index e62b45cbb1c..cd0a276c73c 100644
--- a/api/src/com/cloud/network/lb/LoadBalancingRulesService.java
+++ b/api/src/com/cloud/network/lb/LoadBalancingRulesService.java
@@ -101,7 +101,7 @@ public interface LoadBalancingRulesService {
boolean applyLoadBalancerConfig(long lbRuleId) throws ResourceUnavailableException;
- boolean assignCertToLoadBalancer(long lbRuleId, Long CertId);
+ boolean assignCertToLoadBalancer(long lbRuleId, Long certId);
boolean removeCertFromLoadBalancer(long lbRuleId);
@@ -145,7 +145,7 @@ public interface LoadBalancingRulesService {
List extends HealthCheckPolicy> searchForLBHealthCheckPolicies(ListLBHealthCheckPoliciesCmd cmd);
- LoadBalancer findById(long LoadBalancer);
+ LoadBalancer findById(long loadBalancer);
public void updateLBHealthChecks(Scheme scheme) throws ResourceUnavailableException;
diff --git a/api/src/com/cloud/network/rules/FirewallRule.java b/api/src/com/cloud/network/rules/FirewallRule.java
index 4cfa42b3770..274242ad394 100644
--- a/api/src/com/cloud/network/rules/FirewallRule.java
+++ b/api/src/com/cloud/network/rules/FirewallRule.java
@@ -36,7 +36,8 @@ public interface FirewallRule extends ControlledEntity, Identity, InternalIdenti
Staged, // Rule been created but has never got through network rule conflict detection. Rules in this state can not be sent to network elements.
Add, // Add means the rule has been created and has gone through network rule conflict detection.
Active, // Rule has been sent to the network elements and reported to be active.
- Revoke // Revoke means this rule has been revoked. If this rule has been sent to the network elements, the rule will be deleted from database.
+ Revoke, // Revoke means this rule has been revoked. If this rule has been sent to the network elements, the rule will be deleted from database.
+ Deleting // rule has been revoked and is scheduled for deletion
}
enum TrafficType {
diff --git a/api/src/com/cloud/network/security/SecurityGroupService.java b/api/src/com/cloud/network/security/SecurityGroupService.java
index 1ee504fb9a4..d8b3346f54a 100644
--- a/api/src/com/cloud/network/security/SecurityGroupService.java
+++ b/api/src/com/cloud/network/security/SecurityGroupService.java
@@ -47,5 +47,5 @@ public interface SecurityGroupService {
public List extends SecurityRule> authorizeSecurityGroupEgress(AuthorizeSecurityGroupEgressCmd cmd);
- public boolean securityGroupRulesForVmSecIp(Long nicId, Long networkId, String secondaryIp, boolean ruleAction);
+ public boolean securityGroupRulesForVmSecIp(long nicId, String secondaryIp, boolean ruleAction);
}
diff --git a/api/src/com/cloud/network/vpc/NetworkACLService.java b/api/src/com/cloud/network/vpc/NetworkACLService.java
index db37833e4f0..4d1188018b5 100644
--- a/api/src/com/cloud/network/vpc/NetworkACLService.java
+++ b/api/src/com/cloud/network/vpc/NetworkACLService.java
@@ -47,7 +47,7 @@ public interface NetworkACLService {
* @param cmd
* @return
*/
- Pair,Integer> listNetworkACLs(ListNetworkACLListsCmd cmd);
+ Pair, Integer> listNetworkACLs(ListNetworkACLListsCmd cmd);
/**
* Delete specified network ACL. Deletion fails if the list is not empty
diff --git a/api/src/com/cloud/network/vpc/StaticRoute.java b/api/src/com/cloud/network/vpc/StaticRoute.java
index ccdbec899b8..5707ca14024 100644
--- a/api/src/com/cloud/network/vpc/StaticRoute.java
+++ b/api/src/com/cloud/network/vpc/StaticRoute.java
@@ -25,7 +25,8 @@ public interface StaticRoute extends ControlledEntity, Identity, InternalIdentit
Staged, // route been created but has never got through network rule conflict detection. Routes in this state can not be sent to VPC virtual router.
Add, // Add means the route has been created and has gone through network rule conflict detection.
Active, // Route has been sent to the VPC router and reported to be active.
- Revoke // Revoke means this route has been revoked. If this route has been sent to the VPC router, the route will be deleted from database.
+ Revoke, // Revoke means this route has been revoked. If this route has been sent to the VPC router, the route will be deleted from database.
+ Deleting // rule has been revoked and is scheduled for deletion
}
/**
diff --git a/api/src/com/cloud/offering/DiskOffering.java b/api/src/com/cloud/offering/DiskOffering.java
index 2227fd711c9..4641b9a4ad8 100644
--- a/api/src/com/cloud/offering/DiskOffering.java
+++ b/api/src/com/cloud/offering/DiskOffering.java
@@ -36,7 +36,7 @@ public interface DiskOffering extends InfrastructureEntity, Identity, InternalId
public enum DiskCacheMode {
NONE("none"), WRITEBACK("writeback"), WRITETHROUGH("writethrough");
-
+
private final String _diskCacheMode;
DiskCacheMode(String cacheMode) {
diff --git a/api/src/com/cloud/region/ha/GlobalLoadBalancerRule.java b/api/src/com/cloud/region/ha/GlobalLoadBalancerRule.java
index c5fd9aed2b6..bb311f36e6f 100644
--- a/api/src/com/cloud/region/ha/GlobalLoadBalancerRule.java
+++ b/api/src/com/cloud/region/ha/GlobalLoadBalancerRule.java
@@ -53,8 +53,8 @@ public interface GlobalLoadBalancerRule extends Identity, InternalIdentity, Cont
tcp, udp, http;
public static boolean isValidServiceType(String serviceType) {
if (tcp.name().equalsIgnoreCase(serviceType) ||
- udp.name().equalsIgnoreCase(serviceType) ||
- http.name().equalsIgnoreCase(serviceType)) {
+ udp.name().equalsIgnoreCase(serviceType) ||
+ http.name().equalsIgnoreCase(serviceType)) {
return true;
}
return false;
diff --git a/api/src/com/cloud/server/ResourceTag.java b/api/src/com/cloud/server/ResourceTag.java
index 6d18834c6b5..a08c3e4fede 100644
--- a/api/src/com/cloud/server/ResourceTag.java
+++ b/api/src/com/cloud/server/ResourceTag.java
@@ -46,22 +46,28 @@ public interface ResourceTag extends ControlledEntity, Identity, InternalIdentit
ServiceOffering(false, true),
Storage(false, true),
PrivateGateway(false, true),
- NetworkACLList(false, true);
+ NetworkACLList(false, true),
+ VpnGateway(false, true),
+ CustomerGateway(false, true),
+ VpnConnection(false, true),
+ User(true, true),
+ DiskOffering(false, true),
+ AutoScaleVmProfile(false, true);
ResourceObjectType(boolean resourceTagsSupport, boolean resourceMetadataSupport) {
this.resourceTagsSupport = resourceTagsSupport;
- this.metadataSupport = resourceMetadataSupport;
+ metadataSupport = resourceMetadataSupport;
}
private final boolean resourceTagsSupport;
private final boolean metadataSupport;
public boolean resourceTagsSupport() {
- return this.resourceTagsSupport;
+ return resourceTagsSupport;
}
public boolean resourceMetadataSupport() {
- return this.metadataSupport;
+ return metadataSupport;
}
}
diff --git a/api/src/com/cloud/storage/DataStoreRole.java b/api/src/com/cloud/storage/DataStoreRole.java
index 0a62a569e55..cc20cc0ce96 100644
--- a/api/src/com/cloud/storage/DataStoreRole.java
+++ b/api/src/com/cloud/storage/DataStoreRole.java
@@ -24,13 +24,13 @@ public enum DataStoreRole {
Primary("primary"), Image("image"), ImageCache("imagecache"), Backup("backup");
public boolean isImageStore() {
- return (this.role.equalsIgnoreCase("image") || this.role.equalsIgnoreCase("imagecache")) ? true : false;
+ return (role.equalsIgnoreCase("image") || role.equalsIgnoreCase("imagecache")) ? true : false;
}
private final String role;
DataStoreRole(String type) {
- this.role = type;
+ role = type;
}
public static DataStoreRole getRole(String role) {
diff --git a/api/src/com/cloud/storage/Storage.java b/api/src/com/cloud/storage/Storage.java
index f1868a7a1b3..2175c9b1a0c 100755
--- a/api/src/com/cloud/storage/Storage.java
+++ b/api/src/com/cloud/storage/Storage.java
@@ -28,6 +28,8 @@ public class Storage {
OVA(true, true, true, "ova"),
VHDX(true, true, true, "vhdx"),
BAREMETAL(false, false, false, "BAREMETAL"),
+ VMDK(true, true, false, "vmdk"),
+ VDI(true, true, false, "vdi"),
TAR(false, false, false, "tar");
private final boolean thinProvisioned;
diff --git a/api/src/com/cloud/storage/StorageService.java b/api/src/com/cloud/storage/StorageService.java
index ac3c385695f..7fc1e16ff3a 100644
--- a/api/src/com/cloud/storage/StorageService.java
+++ b/api/src/com/cloud/storage/StorageService.java
@@ -17,8 +17,8 @@
package com.cloud.storage;
import java.net.UnknownHostException;
+import java.util.Map;
-import org.apache.cloudstack.api.command.admin.storage.AddImageStoreCmd;
import org.apache.cloudstack.api.command.admin.storage.CancelPrimaryStorageMaintenanceCmd;
import org.apache.cloudstack.api.command.admin.storage.CreateSecondaryStagingStoreCmd;
import org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd;
@@ -92,19 +92,23 @@ public interface StorageService {
boolean deleteSecondaryStagingStore(DeleteSecondaryStagingStoreCmd cmd);
- ImageStore discoverImageStore(AddImageStoreCmd cmd) throws IllegalArgumentException, DiscoveryException, InvalidParameterValueException;
+ public ImageStore discoverImageStore(String name, String url, String providerName, Long dcId, Map details) throws IllegalArgumentException, DiscoveryException,
+ InvalidParameterValueException;
- /**
- * Prepare NFS secondary storage for object store migration
- *
- * @param cmd
- * - the command specifying secondaryStorageId
- * @return the storage pool
- * @throws ResourceUnavailableException
- * TODO
- * @throws InsufficientCapacityException
- * TODO
+
+ /**
+ * Migrate existing NFS to use object store.
+ * @param name object store name.
+ * @param url object store url.
+ * @param providerName object store provider Name.
+ * @param details object store other details
+ * @return Object store created.
+ * @throws IllegalArgumentException
+ * @throws DiscoveryException
+ * @throws InvalidParameterValueException
*/
- public ImageStore prepareSecondaryStorageForObjectStoreMigration(Long storeId) throws ResourceUnavailableException, InsufficientCapacityException;
+ public ImageStore migrateToObjectStore(String name, String url, String providerName, Map details) throws IllegalArgumentException, DiscoveryException,
+ InvalidParameterValueException;
+
}
diff --git a/api/src/com/cloud/storage/Volume.java b/api/src/com/cloud/storage/Volume.java
index bb5ee08b512..84f0872f909 100755
--- a/api/src/com/cloud/storage/Volume.java
+++ b/api/src/com/cloud/storage/Volume.java
@@ -189,7 +189,5 @@ public interface Volume extends ControlledEntity, Identity, InternalIdentity, Ba
Long getVmSnapshotChainSize();
- void setHypervisorSnapshotReserve(Integer hypervisorSnapshotReserve);
-
Integer getHypervisorSnapshotReserve();
}
diff --git a/api/src/com/cloud/storage/VolumeApiService.java b/api/src/com/cloud/storage/VolumeApiService.java
index db23c1be227..09ac3ee2cbb 100644
--- a/api/src/com/cloud/storage/VolumeApiService.java
+++ b/api/src/com/cloud/storage/VolumeApiService.java
@@ -18,8 +18,6 @@
*/
package com.cloud.storage;
-import java.net.URISyntaxException;
-
import org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd;
import org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd;
import org.apache.cloudstack.api.command.user.volume.DetachVolumeCmd;
@@ -29,8 +27,6 @@ import org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd;
import org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd;
import com.cloud.exception.ConcurrentOperationException;
-import com.cloud.exception.InternalErrorException;
-import com.cloud.exception.PermissionDeniedException;
import com.cloud.exception.ResourceAllocationException;
import com.cloud.user.Account;
@@ -42,7 +38,6 @@ public interface VolumeApiService {
* the API command wrapping the criteria (account/domainId [admin only], zone, diskOffering, snapshot,
* name)
* @return the volume object
- * @throws PermissionDeniedException
*/
Volume allocVolume(CreateVolumeCmd cmd) throws ResourceAllocationException;
@@ -96,9 +91,6 @@ public interface VolumeApiService {
* the command specifying url (where the volume needs to be extracted to), zoneId (zone where the volume
* exists),
* id (the id of the volume)
- * @throws URISyntaxException
- * @throws InternalErrorException
- * @throws PermissionDeniedException
*
*/
String extractVolume(ExtractVolumeCmd cmd);
diff --git a/api/src/com/cloud/storage/snapshot/SnapshotApiService.java b/api/src/com/cloud/storage/snapshot/SnapshotApiService.java
index 4f135107f07..91c08307bb8 100644
--- a/api/src/com/cloud/storage/snapshot/SnapshotApiService.java
+++ b/api/src/com/cloud/storage/snapshot/SnapshotApiService.java
@@ -24,7 +24,6 @@ import org.apache.cloudstack.api.command.user.snapshot.ListSnapshotPoliciesCmd;
import org.apache.cloudstack.api.command.user.snapshot.ListSnapshotsCmd;
import com.cloud.api.commands.ListRecurringSnapshotScheduleCmd;
-import com.cloud.exception.PermissionDeniedException;
import com.cloud.exception.ResourceAllocationException;
import com.cloud.storage.Snapshot;
import com.cloud.storage.Volume;
@@ -39,7 +38,6 @@ public interface SnapshotApiService {
* @param cmd
* the command containing the search criteria (order by, limit, etc.)
* @return list of snapshots
- * @throws PermissionDeniedException
*/
Pair, Integer> listSnapshots(ListSnapshotsCmd cmd);
diff --git a/api/src/com/cloud/user/ResourceLimitService.java b/api/src/com/cloud/user/ResourceLimitService.java
index f8923b708a9..de2773a955c 100644
--- a/api/src/com/cloud/user/ResourceLimitService.java
+++ b/api/src/com/cloud/user/ResourceLimitService.java
@@ -139,9 +139,8 @@ public interface ResourceLimitService {
*/
public long getResourceCount(Account account, ResourceType type);
-
/**
- * Checks if a limit has been exceeded for an account depending on the displayResource flag
+ * Checks if a limit has been exceeded for an account if displayResource flag is on
*
* @param account
* @param type
@@ -153,9 +152,8 @@ public interface ResourceLimitService {
*/
void checkResourceLimit(Account account, ResourceType type, Boolean displayResource, long... count) throws ResourceAllocationException;
-
/**
- * Increments the resource count depending on the displayResource flag
+ * Increments the resource count if displayResource flag is on
*
* @param accountId
* @param type
@@ -165,7 +163,7 @@ public interface ResourceLimitService {
void incrementResourceCount(long accountId, ResourceType type, Boolean displayResource, Long... delta);
/**
- * Increments/Decrements the resource count depending on the displayResource flag
+ * Increments/Decrements the resource count depending on the displayResource flag is turned on or off respectively
*
* @param accountId
* @param type
@@ -174,5 +172,13 @@ public interface ResourceLimitService {
*/
void changeResourceCount(long accountId, ResourceType type, Boolean displayResource, Long... delta);
+ /**
+ * Decrements the resource count if displayResource flag is on
+ *
+ * @param accountId
+ * @param type
+ * @param displayResource
+ * @param delta
+ */
void decrementResourceCount(long accountId, ResourceType type, Boolean displayResource, Long... delta);
}
diff --git a/api/src/com/cloud/vm/DiskProfile.java b/api/src/com/cloud/vm/DiskProfile.java
index d08b710f071..5fdacf2a755 100644
--- a/api/src/com/cloud/vm/DiskProfile.java
+++ b/api/src/com/cloud/vm/DiskProfile.java
@@ -71,9 +71,9 @@ public class DiskProfile {
null);
this.hyperType = hyperType;
}
-
+
public DiskProfile(DiskProfile dp) {
-
+
}
/**
@@ -156,17 +156,17 @@ public class DiskProfile {
public HypervisorType getHypervisorType() {
return this.hyperType;
}
-
+
public void setPath(String path) {
- this.path = path;
+ this.path = path;
}
-
+
public String getPath() {
- return this.path;
+ return this.path;
}
-
+
public void setSize(long size) {
- this.size = size;
+ this.size = size;
}
public void setBytesReadRate(Long bytesReadRate) {
diff --git a/api/src/com/cloud/vm/NicProfile.java b/api/src/com/cloud/vm/NicProfile.java
index ab18ca094f9..4dd7f68ee33 100644
--- a/api/src/com/cloud/vm/NicProfile.java
+++ b/api/src/com/cloud/vm/NicProfile.java
@@ -16,6 +16,7 @@
// under the License.
package com.cloud.vm;
+import java.io.Serializable;
import java.net.URI;
import org.apache.cloudstack.api.InternalIdentity;
@@ -27,7 +28,9 @@ import com.cloud.network.Networks.Mode;
import com.cloud.network.Networks.TrafficType;
import com.cloud.vm.Nic.ReservationStrategy;
-public class NicProfile implements InternalIdentity {
+public class NicProfile implements InternalIdentity, Serializable {
+ private static final long serialVersionUID = 4997005771736090304L;
+
long id;
long networkId;
BroadcastDomainType broadcastType;
@@ -57,6 +60,7 @@ public class NicProfile implements InternalIdentity {
String name;
String requestedIpv4;
String requestedIpv6;
+ String uuid;
public String getDns1() {
return dns1;
@@ -142,6 +146,10 @@ public class NicProfile implements InternalIdentity {
this.format = format;
}
+ public void setUuid(String uuid) {
+ this.uuid = uuid;
+ }
+
public void setTrafficType(TrafficType trafficType) {
this.trafficType = trafficType;
}
@@ -215,29 +223,34 @@ public class NicProfile implements InternalIdentity {
return strategy;
}
+ public String getUuid() {
+ return uuid;
+ }
+
public NicProfile(Nic nic, Network network, URI broadcastUri, URI isolationUri, Integer networkRate, boolean isSecurityGroupEnabled, String name) {
- this.id = nic.getId();
- this.networkId = network.getId();
- this.gateway = nic.getGateway();
- this.mode = network.getMode();
- this.broadcastType = network.getBroadcastDomainType();
- this.trafficType = network.getTrafficType();
- this.ip4Address = nic.getIp4Address();
- this.format = nic.getAddressFormat();
- this.ip6Address = nic.getIp6Address();
- this.macAddress = nic.getMacAddress();
- this.reservationId = nic.getReservationId();
- this.strategy = nic.getReservationStrategy();
- this.deviceId = nic.getDeviceId();
- this.defaultNic = nic.isDefaultNic();
+ id = nic.getId();
+ networkId = network.getId();
+ gateway = nic.getGateway();
+ mode = network.getMode();
+ broadcastType = network.getBroadcastDomainType();
+ trafficType = network.getTrafficType();
+ ip4Address = nic.getIp4Address();
+ format = nic.getAddressFormat();
+ ip6Address = nic.getIp6Address();
+ macAddress = nic.getMacAddress();
+ reservationId = nic.getReservationId();
+ strategy = nic.getReservationStrategy();
+ deviceId = nic.getDeviceId();
+ defaultNic = nic.isDefaultNic();
this.broadcastUri = broadcastUri;
this.isolationUri = isolationUri;
- this.netmask = nic.getNetmask();
+ netmask = nic.getNetmask();
this.isSecurityGroupEnabled = isSecurityGroupEnabled;
- this.vmId = nic.getInstanceId();
+ vmId = nic.getInstanceId();
this.name = name;
- this.ip6Cidr = nic.getIp6Cidr();
- this.ip6Gateway = nic.getIp6Gateway();
+ ip6Cidr = nic.getIp6Cidr();
+ ip6Gateway = nic.getIp6Gateway();
+ uuid = nic.getUuid();
if (networkRate != null) {
this.networkRate = networkRate;
@@ -245,7 +258,7 @@ public class NicProfile implements InternalIdentity {
}
public NicProfile(ReservationStrategy strategy, String ip4Address, String macAddress, String gateway, String netmask) {
- this.format = AddressFormat.Ip4;
+ format = AddressFormat.Ip4;
this.ip4Address = ip4Address;
this.macAddress = macAddress;
this.gateway = gateway;
@@ -274,11 +287,11 @@ public class NicProfile implements InternalIdentity {
}
public boolean isSecurityGroupEnabled() {
- return this.isSecurityGroupEnabled;
+ return isSecurityGroupEnabled;
}
public void setSecurityGroupEnabled(boolean enabled) {
- this.isSecurityGroupEnabled = enabled;
+ isSecurityGroupEnabled = enabled;
}
public String getRequestedIpv4() {
@@ -286,36 +299,36 @@ public class NicProfile implements InternalIdentity {
}
public void deallocate() {
- this.gateway = null;
- this.mode = null;
- this.format = null;
- this.broadcastType = null;
- this.trafficType = null;
- this.ip4Address = null;
- this.ip6Address = null;
- this.macAddress = null;
- this.reservationId = null;
- this.strategy = null;
- this.deviceId = null;
- this.broadcastUri = null;
- this.isolationUri = null;
- this.netmask = null;
- this.dns1 = null;
- this.dns2 = null;
+ gateway = null;
+ mode = null;
+ format = null;
+ broadcastType = null;
+ trafficType = null;
+ ip4Address = null;
+ ip6Address = null;
+ macAddress = null;
+ reservationId = null;
+ strategy = null;
+ deviceId = null;
+ broadcastUri = null;
+ isolationUri = null;
+ netmask = null;
+ dns1 = null;
+ dns2 = null;
}
@Override
public String toString() {
return new StringBuilder("NicProfile[").append(id)
- .append("-")
- .append(vmId)
- .append("-")
- .append(reservationId)
- .append("-")
- .append(ip4Address)
- .append("-")
- .append(broadcastUri)
- .toString();
+ .append("-")
+ .append(vmId)
+ .append("-")
+ .append(reservationId)
+ .append("-")
+ .append(ip4Address)
+ .append("-")
+ .append(broadcastUri)
+ .toString();
}
public String getIp6Gateway() {
diff --git a/api/src/com/cloud/vm/UserVmService.java b/api/src/com/cloud/vm/UserVmService.java
index 5306bf92e57..51a8fdfbe38 100755
--- a/api/src/com/cloud/vm/UserVmService.java
+++ b/api/src/com/cloud/vm/UserVmService.java
@@ -19,8 +19,6 @@ package com.cloud.vm;
import java.util.List;
import java.util.Map;
-import javax.naming.InsufficientResourcesException;
-
import org.apache.cloudstack.api.BaseCmd.HTTPMethod;
import org.apache.cloudstack.api.command.admin.vm.AssignVMCmd;
import org.apache.cloudstack.api.command.admin.vm.ExpungeVMCmd;
@@ -197,12 +195,11 @@ public interface UserVmService {
* @throws ResourceUnavailableException
* if the resources required to deploy the VM is not currently
* available.
- * @throws InsufficientResourcesException
*/
UserVm createBasicSecurityGroupVirtualMachine(DataCenter zone, ServiceOffering serviceOffering, VirtualMachineTemplate template, List securityGroupIdList,
- Account owner, String hostName, String displayName, Long diskOfferingId, Long diskSize, String group, HypervisorType hypervisor, HTTPMethod httpmethod,
- String userData, String sshKeyPair, Map requestedIps, IpAddresses defaultIp, Boolean displayVm, String keyboard,
- List affinityGroupIdList, Map customParameter, String customId) throws InsufficientCapacityException,
+ Account owner, String hostName, String displayName, Long diskOfferingId, Long diskSize, String group, HypervisorType hypervisor, HTTPMethod httpmethod,
+ String userData, String sshKeyPair, Map requestedIps, IpAddresses defaultIp, Boolean displayVm, String keyboard,
+ List affinityGroupIdList, Map customParameter, String customId) throws InsufficientCapacityException,
ConcurrentOperationException, ResourceUnavailableException, StorageUnavailableException, ResourceAllocationException;
/**
@@ -271,12 +268,11 @@ public interface UserVmService {
* @throws ResourceUnavailableException
* if the resources required to deploy the VM is not currently
* available.
- * @throws InsufficientResourcesException
*/
UserVm createAdvancedSecurityGroupVirtualMachine(DataCenter zone, ServiceOffering serviceOffering, VirtualMachineTemplate template, List networkIdList,
- List securityGroupIdList, Account owner, String hostName, String displayName, Long diskOfferingId, Long diskSize, String group, HypervisorType hypervisor,
- HTTPMethod httpmethod, String userData, String sshKeyPair, Map requestedIps, IpAddresses defaultIps, Boolean displayVm, String keyboard,
- List affinityGroupIdList, Map customParameters, String customId) throws InsufficientCapacityException,
+ List securityGroupIdList, Account owner, String hostName, String displayName, Long diskOfferingId, Long diskSize, String group, HypervisorType hypervisor,
+ HTTPMethod httpmethod, String userData, String sshKeyPair, Map requestedIps, IpAddresses defaultIps, Boolean displayVm, String keyboard,
+ List affinityGroupIdList, Map customParameters, String customId) throws InsufficientCapacityException,
ConcurrentOperationException, ResourceUnavailableException, StorageUnavailableException, ResourceAllocationException;
/**
@@ -343,14 +339,13 @@ public interface UserVmService {
* @throws ResourceUnavailableException
* if the resources required to deploy the VM is not currently
* available.
- * @throws InsufficientResourcesException
*/
UserVm createAdvancedVirtualMachine(DataCenter zone, ServiceOffering serviceOffering, VirtualMachineTemplate template, List networkIdList, Account owner,
- String hostName, String displayName, Long diskOfferingId, Long diskSize, String group, HypervisorType hypervisor, HTTPMethod httpmethod, String userData,
- String sshKeyPair, Map requestedIps, IpAddresses defaultIps, Boolean displayVm, String keyboard, List affinityGroupIdList,
- Map customParameters, String customId)
+ String hostName, String displayName, Long diskOfferingId, Long diskSize, String group, HypervisorType hypervisor, HTTPMethod httpmethod, String userData,
+ String sshKeyPair, Map requestedIps, IpAddresses defaultIps, Boolean displayVm, String keyboard, List affinityGroupIdList,
+ Map customParameters, String customId)
- throws InsufficientCapacityException, ConcurrentOperationException, ResourceUnavailableException, StorageUnavailableException, ResourceAllocationException;
+ throws InsufficientCapacityException, ConcurrentOperationException, ResourceUnavailableException, StorageUnavailableException, ResourceAllocationException;
/**
* Starts the virtual machine created from createVirtualMachine.
@@ -466,4 +461,12 @@ public interface UserVmService {
UserVm expungeVm(long vmId) throws ResourceUnavailableException, ConcurrentOperationException;
+ /**
+ * Finds and returns an encrypted password for a VM.
+ *
+ * @param userVmId
+ * @return Base64 encoded userdata
+ */
+ String getVmUserData(long vmId);
+
}
diff --git a/api/src/com/cloud/vm/VirtualMachine.java b/api/src/com/cloud/vm/VirtualMachine.java
index 331b8a3fff9..d6e70a8a6cf 100755
--- a/api/src/com/cloud/vm/VirtualMachine.java
+++ b/api/src/com/cloud/vm/VirtualMachine.java
@@ -29,11 +29,11 @@ import com.cloud.utils.fsm.StateObject;
/**
* VirtualMachine describes the properties held by a virtual machine
- *
+ *
*/
public interface VirtualMachine extends RunningOn, ControlledEntity, Identity, InternalIdentity, StateObject {
- public enum PowerState {
+ public enum PowerState {
PowerUnknown, PowerOn, PowerOff,
}
@@ -115,7 +115,7 @@ public interface VirtualMachine extends RunningOn, ControlledEntity, Identity, I
s_fsm.addTransition(State.Expunging, VirtualMachine.Event.ExpungeOperation, State.Expunging);
s_fsm.addTransition(State.Error, VirtualMachine.Event.DestroyRequested, State.Expunging);
s_fsm.addTransition(State.Error, VirtualMachine.Event.ExpungeOperation, State.Expunging);
-
+
s_fsm.addTransition(State.Stopping, VirtualMachine.Event.FollowAgentPowerOnReport, State.Running);
s_fsm.addTransition(State.Stopped, VirtualMachine.Event.FollowAgentPowerOnReport, State.Running);
s_fsm.addTransition(State.Running, VirtualMachine.Event.FollowAgentPowerOnReport, State.Running);
@@ -124,8 +124,9 @@ public interface VirtualMachine extends RunningOn, ControlledEntity, Identity, I
s_fsm.addTransition(State.Stopping, VirtualMachine.Event.FollowAgentPowerOffReport, State.Stopped);
s_fsm.addTransition(State.Running, VirtualMachine.Event.FollowAgentPowerOffReport, State.Stopped);
s_fsm.addTransition(State.Migrating, VirtualMachine.Event.FollowAgentPowerOffReport, State.Stopped);
+ s_fsm.addTransition(State.Stopped, VirtualMachine.Event.FollowAgentPowerOffReport, State.Stopped);
}
-
+
public static boolean isVmStarted(State oldState, Event e, State newState) {
if (oldState == State.Starting && newState == State.Running) {
return true;
@@ -192,10 +193,10 @@ public interface VirtualMachine extends RunningOn, ControlledEntity, Identity, I
AgentReportMigrated,
RevertRequested,
SnapshotRequested,
-
+
// added for new VMSync logic
FollowAgentPowerOnReport,
- FollowAgentPowerOffReport,
+ FollowAgentPowerOffReport,
};
public enum Type {
@@ -206,7 +207,7 @@ public interface VirtualMachine extends RunningOn, ControlledEntity, Identity, I
* VM with this type. UserBareMetal should treat exactly as User.
*/
UserBareMetal(false),
-
+
/*
* General VM type for queuing VM orchestration work
*/
@@ -264,7 +265,7 @@ public interface VirtualMachine extends RunningOn, ControlledEntity, Identity, I
/**
* returns the guest OS ID
- *
+ *
* @return guestOSId
*/
long getGuestOSId();
@@ -303,7 +304,7 @@ public interface VirtualMachine extends RunningOn, ControlledEntity, Identity, I
Date getCreated();
long getServiceOfferingId();
-
+
Long getDiskOfferingId();
Type getType();
diff --git a/api/src/com/cloud/vm/VirtualMachineName.java b/api/src/com/cloud/vm/VirtualMachineName.java
index c5fc3de5ab1..4bbcb64ebca 100755
--- a/api/src/com/cloud/vm/VirtualMachineName.java
+++ b/api/src/com/cloud/vm/VirtualMachineName.java
@@ -26,6 +26,19 @@ import com.cloud.dc.Vlan;
public class VirtualMachineName {
public static final String SEPARATOR = "-";
+ public static boolean isValidCloudStackVmName(String name, String instance) {
+ String[] parts = name.split(SEPARATOR);
+ if (parts.length <= 1) {
+ return false;
+ }
+
+ if (!parts[parts.length - 1].equals(instance)) {
+ return false;
+ }
+
+ return true;
+ }
+
public static String getVnetName(long vnetId) {
StringBuilder vnet = new StringBuilder();
Formatter formatter = new Formatter(vnet);
diff --git a/api/src/org/apache/cloudstack/alert/AlertService.java b/api/src/org/apache/cloudstack/alert/AlertService.java
index 2143fe8d23f..2e98aea407a 100644
--- a/api/src/org/apache/cloudstack/alert/AlertService.java
+++ b/api/src/org/apache/cloudstack/alert/AlertService.java
@@ -1,4 +1,3 @@
-
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
@@ -28,7 +27,7 @@ public interface AlertService {
private static Set defaultAlertTypes = new HashSet();
private final String name;
private final short type;
-
+
private AlertType(short type, String name, boolean isDefault) {
this.name = name;
this.type = type;
@@ -36,12 +35,13 @@ public interface AlertService {
defaultAlertTypes.add(this);
}
}
-
+
public static final AlertType ALERT_TYPE_MEMORY = new AlertType(Capacity.CAPACITY_TYPE_MEMORY, "ALERT.MEMORY", true);
public static final AlertType ALERT_TYPE_CPU = new AlertType(Capacity.CAPACITY_TYPE_CPU, "ALERT.CPU", true);
public static final AlertType ALERT_TYPE_STORAGE = new AlertType(Capacity.CAPACITY_TYPE_STORAGE, "ALERT.STORAGE", true);
public static final AlertType ALERT_TYPE_STORAGE_ALLOCATED = new AlertType(Capacity.CAPACITY_TYPE_STORAGE_ALLOCATED, "ALERT.STORAGE.ALLOCATED", true);
- public static final AlertType ALERT_TYPE_VIRTUAL_NETWORK_PUBLIC_IP = new AlertType(Capacity.CAPACITY_TYPE_VIRTUAL_NETWORK_PUBLIC_IP, "ALERT.NETWORK.PUBLICIP", true);
+ public static final AlertType ALERT_TYPE_VIRTUAL_NETWORK_PUBLIC_IP = new AlertType(Capacity.CAPACITY_TYPE_VIRTUAL_NETWORK_PUBLIC_IP, "ALERT.NETWORK.PUBLICIP",
+ true);
public static final AlertType ALERT_TYPE_PRIVATE_IP = new AlertType(Capacity.CAPACITY_TYPE_PRIVATE_IP, "ALERT.NETWORK.PRIVATEIP", true);
public static final AlertType ALERT_TYPE_SECONDARY_STORAGE = new AlertType(Capacity.CAPACITY_TYPE_SECONDARY_STORAGE, "ALERT.STORAGE.SECONDARY", true);
public static final AlertType ALERT_TYPE_HOST = new AlertType((short)7, "ALERT.COMPUTE.HOST", true);
@@ -51,10 +51,10 @@ public interface AlertService {
public static final AlertType ALERT_TYPE_ROUTING = new AlertType((short)11, "ALERT.NETWORK.ROUTING", true);
public static final AlertType ALERT_TYPE_STORAGE_MISC = new AlertType((short)12, "ALERT.STORAGE.MISC", true);
public static final AlertType ALERT_TYPE_USAGE_SERVER = new AlertType((short)13, "ALERT.USAGE", true);
- public static final AlertType ALERT_TYPE_MANAGMENT_NODE = new AlertType((short)14, "ALERT.MANAGEMENT", true);
+ public static final AlertType ALERT_TYPE_MANAGMENT_NODE = new AlertType((short)14, "ALERT.MANAGEMENT", true);
public static final AlertType ALERT_TYPE_DOMAIN_ROUTER_MIGRATE = new AlertType((short)15, "ALERT.NETWORK.DOMAINROUTERMIGRATE", true);
public static final AlertType ALERT_TYPE_CONSOLE_PROXY_MIGRATE = new AlertType((short)16, "ALERT.SERVICE.CONSOLEPROXYMIGRATE", true);
- public static final AlertType ALERT_TYPE_USERVM_MIGRATE = new AlertType((short)17, "ALERT.USERVM.MIGRATE", true);
+ public static final AlertType ALERT_TYPE_USERVM_MIGRATE = new AlertType((short)17, "ALERT.USERVM.MIGRATE", true);
public static final AlertType ALERT_TYPE_VLAN = new AlertType((short)18, "ALERT.NETWORK.VLAN", true);
public static final AlertType ALERT_TYPE_SSVM = new AlertType((short)19, "ALERT.SERVICE.SSVM", true);
public static final AlertType ALERT_TYPE_USAGE_SERVER_RESULT = new AlertType((short)20, "ALERT.USAGE.RESULT", true);
@@ -69,7 +69,7 @@ public interface AlertService {
public short getType() {
return type;
}
-
+
public String getName() {
return name;
}
@@ -82,7 +82,7 @@ public interface AlertService {
}
return null;
}
-
+
@Override
public String toString() {
return String.valueOf(this.getType());
@@ -97,7 +97,7 @@ public interface AlertService {
}
}
}
-
+
boolean generateAlert(AlertType alertType, long dataCenterId, Long podId, String msg);
}
diff --git a/api/src/org/apache/cloudstack/api/ApiConstants.java b/api/src/org/apache/cloudstack/api/ApiConstants.java
index a132e548258..d500303bcac 100755
--- a/api/src/org/apache/cloudstack/api/ApiConstants.java
+++ b/api/src/org/apache/cloudstack/api/ApiConstants.java
@@ -72,7 +72,6 @@ public class ApiConstants {
public static final String DISPLAY_VM = "displayvm";
public static final String DISPLAY_OFFERING = "displayoffering";
public static final String DISPLAY_VOLUME = "displayvolume";
- public static final String CUSTOM_PARAMETERS = "customparameters";
public static final String DNS1 = "dns1";
public static final String DNS2 = "dns2";
public static final String IP6_DNS1 = "ip6dns1";
@@ -210,6 +209,7 @@ public class ApiConstants {
public static final String SENT_BYTES = "sentbytes";
public static final String SERVICE_OFFERING_ID = "serviceofferingid";
public static final String SHOW_CAPACITIES = "showcapacities";
+ public static final String SHOW_REMOVED = "showremoved";
public static final String SIZE = "size";
public static final String SNAPSHOT_ID = "snapshotid";
public static final String SNAPSHOT_POLICY_ID = "snapshotpolicyid";
@@ -344,6 +344,7 @@ public class ApiConstants {
public static final String CAPACITY_IOPS = "capacityiops";
public static final String NETWORK_SPEED = "networkspeed";
public static final String BROADCAST_DOMAIN_RANGE = "broadcastdomainrange";
+ public static final String ISOLATION_METHOD = "isolationmethod";
public static final String ISOLATION_METHODS = "isolationmethods";
public static final String PHYSICAL_NETWORK_ID = "physicalnetworkid";
public static final String DEST_PHYSICAL_NETWORK_ID = "destinationphysicalnetworkid";
@@ -412,11 +413,11 @@ public class ApiConstants {
// Ovs controller
public static final String OVS_DEVICE_ID = "ovsdeviceid";
public static final String OVS_DEVICE_NAME = "ovsdevicename";
- // OpenDaylight controller
- public static final String ODL_DEVICE_ID = "odldeviceid";
- public static final String ODL_DEVICE_NAME = "odldevicename";
- public static final String ODL_TRANSPORT_ZONE_UUID = "transportzoneuuid";
- public static final String ODL_GATEWAYSERVICE_UUID = "l3gatewayserviceuuid";
+ // OpenDaylight controller
+ public static final String ODL_DEVICE_ID = "odldeviceid";
+ public static final String ODL_DEVICE_NAME = "odldevicename";
+ public static final String ODL_TRANSPORT_ZONE_UUID = "transportzoneuuid";
+ public static final String ODL_GATEWAYSERVICE_UUID = "l3gatewayserviceuuid";
public static final String EXTERNAL_SWITCH_MGMT_DEVICE_ID = "vsmdeviceid";
public static final String EXTERNAL_SWITCH_MGMT_DEVICE_NAME = "vsmdevicename";
@@ -554,6 +555,6 @@ public class ApiConstants {
}
public enum VMDetails {
- all, group, nics, stats, secgrp, tmpl, servoff, iso, volume, min, affgrp;
+ all, group, nics, stats, secgrp, tmpl, servoff, diskoff, iso, volume, min, affgrp;
}
}
diff --git a/api/src/org/apache/cloudstack/api/BaseAsyncCreateCustomIdCmd.java b/api/src/org/apache/cloudstack/api/BaseAsyncCreateCustomIdCmd.java
index 0f75653e35d..8680d7f11de 100644
--- a/api/src/org/apache/cloudstack/api/BaseAsyncCreateCustomIdCmd.java
+++ b/api/src/org/apache/cloudstack/api/BaseAsyncCreateCustomIdCmd.java
@@ -16,9 +16,10 @@
// under the License.
package org.apache.cloudstack.api;
-
-public abstract class BaseAsyncCreateCustomIdCmd extends BaseAsyncCreateCmd{
- @Parameter(name=ApiConstants.CUSTOM_ID, type=CommandType.STRING, description="an optional field, in case you want to set a custom id to the resource. Allowed to Root Admins only")
+public abstract class BaseAsyncCreateCustomIdCmd extends BaseAsyncCreateCmd {
+ @Parameter(name = ApiConstants.CUSTOM_ID,
+ type = CommandType.STRING,
+ description = "an optional field, in case you want to set a custom id to the resource. Allowed to Root Admins only")
private String customId;
public String getCustomId() {
diff --git a/api/src/org/apache/cloudstack/api/BaseAsyncCustomIdCmd.java b/api/src/org/apache/cloudstack/api/BaseAsyncCustomIdCmd.java
index 95be24f5483..18264da1aa2 100644
--- a/api/src/org/apache/cloudstack/api/BaseAsyncCustomIdCmd.java
+++ b/api/src/org/apache/cloudstack/api/BaseAsyncCustomIdCmd.java
@@ -16,9 +16,10 @@
// under the License.
package org.apache.cloudstack.api;
-
public abstract class BaseAsyncCustomIdCmd extends BaseAsyncCmd {
- @Parameter(name=ApiConstants.CUSTOM_ID, type=CommandType.STRING, description="an optional field, in case you want to set a custom id to the resource. Allowed to Root Admins only")
+ @Parameter(name = ApiConstants.CUSTOM_ID,
+ type = CommandType.STRING,
+ description = "an optional field, in case you want to set a custom id to the resource. Allowed to Root Admins only")
private String customId;
public String getCustomId() {
diff --git a/api/src/org/apache/cloudstack/api/BaseCmd.java b/api/src/org/apache/cloudstack/api/BaseCmd.java
index 86a7c726d6c..4229ec9302b 100644
--- a/api/src/org/apache/cloudstack/api/BaseCmd.java
+++ b/api/src/org/apache/cloudstack/api/BaseCmd.java
@@ -26,6 +26,8 @@ import java.util.regex.Pattern;
import javax.inject.Inject;
+import org.apache.log4j.Logger;
+
import org.apache.cloudstack.affinity.AffinityGroupService;
import org.apache.cloudstack.alert.AlertService;
import org.apache.cloudstack.network.element.InternalLoadBalancerElementService;
@@ -33,7 +35,6 @@ import org.apache.cloudstack.network.lb.ApplicationLoadBalancerService;
import org.apache.cloudstack.network.lb.InternalLoadBalancerVMService;
import org.apache.cloudstack.query.QueryService;
import org.apache.cloudstack.usage.UsageService;
-import org.apache.log4j.Logger;
import com.cloud.configuration.ConfigurationService;
import com.cloud.domain.Domain;
@@ -94,7 +95,7 @@ public abstract class BaseCmd {
public static final DateFormat INPUT_FORMAT = new SimpleDateFormat("yyyy-MM-dd");
public static final DateFormat NEW_INPUT_FORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
public static Pattern newInputDateFormat = Pattern.compile("[\\d]+-[\\d]+-[\\d]+ [\\d]+:[\\d]+:[\\d]+");
- private static final DateFormat _outputFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
+ private static final DateFormat s_outputFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
private Object _responseObject = null;
private Map fullUrlParams;
@@ -153,8 +154,6 @@ public abstract class BaseCmd {
@Inject
public ResourceLimitService _resourceLimitService;
@Inject
- public IdentityService _identityService;
- @Inject
public StorageNetworkService _storageNetworkService;
@Inject
public TaggedResourceService _taggedResourceService;
@@ -191,12 +190,11 @@ public abstract class BaseCmd {
public InternalLoadBalancerVMService _internalLbSvc;
@Inject
public NetworkModel _ntwkModel;
- @Inject
+ @Inject
public AlertService _alertSvc;
-
- public abstract void execute() throws ResourceUnavailableException, InsufficientCapacityException, ServerApiException, ConcurrentOperationException,
- ResourceAllocationException, NetworkRuleConflictException;
+ public abstract void execute() throws ResourceUnavailableException, InsufficientCapacityException, ServerApiException, ConcurrentOperationException,
+ ResourceAllocationException, NetworkRuleConflictException;
public void configure() {
}
@@ -258,8 +256,8 @@ public abstract class BaseCmd {
return "";
}
String formattedString = null;
- synchronized (_outputFormat) {
- formattedString = _outputFormat.format(date);
+ synchronized (s_outputFormat) {
+ formattedString = s_outputFormat.format(date);
}
return formattedString;
}
@@ -359,11 +357,11 @@ public abstract class BaseCmd {
}
public void setFullUrlParams(Map map) {
- this.fullUrlParams = map;
+ fullUrlParams = map;
}
public Map getFullUrlParams() {
- return this.fullUrlParams;
+ return fullUrlParams;
}
public Long finalyzeAccountId(String accountName, Long domainId, Long projectId, boolean enabledOnly) {
diff --git a/api/src/org/apache/cloudstack/api/BaseCustomIdCmd.java b/api/src/org/apache/cloudstack/api/BaseCustomIdCmd.java
index df59b44a56a..8ae746f319e 100644
--- a/api/src/org/apache/cloudstack/api/BaseCustomIdCmd.java
+++ b/api/src/org/apache/cloudstack/api/BaseCustomIdCmd.java
@@ -18,7 +18,9 @@ package org.apache.cloudstack.api;
public abstract class BaseCustomIdCmd extends BaseCmd {
- @Parameter(name=ApiConstants.CUSTOM_ID, type=CommandType.STRING, description="an optional field, in case you want to set a custom id to the resource. Allowed to Root Admins only")
+ @Parameter(name = ApiConstants.CUSTOM_ID,
+ type = CommandType.STRING,
+ description = "an optional field, in case you want to set a custom id to the resource. Allowed to Root Admins only")
private String customId;
public String getCustomId() {
diff --git a/api/src/org/apache/cloudstack/api/BaseListCmd.java b/api/src/org/apache/cloudstack/api/BaseListCmd.java
index dfb3f3b6ba5..c1a4b4c440f 100644
--- a/api/src/org/apache/cloudstack/api/BaseListCmd.java
+++ b/api/src/org/apache/cloudstack/api/BaseListCmd.java
@@ -20,8 +20,8 @@ import com.cloud.exception.InvalidParameterValueException;
public abstract class BaseListCmd extends BaseCmd {
- private static Long MAX_PAGESIZE = null;
- public static Long PAGESIZE_UNLIMITED = -1L;
+ private static Long s_maxPageSize = null;
+ public static Long s_pageSizeUnlimited = -1L;
// ///////////////////////////////////////////////////
// ///////// BaseList API parameters /////////////////
@@ -53,11 +53,11 @@ public abstract class BaseListCmd extends BaseCmd {
}
public Integer getPageSize() {
- if (pageSize != null && MAX_PAGESIZE.longValue() != PAGESIZE_UNLIMITED && pageSize.longValue() > MAX_PAGESIZE.longValue()) {
- throw new InvalidParameterValueException("Page size can't exceed max allowed page size value: " + MAX_PAGESIZE.longValue());
+ if (pageSize != null && s_maxPageSize.longValue() != s_pageSizeUnlimited && pageSize.longValue() > s_maxPageSize.longValue()) {
+ throw new InvalidParameterValueException("Page size can't exceed max allowed page size value: " + s_maxPageSize.longValue());
}
- if (pageSize != null && pageSize.longValue() == PAGESIZE_UNLIMITED && page != null) {
+ if (pageSize != null && pageSize.longValue() == s_pageSizeUnlimited && page != null) {
throw new InvalidParameterValueException("Can't specify page parameter when pagesize is -1 (Unlimited)");
}
@@ -66,11 +66,11 @@ public abstract class BaseListCmd extends BaseCmd {
@Override
public void configure() {
- if (MAX_PAGESIZE == null) {
- if (_configService.getDefaultPageSize().longValue() != PAGESIZE_UNLIMITED) {
- MAX_PAGESIZE = _configService.getDefaultPageSize();
+ if (s_maxPageSize == null) {
+ if (_configService.getDefaultPageSize().longValue() != s_pageSizeUnlimited) {
+ s_maxPageSize = _configService.getDefaultPageSize();
} else {
- MAX_PAGESIZE = PAGESIZE_UNLIMITED;
+ s_maxPageSize = s_pageSizeUnlimited;
}
}
}
@@ -82,12 +82,12 @@ public abstract class BaseListCmd extends BaseCmd {
}
public Long getPageSizeVal() {
- Long defaultPageSize = MAX_PAGESIZE;
+ Long defaultPageSize = s_maxPageSize;
Integer pageSizeInt = getPageSize();
if (pageSizeInt != null) {
defaultPageSize = pageSizeInt.longValue();
}
- if (defaultPageSize.longValue() == PAGESIZE_UNLIMITED) {
+ if (defaultPageSize.longValue() == s_pageSizeUnlimited) {
defaultPageSize = null;
}
diff --git a/api/src/org/apache/cloudstack/api/BaseListTemplateOrIsoPermissionsCmd.java b/api/src/org/apache/cloudstack/api/BaseListTemplateOrIsoPermissionsCmd.java
index c9725a55ee4..48c1e02cfd5 100644
--- a/api/src/org/apache/cloudstack/api/BaseListTemplateOrIsoPermissionsCmd.java
+++ b/api/src/org/apache/cloudstack/api/BaseListTemplateOrIsoPermissionsCmd.java
@@ -27,8 +27,8 @@ import com.cloud.template.VirtualMachineTemplate;
import com.cloud.user.Account;
public class BaseListTemplateOrIsoPermissionsCmd extends BaseCmd {
- public Logger s_logger = getLogger();
- protected String s_name = "listtemplatepermissionsresponse";
+ public Logger logger = getLogger();
+ protected static final String s_name = "listtemplatepermissionsresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -58,6 +58,10 @@ public class BaseListTemplateOrIsoPermissionsCmd extends BaseCmd {
return Account.ACCOUNT_ID_SYSTEM; // no account info given, parent this command to SYSTEM so ERROR events are tracked
}
+ protected Logger getLogger() {
+ return Logger.getLogger(BaseUpdateTemplateOrIsoPermissionsCmd.class);
+ }
+
@Override
public String getCommandName() {
return s_name;
@@ -71,10 +75,6 @@ public class BaseListTemplateOrIsoPermissionsCmd extends BaseCmd {
return "templateOrIso";
}
- protected Logger getLogger() {
- return Logger.getLogger(BaseUpdateTemplateOrIsoPermissionsCmd.class.getName());
- }
-
@Override
public void execute() {
List accountNames = _templateService.listTemplatePermissions(this);
@@ -84,6 +84,6 @@ public class BaseListTemplateOrIsoPermissionsCmd extends BaseCmd {
TemplatePermissionsResponse response = _responseGenerator.createTemplatePermissionsResponse(accountNames, id, isAdmin);
response.setResponseName(getCommandName());
- this.setResponseObject(response);
+ setResponseObject(response);
}
}
diff --git a/api/src/org/apache/cloudstack/api/BaseUpdateTemplateOrIsoPermissionsCmd.java b/api/src/org/apache/cloudstack/api/BaseUpdateTemplateOrIsoPermissionsCmd.java
index 5d054398772..77e5a15b09e 100644
--- a/api/src/org/apache/cloudstack/api/BaseUpdateTemplateOrIsoPermissionsCmd.java
+++ b/api/src/org/apache/cloudstack/api/BaseUpdateTemplateOrIsoPermissionsCmd.java
@@ -27,13 +27,21 @@ import org.apache.cloudstack.api.response.TemplateResponse;
import com.cloud.exception.InvalidParameterValueException;
public abstract class BaseUpdateTemplateOrIsoPermissionsCmd extends BaseCmd {
- public Logger s_logger = getLogger();
- protected String s_name = getResponseName();
+ public Logger _logger = getLogger();
+ protected String _name = getResponseName();
// ///////////////////////////////////////////////////
// ////////////// API parameters /////////////////////
// ///////////////////////////////////////////////////
+ protected Logger getLogger() {
+ return Logger.getLogger(BaseUpdateTemplateOrIsoPermissionsCmd.class);
+ }
+
+ protected String getResponseName() {
+ return "updatetemplateorisopermissionsresponse";
+ }
+
@Parameter(name = ApiConstants.ACCOUNTS,
type = CommandType.LIST,
collectionType = CommandType.STRING,
@@ -109,15 +117,7 @@ public abstract class BaseUpdateTemplateOrIsoPermissionsCmd extends BaseCmd {
@Override
public String getCommandName() {
- return s_name;
- }
-
- protected String getResponseName() {
- return "updatetemplateorisopermissionsresponse";
- }
-
- protected Logger getLogger() {
- return Logger.getLogger(BaseUpdateTemplateOrIsoPermissionsCmd.class.getName());
+ return _name;
}
@Override
@@ -125,7 +125,7 @@ public abstract class BaseUpdateTemplateOrIsoPermissionsCmd extends BaseCmd {
boolean result = _templateService.updateTemplateOrIsoPermissions(this);
if (result) {
SuccessResponse response = new SuccessResponse(getCommandName());
- this.setResponseObject(response);
+ setResponseObject(response);
} else {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to update template/iso permissions");
}
diff --git a/api/src/org/apache/cloudstack/api/ResponseGenerator.java b/api/src/org/apache/cloudstack/api/ResponseGenerator.java
index e7a1b350632..1cb53886a7c 100644
--- a/api/src/org/apache/cloudstack/api/ResponseGenerator.java
+++ b/api/src/org/apache/cloudstack/api/ResponseGenerator.java
@@ -290,7 +290,7 @@ public interface ResponseGenerator {
//ListResponse createSecurityGroupResponses(List extends SecurityGroupRules> networkGroups);
- SecurityGroupResponse createSecurityGroupResponseFromSecurityGroupRule(List extends SecurityRule> SecurityRules);
+ SecurityGroupResponse createSecurityGroupResponseFromSecurityGroupRule(List extends SecurityRule> securityRules);
SecurityGroupResponse createSecurityGroupResponse(SecurityGroup group);
@@ -355,7 +355,7 @@ public interface ResponseGenerator {
VirtualRouterProviderResponse createVirtualRouterProviderResponse(VirtualRouterProvider result);
- OvsProviderResponse createOvsProviderResponse(OvsProvider result);
+ OvsProviderResponse createOvsProviderResponse(OvsProvider result);
StorageNetworkIpRangeResponse createStorageNetworkIpRangeResponse(StorageNetworkIpRange result);
diff --git a/api/src/org/apache/cloudstack/api/ServerApiException.java b/api/src/org/apache/cloudstack/api/ServerApiException.java
index 81184e3f4f3..a8bb2ed71c9 100644
--- a/api/src/org/apache/cloudstack/api/ServerApiException.java
+++ b/api/src/org/apache/cloudstack/api/ServerApiException.java
@@ -82,4 +82,8 @@ public class ServerApiException extends CloudRuntimeException {
_description = description;
}
+ @Override
+ public String getMessage() {
+ return _description;
+ }
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/alert/GenerateAlertCmd.java b/api/src/org/apache/cloudstack/api/command/admin/alert/GenerateAlertCmd.java
index b23a3be9dea..620c5ed8faa 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/alert/GenerateAlertCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/alert/GenerateAlertCmd.java
@@ -31,7 +31,7 @@ import org.apache.log4j.Logger;
import com.cloud.event.EventTypes;
-@APICommand(name = "generateAlert", description = "Generates an alert", responseObject = SuccessResponse.class, since="4.3")
+@APICommand(name = "generateAlert", description = "Generates an alert", responseObject = SuccessResponse.class, since = "4.3")
public class GenerateAlertCmd extends BaseAsyncCmd {
public static final Logger s_logger = Logger.getLogger(GenerateAlertCmd.class.getName());
@@ -42,19 +42,19 @@ public class GenerateAlertCmd extends BaseAsyncCmd {
// ////////////// API parameters /////////////////////
// ///////////////////////////////////////////////////
- @Parameter(name = ApiConstants.TYPE, type = CommandType.SHORT, description = "Type of the alert", required=true)
+ @Parameter(name = ApiConstants.TYPE, type = CommandType.SHORT, description = "Type of the alert", required = true)
private Short type;
- @Parameter(name = ApiConstants.NAME, type = CommandType.STRING, description = "Name of the alert", required=true)
+ @Parameter(name = ApiConstants.NAME, type = CommandType.STRING, description = "Name of the alert", required = true)
private String name;
-
- @Parameter(name = ApiConstants.DESCRIPTION, type = CommandType.STRING, description = "Alert description", required=true)
+
+ @Parameter(name = ApiConstants.DESCRIPTION, type = CommandType.STRING, description = "Alert description", required = true)
private String description;
-
- @Parameter(name=ApiConstants.ZONE_ID, type=CommandType.UUID, entityType=ZoneResponse.class, description="Zone id for which alert is generated")
+
+ @Parameter(name = ApiConstants.ZONE_ID, type = CommandType.UUID, entityType = ZoneResponse.class, description = "Zone id for which alert is generated")
private Long zoneId;
-
- @Parameter(name=ApiConstants.POD_ID, type=CommandType.UUID, entityType=PodResponse.class, description="Pod id for which alert is generated")
+
+ @Parameter(name = ApiConstants.POD_ID, type = CommandType.UUID, entityType = PodResponse.class, description = "Pod id for which alert is generated")
private Long podId;
// ///////////////////////////////////////////////////
@@ -87,14 +87,11 @@ public class GenerateAlertCmd extends BaseAsyncCmd {
public Long getPodId() {
return podId;
}
-
// ///////////////////////////////////////////////////
// ///////////// API Implementation///////////////////
// ///////////////////////////////////////////////////
-
-
@Override
public void execute() {
AlertType alertType = AlertService.AlertType.generateAlert(getType(), getName());
diff --git a/api/src/org/apache/cloudstack/api/command/admin/config/ListCfgsByCmd.java b/api/src/org/apache/cloudstack/api/command/admin/config/ListCfgsByCmd.java
index 2c31dfdc745..517807d4a78 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/config/ListCfgsByCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/config/ListCfgsByCmd.java
@@ -55,25 +55,25 @@ public class ListCfgsByCmd extends BaseListCmd {
type = CommandType.UUID,
entityType = ZoneResponse.class,
description = "the ID of the Zone to update the parameter value for corresponding zone")
- private Long zone_id;
+ private Long zoneId;
@Parameter(name = ApiConstants.CLUSTER_ID,
type = CommandType.UUID,
entityType = ClusterResponse.class,
description = "the ID of the Cluster to update the parameter value for corresponding cluster")
- private Long cluster_id;
+ private Long clusterId;
@Parameter(name = ApiConstants.STORAGE_ID,
type = CommandType.UUID,
entityType = StoragePoolResponse.class,
description = "the ID of the Storage pool to update the parameter value for corresponding storage pool")
- private Long storagepool_id;
+ private Long storagePoolId;
@Parameter(name = ApiConstants.ACCOUNT_ID,
type = CommandType.UUID,
entityType = AccountResponse.class,
description = "the ID of the Account to update the parameter value for corresponding account")
- private Long account_id;
+ private Long accountId;
// ///////////////////////////////////////////////////
// ///////////////// Accessors ///////////////////////
@@ -88,19 +88,19 @@ public class ListCfgsByCmd extends BaseListCmd {
}
public Long getZoneId() {
- return zone_id;
+ return zoneId;
}
public Long getClusterId() {
- return cluster_id;
+ return clusterId;
}
public Long getStoragepoolId() {
- return storagepool_id;
+ return storagePoolId;
}
public Long getAccountId() {
- return account_id;
+ return accountId;
}
@Override
@@ -108,7 +108,7 @@ public class ListCfgsByCmd extends BaseListCmd {
Long defaultPageSize = 500L;
Integer pageSizeInt = getPageSize();
if (pageSizeInt != null) {
- if (pageSizeInt.longValue() == PAGESIZE_UNLIMITED) {
+ if (pageSizeInt.longValue() == s_pageSizeUnlimited) {
defaultPageSize = null;
} else {
defaultPageSize = pageSizeInt.longValue();
@@ -151,6 +151,6 @@ public class ListCfgsByCmd extends BaseListCmd {
response.setResponses(configResponses, result.second());
response.setResponseName(getCommandName());
- this.setResponseObject(response);
+ setResponseObject(response);
}
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/config/UpdateCfgCmd.java b/api/src/org/apache/cloudstack/api/command/admin/config/UpdateCfgCmd.java
index fe6e3d65538..9bc9b3cbb5c 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/config/UpdateCfgCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/config/UpdateCfgCmd.java
@@ -52,25 +52,25 @@ public class UpdateCfgCmd extends BaseCmd {
type = CommandType.UUID,
entityType = ZoneResponse.class,
description = "the ID of the Zone to update the parameter value for corresponding zone")
- private Long zone_id;
+ private Long zoneId;
@Parameter(name = ApiConstants.CLUSTER_ID,
type = CommandType.UUID,
entityType = ClusterResponse.class,
description = "the ID of the Cluster to update the parameter value for corresponding cluster")
- private Long cluster_id;
+ private Long clusterId;
@Parameter(name = ApiConstants.STORAGE_ID,
type = CommandType.UUID,
entityType = StoragePoolResponse.class,
description = "the ID of the Storage pool to update the parameter value for corresponding storage pool")
- private Long storagepool_id;
+ private Long storagePoolId;
@Parameter(name = ApiConstants.ACCOUNT_ID,
type = CommandType.UUID,
entityType = AccountResponse.class,
description = "the ID of the Account to update the parameter value for corresponding account")
- private Long account_id;
+ private Long accountId;
/////////////////////////////////////////////////////
/////////////////// Accessors ///////////////////////
@@ -85,19 +85,19 @@ public class UpdateCfgCmd extends BaseCmd {
}
public Long getZoneId() {
- return zone_id;
+ return zoneId;
}
public Long getClusterId() {
- return cluster_id;
+ return clusterId;
}
public Long getStoragepoolId() {
- return storagepool_id;
+ return storagePoolId;
}
public Long getAccountId() {
- return account_id;
+ return accountId;
}
/////////////////////////////////////////////////////
diff --git a/api/src/org/apache/cloudstack/api/command/admin/host/AddSecondaryStorageCmd.java b/api/src/org/apache/cloudstack/api/command/admin/host/AddSecondaryStorageCmd.java
index 61f6f49091c..b573bea3e84 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/host/AddSecondaryStorageCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/host/AddSecondaryStorageCmd.java
@@ -24,7 +24,6 @@ import org.apache.cloudstack.api.ApiErrorCode;
import org.apache.cloudstack.api.BaseCmd;
import org.apache.cloudstack.api.Parameter;
import org.apache.cloudstack.api.ServerApiException;
-import org.apache.cloudstack.api.command.admin.storage.AddImageStoreCmd;
import org.apache.cloudstack.api.response.ImageStoreResponse;
import org.apache.cloudstack.api.response.ZoneResponse;
@@ -74,20 +73,15 @@ public class AddSecondaryStorageCmd extends BaseCmd {
}
@Override
- public void execute() {
- AddImageStoreCmd cmd = new AddImageStoreCmd();
- cmd.setUrl(this.getUrl());
- cmd.setZoneId(this.getZoneId());
- cmd.setProviderName("NFS");
-
- try {
- ImageStore result = _storageService.discoverImageStore(cmd);
+ public void execute(){
+ try{
+ ImageStore result = _storageService.discoverImageStore(null, getUrl(), "NFS", getZoneId(), null);
ImageStoreResponse storeResponse = null;
- if (result != null) {
- storeResponse = _responseGenerator.createImageStoreResponse(result);
- storeResponse.setResponseName(getCommandName());
- storeResponse.setObjectName("secondarystorage");
- this.setResponseObject(storeResponse);
+ if (result != null ) {
+ storeResponse = _responseGenerator.createImageStoreResponse(result);
+ storeResponse.setResponseName(getCommandName());
+ storeResponse.setObjectName("secondarystorage");
+ setResponseObject(storeResponse);
} else {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to add secondary storage");
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/internallb/ListInternalLoadBalancerElementsCmd.java b/api/src/org/apache/cloudstack/api/command/admin/internallb/ListInternalLoadBalancerElementsCmd.java
index df7135af211..a42a0b306af 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/internallb/ListInternalLoadBalancerElementsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/internallb/ListInternalLoadBalancerElementsCmd.java
@@ -45,7 +45,7 @@ import com.cloud.network.VirtualRouterProvider;
since = "4.2.0")
public class ListInternalLoadBalancerElementsCmd extends BaseListCmd {
public static final Logger s_logger = Logger.getLogger(ListInternalLoadBalancerElementsCmd.class.getName());
- private static final String _name = "listinternalloadbalancerelementsresponse";
+ private static final String Name = "listinternalloadbalancerelementsresponse";
@Inject
private InternalLoadBalancerElementService _service;
@@ -86,7 +86,7 @@ public class ListInternalLoadBalancerElementsCmd extends BaseListCmd {
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
diff --git a/api/src/org/apache/cloudstack/api/command/admin/network/CreateNetworkOfferingCmd.java b/api/src/org/apache/cloudstack/api/command/admin/network/CreateNetworkOfferingCmd.java
index bdf047233ad..5614295f905 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/network/CreateNetworkOfferingCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/network/CreateNetworkOfferingCmd.java
@@ -44,7 +44,7 @@ import com.cloud.user.Account;
@APICommand(name = "createNetworkOffering", description = "Creates a network offering.", responseObject = NetworkOfferingResponse.class, since = "3.0.0")
public class CreateNetworkOfferingCmd extends BaseCmd {
public static final Logger s_logger = Logger.getLogger(CreateNetworkOfferingCmd.class.getName());
- private static final String _name = "createnetworkofferingresponse";
+ private static final String Name = "createnetworkofferingresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -164,7 +164,7 @@ public class CreateNetworkOfferingCmd extends BaseCmd {
}
public static String getName() {
- return _name;
+ return Name;
}
public Long getServiceOfferingId() {
@@ -281,7 +281,7 @@ public class CreateNetworkOfferingCmd extends BaseCmd {
/////////////////////////////////////////////////////
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
@@ -295,7 +295,7 @@ public class CreateNetworkOfferingCmd extends BaseCmd {
if (result != null) {
NetworkOfferingResponse response = _responseGenerator.createNetworkOfferingResponse(result);
response.setResponseName(getCommandName());
- this.setResponseObject(response);
+ setResponseObject(response);
} else {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to create network offering");
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/network/ListNetworkServiceProvidersCmd.java b/api/src/org/apache/cloudstack/api/command/admin/network/ListNetworkServiceProvidersCmd.java
index 25d5d0fd631..5a1235b7b61 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/network/ListNetworkServiceProvidersCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/network/ListNetworkServiceProvidersCmd.java
@@ -39,7 +39,7 @@ import com.cloud.utils.Pair;
since = "3.0.0")
public class ListNetworkServiceProvidersCmd extends BaseListCmd {
public static final Logger s_logger = Logger.getLogger(ListNetworkServiceProvidersCmd.class.getName());
- private static final String _name = "listnetworkserviceprovidersresponse";
+ private static final String Name = "listnetworkserviceprovidersresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -79,7 +79,7 @@ public class ListNetworkServiceProvidersCmd extends BaseListCmd {
/////////////////////////////////////////////////////
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
diff --git a/api/src/org/apache/cloudstack/api/command/admin/network/ListStorageNetworkIpRangeCmd.java b/api/src/org/apache/cloudstack/api/command/admin/network/ListStorageNetworkIpRangeCmd.java
index 0b17666e3c7..89cba471041 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/network/ListStorageNetworkIpRangeCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/network/ListStorageNetworkIpRangeCmd.java
@@ -43,7 +43,7 @@ import com.cloud.user.Account;
public class ListStorageNetworkIpRangeCmd extends BaseListCmd {
public static final Logger s_logger = Logger.getLogger(ListStorageNetworkIpRangeCmd.class);
- String s_name = "liststoragenetworkiprangeresponse";
+ String _name = "liststoragenetworkiprangeresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -105,7 +105,7 @@ public class ListStorageNetworkIpRangeCmd extends BaseListCmd {
@Override
public String getCommandName() {
- return s_name;
+ return _name;
}
@Override
diff --git a/api/src/org/apache/cloudstack/api/command/admin/network/ListSupportedNetworkServicesCmd.java b/api/src/org/apache/cloudstack/api/command/admin/network/ListSupportedNetworkServicesCmd.java
index 240c03362cb..342f9b04d88 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/network/ListSupportedNetworkServicesCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/network/ListSupportedNetworkServicesCmd.java
@@ -39,7 +39,7 @@ import com.cloud.user.Account;
since = "3.0.0")
public class ListSupportedNetworkServicesCmd extends BaseListCmd {
public static final Logger s_logger = Logger.getLogger(ListSupportedNetworkServicesCmd.class.getName());
- private static final String _name = "listsupportednetworkservicesresponse";
+ private static final String Name = "listsupportednetworkservicesresponse";
@Parameter(name = ApiConstants.PROVIDER, type = CommandType.STRING, description = "network service provider name")
private String providerName;
@@ -72,7 +72,7 @@ public class ListSupportedNetworkServicesCmd extends BaseListCmd {
/////////////////////////////////////////////////////
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
diff --git a/api/src/org/apache/cloudstack/api/command/admin/network/UpdateNetworkOfferingCmd.java b/api/src/org/apache/cloudstack/api/command/admin/network/UpdateNetworkOfferingCmd.java
index aaff5a1c46b..957450f78f7 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/network/UpdateNetworkOfferingCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/network/UpdateNetworkOfferingCmd.java
@@ -32,7 +32,7 @@ import com.cloud.user.Account;
@APICommand(name = "updateNetworkOffering", description = "Updates a network offering.", responseObject = NetworkOfferingResponse.class)
public class UpdateNetworkOfferingCmd extends BaseCmd {
public static final Logger s_logger = Logger.getLogger(UpdateNetworkOfferingCmd.class.getName());
- private static final String _name = "updatenetworkofferingresponse";
+ private static final String Name = "updatenetworkofferingresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -109,7 +109,7 @@ public class UpdateNetworkOfferingCmd extends BaseCmd {
/////////////////////////////////////////////////////
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
diff --git a/api/src/org/apache/cloudstack/api/command/admin/offering/CreateServiceOfferingCmd.java b/api/src/org/apache/cloudstack/api/command/admin/offering/CreateServiceOfferingCmd.java
index 7dd87e1761c..6f9693cbcb0 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/offering/CreateServiceOfferingCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/offering/CreateServiceOfferingCmd.java
@@ -36,7 +36,7 @@ import com.cloud.user.Account;
@APICommand(name = "createServiceOffering", description = "Creates a service offering.", responseObject = ServiceOfferingResponse.class)
public class CreateServiceOfferingCmd extends BaseCmd {
public static final Logger s_logger = Logger.getLogger(CreateServiceOfferingCmd.class.getName());
- private static final String _name = "createserviceofferingresponse";
+ private static final String Name = "createserviceofferingresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -220,7 +220,7 @@ public class CreateServiceOfferingCmd extends BaseCmd {
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
diff --git a/api/src/org/apache/cloudstack/api/command/admin/resource/ListAlertsCmd.java b/api/src/org/apache/cloudstack/api/command/admin/resource/ListAlertsCmd.java
index 2fc4084e0ab..397b00a034e 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/resource/ListAlertsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/resource/ListAlertsCmd.java
@@ -46,8 +46,8 @@ public class ListAlertsCmd extends BaseListCmd {
@Parameter(name = ApiConstants.TYPE, type = CommandType.STRING, description = "list by alert type")
private String type;
-
- @Parameter(name = ApiConstants.NAME, type = CommandType.STRING, description = "list by alert name", since="4.3")
+
+ @Parameter(name = ApiConstants.NAME, type = CommandType.STRING, description = "list by alert name", since = "4.3")
private String name;
// ///////////////////////////////////////////////////
@@ -61,7 +61,7 @@ public class ListAlertsCmd extends BaseListCmd {
public String getType() {
return type;
}
-
+
public String getName() {
return name;
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/router/ConfigureOvsElementCmd.java b/api/src/org/apache/cloudstack/api/command/admin/router/ConfigureOvsElementCmd.java
index 26cfb31a69d..75b08b1fab5 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/router/ConfigureOvsElementCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/router/ConfigureOvsElementCmd.java
@@ -41,92 +41,92 @@ import com.cloud.user.Account;
@APICommand(name = "configureOvsElement", responseObject = OvsProviderResponse.class, description = "Configures an ovs element.")
public class ConfigureOvsElementCmd extends BaseAsyncCmd {
- public static final Logger s_logger = Logger
- .getLogger(ConfigureOvsElementCmd.class.getName());
- private static final String s_name = "configureovselementresponse";
- @Inject
- private List _service;
+ public static final Logger s_logger = Logger
+ .getLogger(ConfigureOvsElementCmd.class.getName());
+ private static final String s_name = "configureovselementresponse";
+ @Inject
+ private List _service;
- // ///////////////////////////////////////////////////
- // ////////////// API parameters /////////////////////
- // ///////////////////////////////////////////////////
+ // ///////////////////////////////////////////////////
+ // ////////////// API parameters /////////////////////
+ // ///////////////////////////////////////////////////
- @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = OvsProviderResponse.class, required = true, description = "the ID of the ovs provider")
- private Long id;
+ @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = OvsProviderResponse.class, required = true, description = "the ID of the ovs provider")
+ private Long id;
- @Parameter(name = ApiConstants.ENABLED, type = CommandType.BOOLEAN, required = true, description = "Enabled/Disabled the service provider")
- private Boolean enabled;
+ @Parameter(name = ApiConstants.ENABLED, type = CommandType.BOOLEAN, required = true, description = "Enabled/Disabled the service provider")
+ private Boolean enabled;
- // ///////////////////////////////////////////////////
- // ///////////////// Accessors ///////////////////////
- // ///////////////////////////////////////////////////
- public void setId(Long id) {
- this.id = id;
- }
+ // ///////////////////////////////////////////////////
+ // ///////////////// Accessors ///////////////////////
+ // ///////////////////////////////////////////////////
+ public void setId(Long id) {
+ this.id = id;
+ }
- public Long getId() {
- return id;
- }
+ public Long getId() {
+ return id;
+ }
- public void setEnabled(Boolean enabled) {
- this.enabled = enabled;
- }
+ public void setEnabled(Boolean enabled) {
+ this.enabled = enabled;
+ }
- public Boolean getEnabled() {
- return enabled;
- }
+ public Boolean getEnabled() {
+ return enabled;
+ }
- // ///////////////////////////////////////////////////
- // ///////////// API Implementation///////////////////
- // ///////////////////////////////////////////////////
+ // ///////////////////////////////////////////////////
+ // ///////////// API Implementation///////////////////
+ // ///////////////////////////////////////////////////
- @Override
- public String getCommandName() {
- return s_name;
- }
+ @Override
+ public String getCommandName() {
+ return s_name;
+ }
- public static String getResultObjectName() {
- return "boolean";
- }
+ public static String getResultObjectName() {
+ return "boolean";
+ }
- @Override
- public long getEntityOwnerId() {
- return Account.ACCOUNT_ID_SYSTEM;
- }
+ @Override
+ public long getEntityOwnerId() {
+ return Account.ACCOUNT_ID_SYSTEM;
+ }
- @Override
- public String getEventType() {
- return EventTypes.EVENT_NETWORK_ELEMENT_CONFIGURE;
- }
+ @Override
+ public String getEventType() {
+ return EventTypes.EVENT_NETWORK_ELEMENT_CONFIGURE;
+ }
- @Override
- public String getEventDescription() {
- return "configuring ovs provider: " + id;
- }
+ @Override
+ public String getEventDescription() {
+ return "configuring ovs provider: " + id;
+ }
- @Override
- public ApiCommandJobType getInstanceType() {
- return ApiCommandJobType.None;
- }
+ @Override
+ public ApiCommandJobType getInstanceType() {
+ return ApiCommandJobType.None;
+ }
- @Override
- public Long getInstanceId() {
- return id;
- }
+ @Override
+ public Long getInstanceId() {
+ return id;
+ }
- @Override
- public void execute() throws ConcurrentOperationException,
- ResourceUnavailableException, InsufficientCapacityException {
- CallContext.current().setEventDetails("Ovs element: " + id);
- OvsProvider result = _service.get(0).configure(this);
- if (result != null) {
- OvsProviderResponse ovsResponse = _responseGenerator
- .createOvsProviderResponse(result);
- ovsResponse.setResponseName(getCommandName());
- this.setResponseObject(ovsResponse);
- } else {
- throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR,
- "Failed to configure the ovs provider");
- }
- }
+ @Override
+ public void execute() throws ConcurrentOperationException,
+ ResourceUnavailableException, InsufficientCapacityException {
+ CallContext.current().setEventDetails("Ovs element: " + id);
+ OvsProvider result = _service.get(0).configure(this);
+ if (result != null) {
+ OvsProviderResponse ovsResponse = _responseGenerator
+ .createOvsProviderResponse(result);
+ ovsResponse.setResponseName(getCommandName());
+ this.setResponseObject(ovsResponse);
+ } else {
+ throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR,
+ "Failed to configure the ovs provider");
+ }
+ }
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/router/ListOvsElementsCmd.java b/api/src/org/apache/cloudstack/api/command/admin/router/ListOvsElementsCmd.java
index 9f5feeedc26..d5f73fd742a 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/router/ListOvsElementsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/router/ListOvsElementsCmd.java
@@ -41,62 +41,64 @@ import com.cloud.network.element.VirtualRouterElementService;
@APICommand(name = "listOvsElements", description = "Lists all available ovs elements.", responseObject = OvsProviderResponse.class)
public class ListOvsElementsCmd extends BaseListCmd {
- public static final Logger s_logger = Logger
- .getLogger(ListNetworkOfferingsCmd.class.getName());
- private static final String _name = "listovselementsresponse";
- @Inject
- private List _service;
- // ///////////////////////////////////////////////////
- // ////////////// API parameters /////////////////////
- // ///////////////////////////////////////////////////
- @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = OvsProviderResponse.class, description = "list ovs elements by id")
- private Long id;
+ public static final Logger s_logger = Logger
+ .getLogger(ListNetworkOfferingsCmd.class.getName());
+ private static final String Name = "listovselementsresponse";
+ @Inject
+ private List _service;
+ // ///////////////////////////////////////////////////
+ // ////////////// API parameters /////////////////////
+ // ///////////////////////////////////////////////////
+ @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = OvsProviderResponse.class, description = "list ovs elements by id")
+ private Long id;
- @Parameter(name = ApiConstants.NSP_ID, type = CommandType.UUID, entityType = ProviderResponse.class, description = "list ovs elements by network service provider id")
- private Long nspId;
+ @Parameter(name = ApiConstants.NSP_ID, type = CommandType.UUID, entityType = ProviderResponse.class, description = "list ovs elements by network service provider id")
+ private Long nspId;
- @Parameter(name = ApiConstants.ENABLED, type = CommandType.BOOLEAN, description = "list network offerings by enabled state")
- private Boolean enabled;
+ @Parameter(name = ApiConstants.ENABLED, type = CommandType.BOOLEAN, description = "list network offerings by enabled state")
+ private Boolean enabled;
- // ///////////////////////////////////////////////////
- // ///////////////// Accessors ///////////////////////
- // ///////////////////////////////////////////////////
+ // ///////////////////////////////////////////////////
+ // ///////////////// Accessors ///////////////////////
+ // ///////////////////////////////////////////////////
- public void setId(Long id) {
- this.id = id;
- }
+ public void setId(Long id) {
+ this.id = id;
+ }
- public Long getId() {
- return id;
- }
+ public Long getId() {
+ return id;
+ }
- public void setNspId(Long nspId) {
- this.nspId = nspId;
- }
+ public void setNspId(Long nspId) {
+ this.nspId = nspId;
+ }
- public Long getNspId() {
- return nspId;
- }
+ public Long getNspId() {
+ return nspId;
+ }
- public void setEnabled(Boolean enabled) {
- this.enabled = enabled;
- }
+ public void setEnabled(Boolean enabled) {
+ this.enabled = enabled;
+ }
- public Boolean getEnabled() {
- return enabled;
- }
+ public Boolean getEnabled() {
+ return enabled;
+ }
- @Override
- public String getCommandName() {
- return _name;
- }
- @Override
- public void execute() throws ResourceUnavailableException, InsufficientCapacityException, ServerApiException, ConcurrentOperationException, ResourceAllocationException {
+ @Override
+ public String getCommandName() {
+ return Name;
+ }
+
+ @Override
+ public void execute() throws ResourceUnavailableException, InsufficientCapacityException, ServerApiException, ConcurrentOperationException,
+ ResourceAllocationException {
List extends OvsProvider> providers = _service.get(0).searchForOvsElement(this);
ListResponse response = new ListResponse();
List providerResponses = new ArrayList();
for (OvsProvider provider : providers) {
- OvsProviderResponse providerResponse = _responseGenerator.createOvsProviderResponse(provider);
+ OvsProviderResponse providerResponse = _responseGenerator.createOvsProviderResponse(provider);
providerResponses.add(providerResponse);
}
response.setResponses(providerResponses);
diff --git a/api/src/org/apache/cloudstack/api/command/admin/router/ListVirtualRouterElementsCmd.java b/api/src/org/apache/cloudstack/api/command/admin/router/ListVirtualRouterElementsCmd.java
index 4f04018833c..6f1792145be 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/router/ListVirtualRouterElementsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/router/ListVirtualRouterElementsCmd.java
@@ -43,7 +43,7 @@ import com.cloud.network.element.VirtualRouterElementService;
@APICommand(name = "listVirtualRouterElements", description = "Lists all available virtual router elements.", responseObject = VirtualRouterProviderResponse.class)
public class ListVirtualRouterElementsCmd extends BaseListCmd {
public static final Logger s_logger = Logger.getLogger(ListNetworkOfferingsCmd.class.getName());
- private static final String _name = "listvirtualrouterelementsresponse";
+ private static final String Name = "listvirtualrouterelementsresponse";
// TODO, VirtualRouterElementServer is not singleton in system!
@Inject
@@ -94,7 +94,7 @@ public class ListVirtualRouterElementsCmd extends BaseListCmd {
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
diff --git a/api/src/org/apache/cloudstack/api/command/admin/router/UpgradeRouterTemplateCmd.java b/api/src/org/apache/cloudstack/api/command/admin/router/UpgradeRouterTemplateCmd.java
index 3a20a515b8c..49477452142 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/router/UpgradeRouterTemplateCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/router/UpgradeRouterTemplateCmd.java
@@ -26,7 +26,6 @@ import org.apache.cloudstack.api.ApiErrorCode;
import org.apache.cloudstack.api.BaseResponse;
import org.apache.cloudstack.api.Parameter;
import org.apache.cloudstack.api.ServerApiException;
-import org.apache.cloudstack.api.response.AccountResponse;
import org.apache.cloudstack.api.response.ClusterResponse;
import org.apache.cloudstack.api.response.DomainResponse;
import org.apache.cloudstack.api.response.DomainRouterResponse;
@@ -65,11 +64,9 @@ public class UpgradeRouterTemplateCmd extends org.apache.cloudstack.api.BaseCmd
@Parameter(name = ApiConstants.ZONE_ID, type = CommandType.UUID, entityType = ZoneResponse.class, description = "upgrades all routers within the specified zone")
private Long zoneId;
- @Parameter(name = ApiConstants.ACCOUNT_ID,
- type = CommandType.UUID,
- entityType = AccountResponse.class,
- description = "upgrades all routers owned by the specified account")
- private Long accountId;
+ @Parameter(name=ApiConstants.ACCOUNT, type=CommandType.STRING,
+ description="upgrades all routers owned by the specified account")
+ private String account;
@Parameter(name = ApiConstants.DOMAIN_ID,
type = CommandType.UUID,
@@ -97,8 +94,8 @@ public class UpgradeRouterTemplateCmd extends org.apache.cloudstack.api.BaseCmd
return zoneId;
}
- public Long getAccountId() {
- return accountId;
+ public String getAccount() {
+ return account;
}
public Long getDomainId() {
@@ -134,7 +131,7 @@ public class UpgradeRouterTemplateCmd extends org.apache.cloudstack.api.BaseCmd
if (result != null) {
ListResponse response = _responseGenerator.createUpgradeRouterTemplateResponse(result);
response.setResponseName(getCommandName());
- this.setResponseObject(response);
+ setResponseObject(response);
} else {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to upgrade router template");
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/storage/AddImageStoreCmd.java b/api/src/org/apache/cloudstack/api/command/admin/storage/AddImageStoreCmd.java
index 5dcedff2392..5e5bd3dcde5 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/storage/AddImageStoreCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/storage/AddImageStoreCmd.java
@@ -95,7 +95,7 @@ public class AddImageStoreCmd extends BaseCmd {
}
public String getProviderName() {
- return this.providerName;
+ return providerName;
}
public void setUrl(String url) {
@@ -129,15 +129,15 @@ public class AddImageStoreCmd extends BaseCmd {
}
@Override
- public void execute() {
- try {
- ImageStore result = _storageService.discoverImageStore(this);
+ public void execute(){
+ try{
+ ImageStore result = _storageService.discoverImageStore(getName(), getUrl(), getProviderName(), getZoneId(), getDetails());
ImageStoreResponse storeResponse = null;
if (result != null) {
storeResponse = _responseGenerator.createImageStoreResponse(result);
storeResponse.setResponseName(getCommandName());
storeResponse.setObjectName("imagestore");
- this.setResponseObject(storeResponse);
+ setResponseObject(storeResponse);
} else {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to add secondary storage");
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/storage/AddS3Cmd.java b/api/src/org/apache/cloudstack/api/command/admin/storage/AddS3Cmd.java
index cc6680bcac4..32897e4d59d 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/storage/AddS3Cmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/storage/AddS3Cmd.java
@@ -56,7 +56,7 @@ import com.cloud.storage.ImageStore;
public final class AddS3Cmd extends BaseCmd {
public static final Logger s_logger = Logger.getLogger(AddS3Cmd.class.getName());
- private static String COMMAND_NAME = "adds3response";
+ private static final String COMMAND_NAME = "adds3response";
@Parameter(name = S3_ACCESS_KEY, type = STRING, required = true, description = "S3 access key")
private String accessKey;
@@ -65,60 +65,54 @@ public final class AddS3Cmd extends BaseCmd {
private String secretKey;
@Parameter(name = S3_END_POINT, type = STRING, required = false, description = "S3 host name")
- private String endPoint = null;
+ private final String endPoint = null;
@Parameter(name = S3_BUCKET_NAME, type = STRING, required = true, description = "name of the template storage bucket")
private String bucketName;
@Parameter(name = S3_HTTPS_FLAG, type = BOOLEAN, required = false, description = "connect to the S3 endpoint via HTTPS?")
- private Boolean httpsFlag = null;
+ private final Boolean httpsFlag = null;
@Parameter(name = S3_CONNECTION_TIMEOUT, type = INTEGER, required = false, description = "connection timeout (milliseconds)")
- private Integer connectionTimeout = null;
+ private final Integer connectionTimeout = null;
@Parameter(name = S3_MAX_ERROR_RETRY, type = INTEGER, required = false, description = "maximum number of times to retry on error")
- private Integer maxErrorRetry = null;
+ private final Integer maxErrorRetry = null;
@Parameter(name = S3_SOCKET_TIMEOUT, type = INTEGER, required = false, description = "socket timeout (milliseconds)")
- private Integer socketTimeout = null;
+ private final Integer socketTimeout = null;
@Override
public void execute() throws ResourceUnavailableException, InsufficientCapacityException, ServerApiException, ConcurrentOperationException,
ResourceAllocationException, NetworkRuleConflictException {
- AddImageStoreCmd cmd = new AddImageStoreCmd() {
- @Override
- public Map getDetails() {
- Map dm = new HashMap();
- dm.put(ApiConstants.S3_ACCESS_KEY, getAccessKey());
- dm.put(ApiConstants.S3_SECRET_KEY, getSecretKey());
- dm.put(ApiConstants.S3_END_POINT, getEndPoint());
- dm.put(ApiConstants.S3_BUCKET_NAME, getBucketName());
- if (getHttpsFlag() != null) {
- dm.put(ApiConstants.S3_HTTPS_FLAG, getHttpsFlag().toString());
- }
- if (getConnectionTimeout() != null) {
- dm.put(ApiConstants.S3_CONNECTION_TIMEOUT, getConnectionTimeout().toString());
- }
- if (getMaxErrorRetry() != null) {
- dm.put(ApiConstants.S3_MAX_ERROR_RETRY, getMaxErrorRetry().toString());
- }
- if (getSocketTimeout() != null) {
- dm.put(ApiConstants.S3_SOCKET_TIMEOUT, getSocketTimeout().toString());
- }
- return dm;
- }
- };
- cmd.setProviderName("S3");
+ Map dm = new HashMap();
+ dm.put(ApiConstants.S3_ACCESS_KEY, getAccessKey());
+ dm.put(ApiConstants.S3_SECRET_KEY, getSecretKey());
+ dm.put(ApiConstants.S3_END_POINT, getEndPoint());
+ dm.put(ApiConstants.S3_BUCKET_NAME, getBucketName());
+ if (getHttpsFlag() != null) {
+ dm.put(ApiConstants.S3_HTTPS_FLAG, getHttpsFlag().toString());
+ }
+ if (getConnectionTimeout() != null) {
+ dm.put(ApiConstants.S3_CONNECTION_TIMEOUT, getConnectionTimeout().toString());
+ }
+ if (getMaxErrorRetry() != null) {
+ dm.put(ApiConstants.S3_MAX_ERROR_RETRY, getMaxErrorRetry().toString());
+ }
+ if (getSocketTimeout() != null) {
+ dm.put(ApiConstants.S3_SOCKET_TIMEOUT, getSocketTimeout().toString());
+ }
- try {
- ImageStore result = _storageService.discoverImageStore(cmd);
+
+ try{
+ ImageStore result = _storageService.discoverImageStore(null, null, "S3", null, dm);
ImageStoreResponse storeResponse = null;
if (result != null) {
storeResponse = _responseGenerator.createImageStoreResponse(result);
storeResponse.setResponseName(getCommandName());
storeResponse.setObjectName("secondarystorage");
- this.setResponseObject(storeResponse);
+ setResponseObject(storeResponse);
} else {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to add S3 secondary storage");
}
@@ -141,35 +135,35 @@ public final class AddS3Cmd extends BaseCmd {
final AddS3Cmd thatAddS3Cmd = (AddS3Cmd)thatObject;
- if (this.httpsFlag != null ? !this.httpsFlag.equals(thatAddS3Cmd.httpsFlag) : thatAddS3Cmd.httpsFlag != null) {
+ if (httpsFlag != null ? !httpsFlag.equals(thatAddS3Cmd.httpsFlag) : thatAddS3Cmd.httpsFlag != null) {
return false;
}
- if (this.accessKey != null ? !this.accessKey.equals(thatAddS3Cmd.accessKey) : thatAddS3Cmd.accessKey != null) {
+ if (accessKey != null ? !accessKey.equals(thatAddS3Cmd.accessKey) : thatAddS3Cmd.accessKey != null) {
return false;
}
- if (this.connectionTimeout != null ? !this.connectionTimeout.equals(thatAddS3Cmd.connectionTimeout) : thatAddS3Cmd.connectionTimeout != null) {
+ if (connectionTimeout != null ? !connectionTimeout.equals(thatAddS3Cmd.connectionTimeout) : thatAddS3Cmd.connectionTimeout != null) {
return false;
}
- if (this.endPoint != null ? !this.endPoint.equals(thatAddS3Cmd.endPoint) : thatAddS3Cmd.endPoint != null) {
+ if (endPoint != null ? !endPoint.equals(thatAddS3Cmd.endPoint) : thatAddS3Cmd.endPoint != null) {
return false;
}
- if (this.maxErrorRetry != null ? !this.maxErrorRetry.equals(thatAddS3Cmd.maxErrorRetry) : thatAddS3Cmd.maxErrorRetry != null) {
+ if (maxErrorRetry != null ? !maxErrorRetry.equals(thatAddS3Cmd.maxErrorRetry) : thatAddS3Cmd.maxErrorRetry != null) {
return false;
}
- if (this.secretKey != null ? !this.secretKey.equals(thatAddS3Cmd.secretKey) : thatAddS3Cmd.secretKey != null) {
+ if (secretKey != null ? !secretKey.equals(thatAddS3Cmd.secretKey) : thatAddS3Cmd.secretKey != null) {
return false;
}
- if (this.socketTimeout != null ? !this.socketTimeout.equals(thatAddS3Cmd.socketTimeout) : thatAddS3Cmd.socketTimeout != null) {
+ if (socketTimeout != null ? !socketTimeout.equals(thatAddS3Cmd.socketTimeout) : thatAddS3Cmd.socketTimeout != null) {
return false;
}
- if (this.bucketName != null ? !this.bucketName.equals(thatAddS3Cmd.bucketName) : thatAddS3Cmd.bucketName != null) {
+ if (bucketName != null ? !bucketName.equals(thatAddS3Cmd.bucketName) : thatAddS3Cmd.bucketName != null) {
return false;
}
@@ -180,14 +174,14 @@ public final class AddS3Cmd extends BaseCmd {
@Override
public int hashCode() {
- int result = this.accessKey != null ? this.accessKey.hashCode() : 0;
- result = 31 * result + (this.secretKey != null ? this.secretKey.hashCode() : 0);
- result = 31 * result + (this.endPoint != null ? this.endPoint.hashCode() : 0);
- result = 31 * result + (this.bucketName != null ? this.bucketName.hashCode() : 0);
- result = 31 * result + (this.httpsFlag != null && this.httpsFlag == true ? 1 : 0);
- result = 31 * result + (this.connectionTimeout != null ? this.connectionTimeout.hashCode() : 0);
- result = 31 * result + (this.maxErrorRetry != null ? this.maxErrorRetry.hashCode() : 0);
- result = 31 * result + (this.socketTimeout != null ? this.socketTimeout.hashCode() : 0);
+ int result = accessKey != null ? accessKey.hashCode() : 0;
+ result = 31 * result + (secretKey != null ? secretKey.hashCode() : 0);
+ result = 31 * result + (endPoint != null ? endPoint.hashCode() : 0);
+ result = 31 * result + (bucketName != null ? bucketName.hashCode() : 0);
+ result = 31 * result + (httpsFlag != null && httpsFlag == true ? 1 : 0);
+ result = 31 * result + (connectionTimeout != null ? connectionTimeout.hashCode() : 0);
+ result = 31 * result + (maxErrorRetry != null ? maxErrorRetry.hashCode() : 0);
+ result = 31 * result + (socketTimeout != null ? socketTimeout.hashCode() : 0);
return result;
@@ -204,35 +198,35 @@ public final class AddS3Cmd extends BaseCmd {
}
public String getAccessKey() {
- return this.accessKey;
+ return accessKey;
}
public String getSecretKey() {
- return this.secretKey;
+ return secretKey;
}
public String getEndPoint() {
- return this.endPoint;
+ return endPoint;
}
public String getBucketName() {
- return this.bucketName;
+ return bucketName;
}
public Boolean getHttpsFlag() {
- return this.httpsFlag;
+ return httpsFlag;
}
public Integer getConnectionTimeout() {
- return this.connectionTimeout;
+ return connectionTimeout;
}
public Integer getMaxErrorRetry() {
- return this.maxErrorRetry;
+ return maxErrorRetry;
}
public Integer getSocketTimeout() {
- return this.socketTimeout;
+ return socketTimeout;
}
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/storage/UpdateCloudToUseObjectStoreCmd.java b/api/src/org/apache/cloudstack/api/command/admin/storage/UpdateCloudToUseObjectStoreCmd.java
new file mode 100644
index 00000000000..983a01c7fbe
--- /dev/null
+++ b/api/src/org/apache/cloudstack/api/command/admin/storage/UpdateCloudToUseObjectStoreCmd.java
@@ -0,0 +1,142 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package org.apache.cloudstack.api.command.admin.storage;
+
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
+
+import org.apache.log4j.Logger;
+
+import org.apache.cloudstack.api.APICommand;
+import org.apache.cloudstack.api.ApiConstants;
+import org.apache.cloudstack.api.ApiErrorCode;
+import org.apache.cloudstack.api.BaseCmd;
+import org.apache.cloudstack.api.Parameter;
+import org.apache.cloudstack.api.ServerApiException;
+import org.apache.cloudstack.api.response.ImageStoreResponse;
+
+import com.cloud.exception.DiscoveryException;
+import com.cloud.storage.ImageStore;
+import com.cloud.user.Account;
+
+@APICommand(name = "updateCloudToUseObjectStore", description = "Migrate current NFS secondary storages to use object store.", responseObject = ImageStoreResponse.class, since = "4.3.0")
+public class UpdateCloudToUseObjectStoreCmd extends BaseCmd {
+ public static final Logger s_logger = Logger.getLogger(UpdateCloudToUseObjectStoreCmd.class.getName());
+ private static final String s_name = "updatecloudtouseobjectstoreresponse";
+
+ /////////////////////////////////////////////////////
+ //////////////// API parameters /////////////////////
+ /////////////////////////////////////////////////////
+
+ @Parameter(name=ApiConstants.NAME, type=CommandType.STRING, description="the name for the image store")
+ private String name;
+
+ @Parameter(name=ApiConstants.URL, type=CommandType.STRING, description="the URL for the image store")
+ private String url;
+
+ @Parameter(name=ApiConstants.PROVIDER, type=CommandType.STRING,
+ required=true, description="the image store provider name")
+ private String providerName;
+
+ @Parameter(name=ApiConstants.DETAILS, type=CommandType.MAP, description="the details for the image store. Example: details[0].key=accesskey&details[0].value=s389ddssaa&details[1].key=secretkey&details[1].value=8dshfsss")
+ private Map details;
+
+
+
+ /////////////////////////////////////////////////////
+ /////////////////// Accessors ///////////////////////
+ /////////////////////////////////////////////////////
+
+
+ public String getUrl() {
+ return url;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public Map getDetails() {
+ Map detailsMap = null;
+ if (details != null && !details.isEmpty()) {
+ detailsMap = new HashMap();
+ Collection> props = details.values();
+ Iterator> iter = props.iterator();
+ while (iter.hasNext()) {
+ HashMap detail = (HashMap) iter.next();
+ String key = detail.get("key");
+ String value = detail.get("value");
+ detailsMap.put(key, value);
+ }
+ }
+ return detailsMap;
+ }
+
+ public String getProviderName() {
+ return providerName;
+ }
+
+ public void setUrl(String url) {
+ this.url = url;
+ }
+
+
+ public void setProviderName(String providerName) {
+ this.providerName = providerName;
+ }
+
+ public void setDetails(Map details) {
+ this.details = details;
+ }
+
+ /////////////////////////////////////////////////////
+ /////////////// API Implementation///////////////////
+ /////////////////////////////////////////////////////
+
+
+
+ @Override
+ public String getCommandName() {
+ return s_name;
+ }
+
+ @Override
+ public long getEntityOwnerId() {
+ return Account.ACCOUNT_ID_SYSTEM;
+ }
+
+ @Override
+ public void execute(){
+ try{
+ ImageStore result = _storageService.migrateToObjectStore(getName(), getUrl(), getProviderName(), getDetails());
+ ImageStoreResponse storeResponse = null;
+ if (result != null ) {
+ storeResponse = _responseGenerator.createImageStoreResponse(result);
+ storeResponse.setResponseName(getCommandName());
+ storeResponse.setObjectName("imagestore");
+ setResponseObject(storeResponse);
+ } else {
+ throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to add secondary storage");
+ }
+ } catch (DiscoveryException ex) {
+ s_logger.warn("Exception: ", ex);
+ throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, ex.getMessage());
+ }
+ }
+}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/swift/AddSwiftCmd.java b/api/src/org/apache/cloudstack/api/command/admin/swift/AddSwiftCmd.java
index 3b684f41a63..173c95e2c0d 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/swift/AddSwiftCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/swift/AddSwiftCmd.java
@@ -27,7 +27,6 @@ import org.apache.cloudstack.api.ApiErrorCode;
import org.apache.cloudstack.api.BaseCmd;
import org.apache.cloudstack.api.Parameter;
import org.apache.cloudstack.api.ServerApiException;
-import org.apache.cloudstack.api.command.admin.storage.AddImageStoreCmd;
import org.apache.cloudstack.api.response.ImageStoreResponse;
import com.cloud.exception.DiscoveryException;
@@ -91,27 +90,19 @@ public class AddSwiftCmd extends BaseCmd {
@Override
public void execute() {
- AddImageStoreCmd cmd = new AddImageStoreCmd() {
- @Override
- public Map getDetails() {
- Map dm = new HashMap();
- dm.put(ApiConstants.ACCOUNT, getAccount());
- dm.put(ApiConstants.USERNAME, getUsername());
- dm.put(ApiConstants.KEY, getKey());
- return dm;
- }
- };
- cmd.setProviderName("Swift");
- cmd.setUrl(this.getUrl());
+ Map dm = new HashMap();
+ dm.put(ApiConstants.ACCOUNT, getAccount());
+ dm.put(ApiConstants.USERNAME, getUsername());
+ dm.put(ApiConstants.KEY, getKey());
- try {
- ImageStore result = _storageService.discoverImageStore(cmd);
+ try{
+ ImageStore result = _storageService.discoverImageStore(null, getUrl(), "Swift", null, dm);
ImageStoreResponse storeResponse = null;
if (result != null) {
storeResponse = _responseGenerator.createImageStoreResponse(result);
storeResponse.setResponseName(getCommandName());
storeResponse.setObjectName("secondarystorage");
- this.setResponseObject(storeResponse);
+ setResponseObject(storeResponse);
} else {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to add Swift secondary storage");
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/systemvm/ScaleSystemVMCmd.java b/api/src/org/apache/cloudstack/api/command/admin/systemvm/ScaleSystemVMCmd.java
index 247df1eaed5..370815d625c 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/systemvm/ScaleSystemVMCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/systemvm/ScaleSystemVMCmd.java
@@ -16,7 +16,10 @@
// under the License.
package org.apache.cloudstack.api.command.admin.systemvm;
-import org.apache.log4j.Logger;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiConstants;
@@ -28,6 +31,7 @@ import org.apache.cloudstack.api.command.user.vm.UpgradeVMCmd;
import org.apache.cloudstack.api.response.ServiceOfferingResponse;
import org.apache.cloudstack.api.response.SystemVmResponse;
import org.apache.cloudstack.context.CallContext;
+import org.apache.log4j.Logger;
import com.cloud.event.EventTypes;
import com.cloud.exception.ConcurrentOperationException;
@@ -39,15 +43,8 @@ import com.cloud.offering.ServiceOffering;
import com.cloud.user.Account;
import com.cloud.vm.VirtualMachine;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
-@APICommand(name = "scaleSystemVm",
- responseObject = SystemVmResponse.class,
- description = "Scale the service offering for a system vm (console proxy or secondary storage). " + "The system vm must be in a \"Stopped\" state for "
- + "this command to take effect.")
+@APICommand(name = "scaleSystemVm", responseObject = SystemVmResponse.class, description = "Scale the service offering for a system vm (console proxy or secondary storage). "
+ + "The system vm must be in a \"Stopped\" state for " + "this command to take effect.")
public class ScaleSystemVMCmd extends BaseAsyncCmd {
public static final Logger s_logger = Logger.getLogger(UpgradeVMCmd.class.getName());
private static final String s_name = "changeserviceforsystemvmresponse";
@@ -59,17 +56,11 @@ public class ScaleSystemVMCmd extends BaseAsyncCmd {
@Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = SystemVmResponse.class, required = true, description = "The ID of the system vm")
private Long id;
- @Parameter(name = ApiConstants.SERVICE_OFFERING_ID,
- type = CommandType.UUID,
- entityType = ServiceOfferingResponse.class,
- required = true,
- description = "the service offering ID to apply to the system vm")
+ @Parameter(name = ApiConstants.SERVICE_OFFERING_ID, type = CommandType.UUID, entityType = ServiceOfferingResponse.class, required = true, description = "the service offering ID to apply to the system vm")
private Long serviceOfferingId;
- @Parameter(name=ApiConstants.CUSTOM_PARAMETERS,
- type = CommandType.MAP,
- description = "name value pairs of custom parameters for cpu, memory and cpunumber. example customparameters[i].name=value")
- private Map customParameters;
+ @Parameter(name = ApiConstants.DETAILS, type = CommandType.MAP, description = "name value pairs of custom parameters for cpu, memory and cpunumber. example details[i].name=value")
+ private Map details;
/////////////////////////////////////////////////////
/////////////////// Accessors ///////////////////////
@@ -83,13 +74,13 @@ public class ScaleSystemVMCmd extends BaseAsyncCmd {
return serviceOfferingId;
}
- public Map getCustomParameters() {
- Map customparameterMap = new HashMap();
- if (customParameters != null && customParameters.size() != 0) {
- Collection parameterCollection = customParameters.values();
+ public Map getDetails() {
+ Map customparameterMap = new HashMap();
+ if (details != null && details.size() != 0) {
+ Collection parameterCollection = details.values();
Iterator iter = parameterCollection.iterator();
while (iter.hasNext()) {
- HashMap value = (HashMap) iter.next();
+ HashMap value = (HashMap)iter.next();
for (String key : value.keySet()) {
customparameterMap.put(key, value.get(key));
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/systemvm/UpgradeSystemVMCmd.java b/api/src/org/apache/cloudstack/api/command/admin/systemvm/UpgradeSystemVMCmd.java
index a49828be89f..da0564e9e67 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/systemvm/UpgradeSystemVMCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/systemvm/UpgradeSystemVMCmd.java
@@ -16,7 +16,10 @@
// under the License.
package org.apache.cloudstack.api.command.admin.systemvm;
-import org.apache.log4j.Logger;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiConstants;
@@ -28,21 +31,15 @@ import org.apache.cloudstack.api.command.user.vm.UpgradeVMCmd;
import org.apache.cloudstack.api.response.ServiceOfferingResponse;
import org.apache.cloudstack.api.response.SystemVmResponse;
import org.apache.cloudstack.context.CallContext;
+import org.apache.log4j.Logger;
import com.cloud.exception.InvalidParameterValueException;
import com.cloud.offering.ServiceOffering;
import com.cloud.user.Account;
import com.cloud.vm.VirtualMachine;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
-@APICommand(name = "changeServiceForSystemVm",
- responseObject = SystemVmResponse.class,
- description = "Changes the service offering for a system vm (console proxy or secondary storage). " + "The system vm must be in a \"Stopped\" state for "
- + "this command to take effect.")
+@APICommand(name = "changeServiceForSystemVm", responseObject = SystemVmResponse.class, description = "Changes the service offering for a system vm (console proxy or secondary storage). "
+ + "The system vm must be in a \"Stopped\" state for " + "this command to take effect.")
public class UpgradeSystemVMCmd extends BaseCmd {
public static final Logger s_logger = Logger.getLogger(UpgradeVMCmd.class.getName());
private static final String s_name = "changeserviceforsystemvmresponse";
@@ -54,17 +51,11 @@ public class UpgradeSystemVMCmd extends BaseCmd {
@Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = SystemVmResponse.class, required = true, description = "The ID of the system vm")
private Long id;
- @Parameter(name = ApiConstants.SERVICE_OFFERING_ID,
- type = CommandType.UUID,
- entityType = ServiceOfferingResponse.class,
- required = true,
- description = "the service offering ID to apply to the system vm")
+ @Parameter(name = ApiConstants.SERVICE_OFFERING_ID, type = CommandType.UUID, entityType = ServiceOfferingResponse.class, required = true, description = "the service offering ID to apply to the system vm")
private Long serviceOfferingId;
- @Parameter(name=ApiConstants.CUSTOM_PARAMETERS,
- type = CommandType.MAP,
- description = "name value pairs of custom parameters for cpu, memory and cpunumber. example customparameters[i].name=value")
- private Map customParameters;
+ @Parameter(name = ApiConstants.DETAILS, type = CommandType.MAP, description = "name value pairs of custom parameters for cpu, memory and cpunumber. example details[i].name=value")
+ private Map details;
/////////////////////////////////////////////////////
/////////////////// Accessors ///////////////////////
@@ -78,13 +69,13 @@ public class UpgradeSystemVMCmd extends BaseCmd {
return serviceOfferingId;
}
- public Map getCustomParameters() {
- Map customparameterMap = new HashMap();
- if (customParameters != null && customParameters.size() !=0){
- Collection parameterCollection = customParameters.values();
+ public Map getDetails() {
+ Map customparameterMap = new HashMap();
+ if (details != null && details.size() != 0) {
+ Collection parameterCollection = details.values();
Iterator iter = parameterCollection.iterator();
while (iter.hasNext()) {
- HashMap value = (HashMap) iter.next();
+ HashMap value = (HashMap)iter.next();
for (String key : value.keySet()) {
customparameterMap.put(key, value.get(key));
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/usage/AddTrafficTypeCmd.java b/api/src/org/apache/cloudstack/api/command/admin/usage/AddTrafficTypeCmd.java
index e6e18cb9ffa..0fcb8f87e54 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/usage/AddTrafficTypeCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/usage/AddTrafficTypeCmd.java
@@ -77,6 +77,10 @@ public class AddTrafficTypeCmd extends BaseAsyncCreateCmd {
@Parameter(name = ApiConstants.VLAN, type = CommandType.STRING, description = "The VLAN id to be used for Management traffic by VMware host")
private String vlan;
+ @Parameter(name=ApiConstants.ISOLATION_METHOD, type=CommandType.STRING, description="Used if physical network has multiple isolation types and traffic type is public."
+ + " Choose which isolation method. Valid options currently 'vlan' or 'vxlan', defaults to 'vlan'.")
+ private String isolationMethod;
+
/////////////////////////////////////////////////////
/////////////////// Accessors ///////////////////////
/////////////////////////////////////////////////////
@@ -118,6 +122,14 @@ public class AddTrafficTypeCmd extends BaseAsyncCreateCmd {
return vlan;
}
+ public String getIsolationMethod() {
+ if (isolationMethod != null && !isolationMethod.isEmpty()) {
+ return isolationMethod;
+ } else {
+ return "vlan";
+ }
+ }
+
/////////////////////////////////////////////////////
/////////////// API Implementation///////////////////
/////////////////////////////////////////////////////
@@ -148,7 +160,7 @@ public class AddTrafficTypeCmd extends BaseAsyncCreateCmd {
@Override
public void create() throws ResourceAllocationException {
PhysicalNetworkTrafficType result =
- _networkService.addTrafficTypeToPhysicalNetwork(getPhysicalNetworkId(), getTrafficType(), getXenLabel(), getKvmLabel(), getVmwareLabel(),
+ _networkService.addTrafficTypeToPhysicalNetwork(getPhysicalNetworkId(), getTrafficType(), getIsolationMethod(), getXenLabel(), getKvmLabel(), getVmwareLabel(),
getSimulatorLabel(), getVlan(), getHypervLabel());
if (result != null) {
setEntityId(result.getId());
diff --git a/api/src/org/apache/cloudstack/api/command/admin/usage/ListTrafficTypeImplementorsCmd.java b/api/src/org/apache/cloudstack/api/command/admin/usage/ListTrafficTypeImplementorsCmd.java
index 3a1dfba61c8..159608ec589 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/usage/ListTrafficTypeImplementorsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/usage/ListTrafficTypeImplementorsCmd.java
@@ -43,7 +43,7 @@ import com.cloud.utils.Pair;
since = "3.0.0")
public class ListTrafficTypeImplementorsCmd extends BaseListCmd {
public static final Logger s_logger = Logger.getLogger(ListTrafficTypeImplementorsCmd.class);
- private static final String _name = "listtraffictypeimplementorsresponse";
+ private static final String Name = "listtraffictypeimplementorsresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -87,6 +87,6 @@ public class ListTrafficTypeImplementorsCmd extends BaseListCmd {
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/usage/ListTrafficTypesCmd.java b/api/src/org/apache/cloudstack/api/command/admin/usage/ListTrafficTypesCmd.java
index 378058f04f7..47ba781cdef 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/usage/ListTrafficTypesCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/usage/ListTrafficTypesCmd.java
@@ -37,7 +37,7 @@ import com.cloud.utils.Pair;
@APICommand(name = "listTrafficTypes", description = "Lists traffic types of a given physical network.", responseObject = ProviderResponse.class, since = "3.0.0")
public class ListTrafficTypesCmd extends BaseListCmd {
public static final Logger s_logger = Logger.getLogger(ListTrafficTypesCmd.class.getName());
- private static final String _name = "listtraffictypesresponse";
+ private static final String Name = "listtraffictypesresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -66,7 +66,7 @@ public class ListTrafficTypesCmd extends BaseListCmd {
/////////////////////////////////////////////////////
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
diff --git a/api/src/org/apache/cloudstack/api/command/admin/vlan/CreateVlanIpRangeCmd.java b/api/src/org/apache/cloudstack/api/command/admin/vlan/CreateVlanIpRangeCmd.java
index dbaac6e742a..cd3dd7ea9bf 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/vlan/CreateVlanIpRangeCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/vlan/CreateVlanIpRangeCmd.java
@@ -147,6 +147,9 @@ public class CreateVlanIpRangeCmd extends BaseCmd {
}
public String getVlan() {
+ if (vlan == null || vlan.isEmpty()) {
+ vlan = "untagged";
+ }
return vlan;
}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/vm/GetVMUserDataCmd.java b/api/src/org/apache/cloudstack/api/command/admin/vm/GetVMUserDataCmd.java
new file mode 100644
index 00000000000..0e527149821
--- /dev/null
+++ b/api/src/org/apache/cloudstack/api/command/admin/vm/GetVMUserDataCmd.java
@@ -0,0 +1,81 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package org.apache.cloudstack.api.command.admin.vm;
+
+import org.apache.cloudstack.api.APICommand;
+import org.apache.cloudstack.api.ApiConstants;
+import org.apache.cloudstack.api.BaseCmd;
+import org.apache.cloudstack.api.Parameter;
+import org.apache.cloudstack.api.response.UserVmResponse;
+import org.apache.cloudstack.api.response.VMUserDataResponse;
+import org.apache.log4j.Logger;
+
+import com.cloud.user.Account;
+import com.cloud.uservm.UserVm;
+
+@APICommand(name = "getVirtualMachineUserData", description = "Returns user data associated with the VM", responseObject = VMUserDataResponse.class, since = "4.4")
+public class GetVMUserDataCmd extends BaseCmd {
+ public static final Logger s_logger = Logger.getLogger(GetVMUserDataCmd.class);
+ private static final String s_name = "getvirtualmachineuserdataresponse";
+
+ /////////////////////////////////////////////////////
+ //////////////// API parameters /////////////////////
+ /////////////////////////////////////////////////////
+
+ @Parameter(name = ApiConstants.VIRTUAL_MACHINE_ID, type = CommandType.UUID, entityType = UserVmResponse.class, required = true, description = "The ID of the virtual machine")
+ private Long vmId;
+
+ /////////////////////////////////////////////////////
+ /////////////////// Accessors ///////////////////////
+ /////////////////////////////////////////////////////
+
+ public long getId() {
+ return vmId;
+ }
+
+ /////////////////////////////////////////////////////
+ /////////////// API Implementation///////////////////
+ /////////////////////////////////////////////////////
+
+ @Override
+ public void execute() {
+ String userData = _userVmService.getVmUserData(getId());
+ VMUserDataResponse resp = new VMUserDataResponse();
+ resp.setVmId(_entityMgr.findById(UserVm.class, getId()).getUuid());
+ resp.setUserData(userData);
+ resp.setObjectName("virtualmachineuserdata");
+ resp.setResponseName(getCommandName());
+ this.setResponseObject(resp);
+ }
+
+ @Override
+ public long getEntityOwnerId() {
+ UserVm userVm = _entityMgr.findById(UserVm.class, getId());
+ if (userVm != null) {
+ return userVm.getAccountId();
+ }
+
+ return Account.ACCOUNT_ID_SYSTEM; // no account info given, parent this command to SYSTEM so ERROR events are tracked
+ }
+
+ @Override
+ public String getCommandName() {
+ return s_name;
+ }
+}
diff --git a/api/src/org/apache/cloudstack/api/command/admin/vpc/CreateVPCOfferingCmd.java b/api/src/org/apache/cloudstack/api/command/admin/vpc/CreateVPCOfferingCmd.java
index e3c04337f73..96d5c6acece 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/vpc/CreateVPCOfferingCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/vpc/CreateVPCOfferingCmd.java
@@ -42,7 +42,7 @@ import com.cloud.user.Account;
@APICommand(name = "createVPCOffering", description = "Creates VPC offering", responseObject = VpcOfferingResponse.class)
public class CreateVPCOfferingCmd extends BaseAsyncCreateCmd {
public static final Logger s_logger = Logger.getLogger(CreateVPCOfferingCmd.class.getName());
- private static final String _name = "createvpcofferingresponse";
+ private static final String Name = "createvpcofferingresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -150,7 +150,7 @@ public class CreateVPCOfferingCmd extends BaseAsyncCreateCmd {
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
diff --git a/api/src/org/apache/cloudstack/api/command/admin/vpc/UpdateVPCOfferingCmd.java b/api/src/org/apache/cloudstack/api/command/admin/vpc/UpdateVPCOfferingCmd.java
index 05b6f9d6fbd..3526b4b3ac9 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/vpc/UpdateVPCOfferingCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/vpc/UpdateVPCOfferingCmd.java
@@ -33,7 +33,7 @@ import com.cloud.user.Account;
@APICommand(name = "updateVPCOffering", description = "Updates VPC offering", responseObject = VpcOfferingResponse.class)
public class UpdateVPCOfferingCmd extends BaseAsyncCmd {
public static final Logger s_logger = Logger.getLogger(UpdateVPCOfferingCmd.class.getName());
- private static final String _name = "updatevpcofferingresponse";
+ private static final String Name = "updatevpcofferingresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -76,7 +76,7 @@ public class UpdateVPCOfferingCmd extends BaseAsyncCmd {
/////////////////////////////////////////////////////
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
diff --git a/api/src/org/apache/cloudstack/api/command/user/affinitygroup/ListAffinityGroupsCmd.java b/api/src/org/apache/cloudstack/api/command/user/affinitygroup/ListAffinityGroupsCmd.java
index 367dec91ce7..0761a643452 100644
--- a/api/src/org/apache/cloudstack/api/command/user/affinitygroup/ListAffinityGroupsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/affinitygroup/ListAffinityGroupsCmd.java
@@ -17,7 +17,6 @@
package org.apache.cloudstack.api.command.user.affinitygroup;
import org.apache.log4j.Logger;
-
import org.apache.cloudstack.affinity.AffinityGroupResponse;
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiCommandJobType;
@@ -79,9 +78,9 @@ public class ListAffinityGroupsCmd extends BaseListAccountResourcesCmd {
@Override
public void execute() {
- ListResponse response =
- _queryService.listAffinityGroups(id, affinityGroupName, affinityGroupType, virtualMachineId, this.getAccountName(), this.getDomainId(), this.isRecursive(),
- this.listAll(), this.getStartIndex(), this.getPageSizeVal());
+ ListResponse response = _queryService.listAffinityGroups(id, affinityGroupName,
+ affinityGroupType, virtualMachineId, this.getAccountName(), this.getDomainId(), this.isRecursive(),
+ this.listAll(), this.getStartIndex(), this.getPageSizeVal(), this.getKeyword());
response.setResponseName(getCommandName());
this.setResponseObject(response);
diff --git a/api/src/org/apache/cloudstack/api/command/user/autoscale/ListAutoScaleVmProfilesCmd.java b/api/src/org/apache/cloudstack/api/command/user/autoscale/ListAutoScaleVmProfilesCmd.java
index 651f98703e8..34c2543b9c6 100644
--- a/api/src/org/apache/cloudstack/api/command/user/autoscale/ListAutoScaleVmProfilesCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/autoscale/ListAutoScaleVmProfilesCmd.java
@@ -19,15 +19,15 @@ package org.apache.cloudstack.api.command.user.autoscale;
import java.util.ArrayList;
import java.util.List;
-import org.apache.log4j.Logger;
-
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiConstants;
import org.apache.cloudstack.api.BaseListProjectAndAccountResourcesCmd;
import org.apache.cloudstack.api.Parameter;
import org.apache.cloudstack.api.response.AutoScaleVmProfileResponse;
import org.apache.cloudstack.api.response.ListResponse;
+import org.apache.cloudstack.api.response.ServiceOfferingResponse;
import org.apache.cloudstack.api.response.TemplateResponse;
+import org.apache.log4j.Logger;
import com.cloud.network.as.AutoScaleVmProfile;
@@ -47,6 +47,9 @@ public class ListAutoScaleVmProfilesCmd extends BaseListProjectAndAccountResourc
@Parameter(name = ApiConstants.TEMPLATE_ID, type = CommandType.UUID, entityType = TemplateResponse.class, description = "the templateid of the autoscale vm profile")
private Long templateId;
+ @Parameter(name = ApiConstants.SERVICE_OFFERING_ID, type = CommandType.UUID, entityType = ServiceOfferingResponse.class, description = "list profiles by service offering id")
+ private Long serviceOffId;
+
@Parameter(name = ApiConstants.OTHER_DEPLOY_PARAMS, type = CommandType.STRING, description = "the otherdeployparameters of the autoscale vm profile")
private String otherDeployParams;
@@ -66,6 +69,10 @@ public class ListAutoScaleVmProfilesCmd extends BaseListProjectAndAccountResourc
return otherDeployParams;
}
+ public Long getServiceOfferingId() {
+ return serviceOffId;
+ }
+
// ///////////////////////////////////////////////////
// ///////////// API Implementation///////////////////
// ///////////////////////////////////////////////////
diff --git a/api/src/org/apache/cloudstack/api/command/user/iso/ListIsosCmd.java b/api/src/org/apache/cloudstack/api/command/user/iso/ListIsosCmd.java
index 3e66e52249f..95b771fcc43 100644
--- a/api/src/org/apache/cloudstack/api/command/user/iso/ListIsosCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/iso/ListIsosCmd.java
@@ -73,6 +73,9 @@ public class ListIsosCmd extends BaseListTaggedResourcesCmd {
@Parameter(name = ApiConstants.ZONE_ID, type = CommandType.UUID, entityType = ZoneResponse.class, description = "the ID of the zone")
private Long zoneId;
+ @Parameter(name=ApiConstants.SHOW_REMOVED, type=CommandType.BOOLEAN, description="show removed ISOs as well")
+ private Boolean showRemoved;
+
/////////////////////////////////////////////////////
/////////////////// Accessors ///////////////////////
/////////////////////////////////////////////////////
@@ -109,6 +112,10 @@ public class ListIsosCmd extends BaseListTaggedResourcesCmd {
return zoneId;
}
+ public Boolean getShowRemoved() {
+ return (showRemoved != null ? showRemoved : false);
+ }
+
public boolean listInReadyState() {
Account account = CallContext.current().getCallingAccount();
// It is account specific if account is admin type and domainId and accountName are not null
diff --git a/api/src/org/apache/cloudstack/api/command/user/loadbalancer/AssignCertToLoadBalancerCmd.java b/api/src/org/apache/cloudstack/api/command/user/loadbalancer/AssignCertToLoadBalancerCmd.java
index 4ea4a588cea..4b0ea544c5e 100644
--- a/api/src/org/apache/cloudstack/api/command/user/loadbalancer/AssignCertToLoadBalancerCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/loadbalancer/AssignCertToLoadBalancerCmd.java
@@ -1,3 +1,4 @@
+
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
@@ -42,7 +43,7 @@ public class AssignCertToLoadBalancerCmd extends BaseAsyncCmd {
public static final Logger s_logger = Logger.getLogger(AssignCertToLoadBalancerCmd.class.getName());
- private static final String s_name = "assignCertToLoadBalancer";
+ private static final String s_name = "assigncerttoloadbalancerresponse";
@Parameter(name = ApiConstants.LBID,
type = CommandType.UUID,
diff --git a/api/src/org/apache/cloudstack/api/command/user/loadbalancer/RemoveCertFromLoadBalancerCmd.java b/api/src/org/apache/cloudstack/api/command/user/loadbalancer/RemoveCertFromLoadBalancerCmd.java
index e92d20801c4..ea420f31bf5 100644
--- a/api/src/org/apache/cloudstack/api/command/user/loadbalancer/RemoveCertFromLoadBalancerCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/loadbalancer/RemoveCertFromLoadBalancerCmd.java
@@ -41,7 +41,7 @@ public class RemoveCertFromLoadBalancerCmd extends BaseAsyncCmd {
public static final Logger s_logger = Logger.getLogger(RemoveCertFromLoadBalancerCmd.class.getName());
- private static final String s_name = "removeCertFromLoadBalancer";
+ private static final String s_name = "removecertfromloadbalancerresponse";
@Parameter(name = ApiConstants.LBID,
type = CommandType.UUID,
diff --git a/api/src/org/apache/cloudstack/api/command/user/network/DeleteNetworkCmd.java b/api/src/org/apache/cloudstack/api/command/user/network/DeleteNetworkCmd.java
index a48e01b0d36..808051ecdef 100644
--- a/api/src/org/apache/cloudstack/api/command/user/network/DeleteNetworkCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/network/DeleteNetworkCmd.java
@@ -45,6 +45,10 @@ public class DeleteNetworkCmd extends BaseAsyncCmd {
@Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = NetworkResponse.class, required = true, description = "the ID of the network")
private Long id;
+ @Parameter(name = ApiConstants.FORCED, type = CommandType.BOOLEAN, required = false, description = "Force delete a network." +
+ " Network will be marked as 'Destroy' even when commands to shutdown and cleanup to the backend fails.")
+ private Boolean forced;
+
/////////////////////////////////////////////////////
/////////////////// Accessors ///////////////////////
/////////////////////////////////////////////////////
@@ -53,6 +57,10 @@ public class DeleteNetworkCmd extends BaseAsyncCmd {
return id;
}
+ public boolean isForced() {
+ return (forced != null) ? forced : false;
+ }
+
/////////////////////////////////////////////////////
/////////////// API Implementation///////////////////
/////////////////////////////////////////////////////
@@ -65,7 +73,7 @@ public class DeleteNetworkCmd extends BaseAsyncCmd {
@Override
public void execute() {
CallContext.current().setEventDetails("Network Id: " + id);
- boolean result = _networkService.deleteNetwork(id);
+ boolean result = _networkService.deleteNetwork(id, isForced());
if (result) {
SuccessResponse response = new SuccessResponse(getCommandName());
this.setResponseObject(response);
diff --git a/api/src/org/apache/cloudstack/api/command/user/network/ListNetworkACLListsCmd.java b/api/src/org/apache/cloudstack/api/command/user/network/ListNetworkACLListsCmd.java
index 56aad945101..2e50bb8cf22 100644
--- a/api/src/org/apache/cloudstack/api/command/user/network/ListNetworkACLListsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/network/ListNetworkACLListsCmd.java
@@ -23,7 +23,6 @@ import org.apache.log4j.Logger;
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiConstants;
-import org.apache.cloudstack.api.BaseListCmd;
import org.apache.cloudstack.api.BaseListProjectAndAccountResourcesCmd;
import org.apache.cloudstack.api.Parameter;
import org.apache.cloudstack.api.response.ListResponse;
@@ -34,7 +33,7 @@ import org.apache.cloudstack.api.response.VpcResponse;
import com.cloud.network.vpc.NetworkACL;
import com.cloud.utils.Pair;
-@APICommand(name = "listNetworkACLLists", description="Lists all network ACLs", responseObject=NetworkACLResponse.class)
+@APICommand(name = "listNetworkACLLists", description = "Lists all network ACLs", responseObject = NetworkACLResponse.class)
public class ListNetworkACLListsCmd extends BaseListProjectAndAccountResourcesCmd {
public static final Logger s_logger = Logger.getLogger(ListNetworkACLListsCmd.class.getName());
@@ -85,8 +84,8 @@ public class ListNetworkACLListsCmd extends BaseListProjectAndAccountResourcesCm
}
@Override
- public void execute(){
- Pair,Integer> result = _networkACLService.listNetworkACLs(this);
+ public void execute() {
+ Pair, Integer> result = _networkACLService.listNetworkACLs(this);
ListResponse response = new ListResponse();
List aclResponses = new ArrayList();
@@ -96,6 +95,6 @@ public class ListNetworkACLListsCmd extends BaseListProjectAndAccountResourcesCm
}
response.setResponses(aclResponses, result.second());
response.setResponseName(getCommandName());
- this.setResponseObject(response);
+ setResponseObject(response);
}
}
diff --git a/api/src/org/apache/cloudstack/api/command/user/network/ListNetworkACLsCmd.java b/api/src/org/apache/cloudstack/api/command/user/network/ListNetworkACLsCmd.java
index 99c620ca14d..7f8aef4cd77 100644
--- a/api/src/org/apache/cloudstack/api/command/user/network/ListNetworkACLsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/network/ListNetworkACLsCmd.java
@@ -25,7 +25,6 @@ import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiConstants;
import org.apache.cloudstack.api.BaseListTaggedResourcesCmd;
import org.apache.cloudstack.api.Parameter;
-import org.apache.cloudstack.api.response.FirewallRuleResponse;
import org.apache.cloudstack.api.response.ListResponse;
import org.apache.cloudstack.api.response.NetworkACLItemResponse;
import org.apache.cloudstack.api.response.NetworkACLResponse;
@@ -43,8 +42,8 @@ public class ListNetworkACLsCmd extends BaseListTaggedResourcesCmd {
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
/////////////////////////////////////////////////////
- @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType = NetworkACLItemResponse.class,
- description="Lists network ACL Item with the specified ID")
+ @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = NetworkACLItemResponse.class,
+ description = "Lists network ACL Item with the specified ID")
private Long id;
@Parameter(name = ApiConstants.NETWORK_ID, type = CommandType.UUID, entityType = NetworkResponse.class, description = "list network ACL Items by network Id")
@@ -111,6 +110,6 @@ public class ListNetworkACLsCmd extends BaseListTaggedResourcesCmd {
}
response.setResponses(aclResponses, result.second());
response.setResponseName(getCommandName());
- this.setResponseObject(response);
+ setResponseObject(response);
}
}
diff --git a/api/src/org/apache/cloudstack/api/command/user/network/ListNetworkOfferingsCmd.java b/api/src/org/apache/cloudstack/api/command/user/network/ListNetworkOfferingsCmd.java
index 2c2b1e17a8f..552a64a63b2 100644
--- a/api/src/org/apache/cloudstack/api/command/user/network/ListNetworkOfferingsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/network/ListNetworkOfferingsCmd.java
@@ -35,7 +35,7 @@ import com.cloud.offering.NetworkOffering;
@APICommand(name = "listNetworkOfferings", description = "Lists all available network offerings.", responseObject = NetworkOfferingResponse.class)
public class ListNetworkOfferingsCmd extends BaseListCmd {
public static final Logger s_logger = Logger.getLogger(ListNetworkOfferingsCmd.class.getName());
- private static final String _name = "listnetworkofferingsresponse";
+ private static final String Name = "listnetworkofferingsresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -181,7 +181,7 @@ public class ListNetworkOfferingsCmd extends BaseListCmd {
/////////////////////////////////////////////////////
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
diff --git a/api/src/org/apache/cloudstack/api/command/user/network/ListNetworksCmd.java b/api/src/org/apache/cloudstack/api/command/user/network/ListNetworksCmd.java
index fa27a4ad212..111fac31174 100644
--- a/api/src/org/apache/cloudstack/api/command/user/network/ListNetworksCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/network/ListNetworksCmd.java
@@ -19,8 +19,6 @@ package org.apache.cloudstack.api.command.user.network;
import java.util.ArrayList;
import java.util.List;
-import org.apache.log4j.Logger;
-
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiConstants;
import org.apache.cloudstack.api.BaseListTaggedResourcesCmd;
@@ -30,13 +28,15 @@ import org.apache.cloudstack.api.response.NetworkResponse;
import org.apache.cloudstack.api.response.PhysicalNetworkResponse;
import org.apache.cloudstack.api.response.VpcResponse;
import org.apache.cloudstack.api.response.ZoneResponse;
+import org.apache.log4j.Logger;
import com.cloud.network.Network;
+import com.cloud.utils.Pair;
@APICommand(name = "listNetworks", description = "Lists all available networks.", responseObject = NetworkResponse.class)
public class ListNetworksCmd extends BaseListTaggedResourcesCmd {
public static final Logger s_logger = Logger.getLogger(ListNetworksCmd.class.getName());
- private static final String _name = "listnetworksresponse";
+ private static final String Name = "listnetworksresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -53,24 +53,16 @@ public class ListNetworksCmd extends BaseListTaggedResourcesCmd {
@Parameter(name = ApiConstants.IS_SYSTEM, type = CommandType.BOOLEAN, description = "true if network is system, false otherwise")
private Boolean isSystem;
- @Parameter(name = ApiConstants.ACL_TYPE,
- type = CommandType.STRING,
- description = "list networks by ACL (access control list) type. Supported values are Account and Domain")
+ @Parameter(name = ApiConstants.ACL_TYPE, type = CommandType.STRING, description = "list networks by ACL (access control list) type. Supported values are Account and Domain")
private String aclType;
@Parameter(name = ApiConstants.TRAFFIC_TYPE, type = CommandType.STRING, description = "type of the traffic")
private String trafficType;
- @Parameter(name = ApiConstants.PHYSICAL_NETWORK_ID,
- type = CommandType.UUID,
- entityType = PhysicalNetworkResponse.class,
- description = "list networks by physical network id")
+ @Parameter(name = ApiConstants.PHYSICAL_NETWORK_ID, type = CommandType.UUID, entityType = PhysicalNetworkResponse.class, description = "list networks by physical network id")
private Long physicalNetworkId;
- @Parameter(name = ApiConstants.SUPPORTED_SERVICES,
- type = CommandType.LIST,
- collectionType = CommandType.STRING,
- description = "list networks supporting certain services")
+ @Parameter(name = ApiConstants.SUPPORTED_SERVICES, type = CommandType.LIST, collectionType = CommandType.STRING, description = "list networks supporting certain services")
private List supportedServices;
@Parameter(name = ApiConstants.RESTART_REQUIRED, type = CommandType.BOOLEAN, description = "list networks by restartRequired")
@@ -149,20 +141,19 @@ public class ListNetworksCmd extends BaseListTaggedResourcesCmd {
/////////////////////////////////////////////////////
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
public void execute() {
- List extends Network> networks = _networkService.searchForNetworks(this);
+ Pair, Integer> networks = _networkService.searchForNetworks(this);
ListResponse response = new ListResponse();
List networkResponses = new ArrayList();
- for (Network network : networks) {
+ for (Network network : networks.first()) {
NetworkResponse networkResponse = _responseGenerator.createNetworkResponse(network);
networkResponses.add(networkResponse);
}
-
- response.setResponses(networkResponses);
+ response.setResponses(networkResponses, networks.second());
response.setResponseName(getCommandName());
this.setResponseObject(response);
}
diff --git a/api/src/org/apache/cloudstack/api/command/user/template/CopyTemplateCmd.java b/api/src/org/apache/cloudstack/api/command/user/template/CopyTemplateCmd.java
index 78bfc186d1c..87f94f72aa1 100644
--- a/api/src/org/apache/cloudstack/api/command/user/template/CopyTemplateCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/template/CopyTemplateCmd.java
@@ -59,8 +59,7 @@ public class CopyTemplateCmd extends BaseAsyncCmd {
@Parameter(name = ApiConstants.SOURCE_ZONE_ID,
type = CommandType.UUID,
entityType = ZoneResponse.class,
- required = true,
- description = "ID of the zone the template is currently hosted on.")
+ description = "ID of the zone the template is currently hosted on. If not specified and template is cross-zone, then we will sync this template to region wide image store.")
private Long sourceZoneId;
/////////////////////////////////////////////////////
@@ -137,7 +136,7 @@ public class CopyTemplateCmd extends BaseAsyncCmd {
}
response.setResponseName(getCommandName());
- this.setResponseObject(response);
+ setResponseObject(response);
} else {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to copy template");
}
diff --git a/api/src/org/apache/cloudstack/api/command/user/template/ListTemplatesCmd.java b/api/src/org/apache/cloudstack/api/command/user/template/ListTemplatesCmd.java
index 7e347f3e32f..d393c6a5fdf 100644
--- a/api/src/org/apache/cloudstack/api/command/user/template/ListTemplatesCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/template/ListTemplatesCmd.java
@@ -65,6 +65,9 @@ public class ListTemplatesCmd extends BaseListTaggedResourcesCmd {
@Parameter(name = ApiConstants.ZONE_ID, type = CommandType.UUID, entityType = ZoneResponse.class, description = "list templates by zoneId")
private Long zoneId;
+ @Parameter(name=ApiConstants.SHOW_REMOVED, type=CommandType.BOOLEAN, description="show removed templates as well")
+ private Boolean showRemoved;
+
/////////////////////////////////////////////////////
/////////////////// Accessors ///////////////////////
/////////////////////////////////////////////////////
@@ -89,6 +92,10 @@ public class ListTemplatesCmd extends BaseListTaggedResourcesCmd {
return zoneId;
}
+ public Boolean getShowRemoved() {
+ return (showRemoved != null ? showRemoved : false);
+ }
+
public boolean listInReadyState() {
Account account = CallContext.current().getCallingAccount();
diff --git a/api/src/org/apache/cloudstack/api/command/user/vm/AddIpToVmNicCmd.java b/api/src/org/apache/cloudstack/api/command/user/vm/AddIpToVmNicCmd.java
index 09a912293db..439879add9b 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vm/AddIpToVmNicCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vm/AddIpToVmNicCmd.java
@@ -16,8 +16,6 @@
// under the License.
package org.apache.cloudstack.api.command.user.vm;
-import org.apache.log4j.Logger;
-
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiCommandJobType;
import org.apache.cloudstack.api.ApiConstants;
@@ -28,6 +26,7 @@ import org.apache.cloudstack.api.ServerApiException;
import org.apache.cloudstack.api.response.NicResponse;
import org.apache.cloudstack.api.response.NicSecondaryIpResponse;
import org.apache.cloudstack.context.CallContext;
+import org.apache.log4j.Logger;
import com.cloud.dc.DataCenter;
import com.cloud.dc.DataCenter.NetworkType;
@@ -39,10 +38,10 @@ import com.cloud.exception.InvalidParameterValueException;
import com.cloud.exception.ResourceAllocationException;
import com.cloud.exception.ResourceUnavailableException;
import com.cloud.network.Network;
-import com.cloud.user.Account;
import com.cloud.utils.net.NetUtils;
import com.cloud.vm.Nic;
import com.cloud.vm.NicSecondaryIp;
+import com.cloud.vm.VirtualMachine;
@APICommand(name = "addIpToNic", description = "Assigns secondary IP to NIC", responseObject = NicSecondaryIpResponse.class)
public class AddIpToVmNicCmd extends BaseAsyncCmd {
@@ -52,11 +51,7 @@ public class AddIpToVmNicCmd extends BaseAsyncCmd {
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
/////////////////////////////////////////////////////
- @Parameter(name = ApiConstants.NIC_ID,
- type = CommandType.UUID,
- entityType = NicResponse.class,
- required = true,
- description = "the ID of the nic to which you want to assign private IP")
+ @Parameter(name = ApiConstants.NIC_ID, type = CommandType.UUID, entityType = NicResponse.class, required = true, description = "the ID of the nic to which you want to assign private IP")
private Long nicId;
@Parameter(name = ApiConstants.IP_ADDRESS, type = CommandType.STRING, required = false, description = "Secondary IP Address")
@@ -70,36 +65,19 @@ public class AddIpToVmNicCmd extends BaseAsyncCmd {
return "nic_secondary_ips";
}
- public String getAccountName() {
- return CallContext.current().getCallingAccount().getAccountName();
- }
-
- public long getDomainId() {
- return CallContext.current().getCallingAccount().getDomainId();
- }
-
- private long getZoneId() {
- Network ntwk = _entityMgr.findById(Network.class, getNetworkId());
- if (ntwk == null) {
- throw new InvalidParameterValueException("Can't find zone id for specified");
- }
- return ntwk.getDataCenterId();
- }
-
- public Long getNetworkId() {
+ private long getNetworkId() {
Nic nic = _entityMgr.findById(Nic.class, nicId);
if (nic == null) {
throw new InvalidParameterValueException("Can't find network id for specified nic");
}
- Long networkId = nic.getNetworkId();
- return networkId;
+ return nic.getNetworkId();
}
- public Long getNicId() {
+ public long getNicId() {
return nicId;
}
- public String getIpaddress() {
+ private String getIpaddress() {
if (ipAddr != null) {
return ipAddr;
} else {
@@ -107,18 +85,12 @@ public class AddIpToVmNicCmd extends BaseAsyncCmd {
}
}
- public NetworkType getNetworkType() {
+ private NetworkType getNetworkType() {
Network ntwk = _entityMgr.findById(Network.class, getNetworkId());
DataCenter dc = _entityMgr.findById(DataCenter.class, ntwk.getDataCenterId());
return dc.getNetworkType();
}
- @Override
- public long getEntityOwnerId() {
- Account caller = CallContext.current().getCallingAccount();
- return caller.getAccountId();
- }
-
@Override
public String getEventType() {
return EventTypes.EVENT_NET_IP_ASSIGN;
@@ -126,7 +98,7 @@ public class AddIpToVmNicCmd extends BaseAsyncCmd {
@Override
public String getEventDescription() {
- return "associating ip to nic id: " + getNetworkId() + " in zone " + getZoneId();
+ return "associating ip to nic id=" + getNicId() + " belonging to network id=" + getNetworkId();
}
/////////////////////////////////////////////////////
@@ -156,9 +128,9 @@ public class AddIpToVmNicCmd extends BaseAsyncCmd {
}
try {
- result = _networkService.allocateSecondaryGuestIP(_accountService.getAccount(getEntityOwnerId()), getZoneId(), getNicId(), getNetworkId(), getIpaddress());
+ result = _networkService.allocateSecondaryGuestIP(getNicId(), getIpaddress());
} catch (InsufficientAddressCapacityException e) {
- throw new InvalidParameterValueException("Allocating guest ip for nic failed");
+ throw new InvalidParameterValueException("Allocating guest ip for nic failed : " + e.getMessage());
}
if (result != null) {
@@ -166,7 +138,7 @@ public class AddIpToVmNicCmd extends BaseAsyncCmd {
if (getNetworkType() == NetworkType.Basic) {
// add security group rules for the secondary ip addresses
boolean success = false;
- success = _securityGroupService.securityGroupRulesForVmSecIp(getNicId(), getNetworkId(), secondaryIp, true);
+ success = _securityGroupService.securityGroupRulesForVmSecIp(getNicId(), secondaryIp, true);
if (success == false) {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to set security group rules for the secondary ip");
}
@@ -197,4 +169,16 @@ public class AddIpToVmNicCmd extends BaseAsyncCmd {
return ApiCommandJobType.IpAddress;
}
+ @Override
+ public long getEntityOwnerId() {
+ Nic nic = _entityMgr.findById(Nic.class, nicId);
+ if (nic == null) {
+ throw new InvalidParameterValueException("Can't find nic for id specified");
+ }
+ long vmId = nic.getInstanceId();
+ VirtualMachine vm = _entityMgr.findById(VirtualMachine.class, vmId);
+
+ return vm.getAccountId();
+ }
+
}
diff --git a/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java b/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
index fee6db25c87..eb19db43866 100755
--- a/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vm/DeployVMCmd.java
@@ -24,9 +24,6 @@ import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
-import org.apache.cloudstack.api.BaseAsyncCreateCustomIdCmd;
-import org.apache.log4j.Logger;
-
import org.apache.cloudstack.acl.SecurityChecker.AccessType;
import org.apache.cloudstack.affinity.AffinityGroupResponse;
import org.apache.cloudstack.api.ACL;
@@ -34,7 +31,7 @@ import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiCommandJobType;
import org.apache.cloudstack.api.ApiConstants;
import org.apache.cloudstack.api.ApiErrorCode;
-import org.apache.cloudstack.api.BaseAsyncCreateCmd;
+import org.apache.cloudstack.api.BaseAsyncCreateCustomIdCmd;
import org.apache.cloudstack.api.Parameter;
import org.apache.cloudstack.api.ServerApiException;
import org.apache.cloudstack.api.response.DiskOfferingResponse;
@@ -48,6 +45,7 @@ import org.apache.cloudstack.api.response.TemplateResponse;
import org.apache.cloudstack.api.response.UserVmResponse;
import org.apache.cloudstack.api.response.ZoneResponse;
import org.apache.cloudstack.context.CallContext;
+import org.apache.log4j.Logger;
import com.cloud.dc.DataCenter;
import com.cloud.dc.DataCenter.NetworkType;
@@ -67,9 +65,7 @@ import com.cloud.template.VirtualMachineTemplate;
import com.cloud.user.Account;
import com.cloud.uservm.UserVm;
-@APICommand(name = "deployVirtualMachine",
- description = "Creates and automatically starts a virtual machine based on a service offering, disk offering, and template.",
- responseObject = UserVmResponse.class)
+@APICommand(name = "deployVirtualMachine", description = "Creates and automatically starts a virtual machine based on a service offering, disk offering, and template.", responseObject = UserVmResponse.class)
public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
public static final Logger s_logger = Logger.getLogger(DeployVMCmd.class.getName());
@@ -79,27 +75,15 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
//////////////// API parameters /////////////////////
/////////////////////////////////////////////////////
- @Parameter(name = ApiConstants.ZONE_ID,
- type = CommandType.UUID,
- entityType = ZoneResponse.class,
- required = true,
- description = "availability zone for the virtual machine")
+ @Parameter(name = ApiConstants.ZONE_ID, type = CommandType.UUID, entityType = ZoneResponse.class, required = true, description = "availability zone for the virtual machine")
private Long zoneId;
@ACL
- @Parameter(name = ApiConstants.SERVICE_OFFERING_ID,
- type = CommandType.UUID,
- entityType = ServiceOfferingResponse.class,
- required = true,
- description = "the ID of the service offering for the virtual machine")
+ @Parameter(name = ApiConstants.SERVICE_OFFERING_ID, type = CommandType.UUID, entityType = ServiceOfferingResponse.class, required = true, description = "the ID of the service offering for the virtual machine")
private Long serviceOfferingId;
@ACL
- @Parameter(name = ApiConstants.TEMPLATE_ID,
- type = CommandType.UUID,
- entityType = TemplateResponse.class,
- required = true,
- description = "the ID of the template for the virtual machine")
+ @Parameter(name = ApiConstants.TEMPLATE_ID, type = CommandType.UUID, entityType = TemplateResponse.class, required = true, description = "the ID of the template for the virtual machine")
private Long templateId;
@Parameter(name = ApiConstants.NAME, type = CommandType.STRING, description = "host name for the virtual machine")
@@ -112,31 +96,21 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
@Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, description = "an optional account for the virtual machine. Must be used with domainId.")
private String accountName;
- @Parameter(name = ApiConstants.DOMAIN_ID,
- type = CommandType.UUID,
- entityType = DomainResponse.class,
- description = "an optional domainId for the virtual machine. If the account parameter is used, domainId must also be used.")
+ @Parameter(name = ApiConstants.DOMAIN_ID, type = CommandType.UUID, entityType = DomainResponse.class, description = "an optional domainId for the virtual machine. If the account parameter is used, domainId must also be used.")
private Long domainId;
//Network information
@ACL(accessType = AccessType.UseNetwork)
- @Parameter(name = ApiConstants.NETWORK_IDS,
- type = CommandType.LIST,
- collectionType = CommandType.UUID,
- entityType = NetworkResponse.class,
- description = "list of network ids used by virtual machine. Can't be specified with ipToNetworkList parameter")
+ @Parameter(name = ApiConstants.NETWORK_IDS, type = CommandType.LIST, collectionType = CommandType.UUID, entityType = NetworkResponse.class, description = "list of network ids used by virtual machine. Can't be specified with ipToNetworkList parameter")
private List networkIds;
//DataDisk information
@ACL
- @Parameter(name = ApiConstants.DISK_OFFERING_ID,
- type = CommandType.UUID,
- entityType = DiskOfferingResponse.class,
- description = "the ID of the disk offering for the virtual machine. If the template is of ISO format,"
- + " the diskOfferingId is for the root disk volume. Otherwise this parameter is used to indicate the "
- + "offering for the data disk volume. If the templateId parameter passed is from a Template object,"
- + " the diskOfferingId refers to a DATA Disk Volume created. If the templateId parameter passed is "
- + "from an ISO object, the diskOfferingId refers to a ROOT Disk Volume created.")
+ @Parameter(name = ApiConstants.DISK_OFFERING_ID, type = CommandType.UUID, entityType = DiskOfferingResponse.class, description = "the ID of the disk offering for the virtual machine. If the template is of ISO format,"
+ + " the diskOfferingId is for the root disk volume. Otherwise this parameter is used to indicate the "
+ + "offering for the data disk volume. If the templateId parameter passed is from a Template object,"
+ + " the diskOfferingId refers to a DATA Disk Volume created. If the templateId parameter passed is "
+ + "from an ISO object, the diskOfferingId refers to a ROOT Disk Volume created.")
private Long diskOfferingId;
@Parameter(name = ApiConstants.SIZE, type = CommandType.LONG, description = "the arbitrary size for the DATADISK volume. Mutually exclusive with diskOfferingId")
@@ -148,43 +122,27 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
@Parameter(name = ApiConstants.HYPERVISOR, type = CommandType.STRING, description = "the hypervisor on which to deploy the virtual machine")
private String hypervisor;
- @Parameter(name = ApiConstants.USER_DATA,
- type = CommandType.STRING,
- description = "an optional binary data that can be sent to the virtual machine upon a successful deployment. This binary data must be base64 encoded before adding it to the request. Using HTTP GET (via querystring), you can send up to 2KB of data after base64 encoding. Using HTTP POST(via POST body), you can send up to 32K of data after base64 encoding.",
- length = 32768)
+ @Parameter(name = ApiConstants.USER_DATA, type = CommandType.STRING, description = "an optional binary data that can be sent to the virtual machine upon a successful deployment. This binary data must be base64 encoded before adding it to the request. Using HTTP GET (via querystring), you can send up to 2KB of data after base64 encoding. Using HTTP POST(via POST body), you can send up to 32K of data after base64 encoding.", length = 32768)
private String userData;
@Parameter(name = ApiConstants.SSH_KEYPAIR, type = CommandType.STRING, description = "name of the ssh key pair used to login to the virtual machine")
private String sshKeyPairName;
- @Parameter(name = ApiConstants.HOST_ID,
- type = CommandType.UUID,
- entityType = HostResponse.class,
- description = "destination Host ID to deploy the VM to - parameter available for root admin only")
+ @Parameter(name = ApiConstants.HOST_ID, type = CommandType.UUID, entityType = HostResponse.class, description = "destination Host ID to deploy the VM to - parameter available for root admin only")
private Long hostId;
@ACL
- @Parameter(name = ApiConstants.SECURITY_GROUP_IDS,
- type = CommandType.LIST,
- collectionType = CommandType.UUID,
- entityType = SecurityGroupResponse.class,
- description = "comma separated list of security groups id that going to be applied to the virtual machine. "
- + "Should be passed only when vm is created from a zone with Basic Network support." + " Mutually exclusive with securitygroupnames parameter")
+ @Parameter(name = ApiConstants.SECURITY_GROUP_IDS, type = CommandType.LIST, collectionType = CommandType.UUID, entityType = SecurityGroupResponse.class, description = "comma separated list of security groups id that going to be applied to the virtual machine. "
+ + "Should be passed only when vm is created from a zone with Basic Network support." + " Mutually exclusive with securitygroupnames parameter")
private List securityGroupIdList;
@ACL
- @Parameter(name = ApiConstants.SECURITY_GROUP_NAMES,
- type = CommandType.LIST,
- collectionType = CommandType.STRING,
- entityType = SecurityGroupResponse.class,
- description = "comma separated list of security groups names that going to be applied to the virtual machine."
- + " Should be passed only when vm is created from a zone with Basic Network support. " + "Mutually exclusive with securitygroupids parameter")
+ @Parameter(name = ApiConstants.SECURITY_GROUP_NAMES, type = CommandType.LIST, collectionType = CommandType.STRING, entityType = SecurityGroupResponse.class, description = "comma separated list of security groups names that going to be applied to the virtual machine."
+ + " Should be passed only when vm is created from a zone with Basic Network support. " + "Mutually exclusive with securitygroupids parameter")
private List securityGroupNameList;
- @Parameter(name = ApiConstants.IP_NETWORK_LIST,
- type = CommandType.MAP,
- description = "ip to network mapping. Can't be specified with networkIds parameter."
- + " Example: iptonetworklist[0].ip=10.10.10.11&iptonetworklist[0].ipv6=fc00:1234:5678::abcd&iptonetworklist[0].networkid=uuid - requests to use ip 10.10.10.11 in network id=uuid")
+ @Parameter(name = ApiConstants.IP_NETWORK_LIST, type = CommandType.MAP, description = "ip to network mapping. Can't be specified with networkIds parameter."
+ + " Example: iptonetworklist[0].ip=10.10.10.11&iptonetworklist[0].ipv6=fc00:1234:5678::abcd&iptonetworklist[0].networkid=uuid - requests to use ip 10.10.10.11 in network id=uuid")
private Map ipToNetworkList;
@Parameter(name = ApiConstants.IP_ADDRESS, type = CommandType.STRING, description = "the ip address for default vm's network")
@@ -193,48 +151,30 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
@Parameter(name = ApiConstants.IP6_ADDRESS, type = CommandType.STRING, description = "the ipv6 address for default vm's network")
private String ip6Address;
- @Parameter(name = ApiConstants.KEYBOARD,
- type = CommandType.STRING,
- description = "an optional keyboard device type for the virtual machine. valid value can be one of de,de-ch,es,fi,fr,fr-be,fr-ch,is,it,jp,nl-be,no,pt,uk,us")
+ @Parameter(name = ApiConstants.KEYBOARD, type = CommandType.STRING, description = "an optional keyboard device type for the virtual machine. valid value can be one of de,de-ch,es,fi,fr,fr-be,fr-ch,is,it,jp,nl-be,no,pt,uk,us")
private String keyboard;
@Parameter(name = ApiConstants.PROJECT_ID, type = CommandType.UUID, entityType = ProjectResponse.class, description = "Deploy vm for the project")
private Long projectId;
- @Parameter(name = ApiConstants.START_VM,
- type = CommandType.BOOLEAN,
- description = "true if network offering supports specifying ip ranges; defaulted to true if not specified")
+ @Parameter(name = ApiConstants.START_VM, type = CommandType.BOOLEAN, description = "true if network offering supports specifying ip ranges; defaulted to true if not specified")
private Boolean startVm;
@ACL
- @Parameter(name = ApiConstants.AFFINITY_GROUP_IDS,
- type = CommandType.LIST,
- collectionType = CommandType.UUID,
- entityType = AffinityGroupResponse.class,
- description = "comma separated list of affinity groups id that are going to be applied to the virtual machine."
- + " Mutually exclusive with affinitygroupnames parameter")
+ @Parameter(name = ApiConstants.AFFINITY_GROUP_IDS, type = CommandType.LIST, collectionType = CommandType.UUID, entityType = AffinityGroupResponse.class, description = "comma separated list of affinity groups id that are going to be applied to the virtual machine."
+ + " Mutually exclusive with affinitygroupnames parameter")
private List affinityGroupIdList;
@ACL
- @Parameter(name = ApiConstants.AFFINITY_GROUP_NAMES,
- type = CommandType.LIST,
- collectionType = CommandType.STRING,
- entityType = AffinityGroupResponse.class,
- description = "comma separated list of affinity groups names that are going to be applied to the virtual machine."
- + "Mutually exclusive with affinitygroupids parameter")
+ @Parameter(name = ApiConstants.AFFINITY_GROUP_NAMES, type = CommandType.LIST, collectionType = CommandType.STRING, entityType = AffinityGroupResponse.class, description = "comma separated list of affinity groups names that are going to be applied to the virtual machine."
+ + "Mutually exclusive with affinitygroupids parameter")
private List affinityGroupNameList;
- @Parameter(name = ApiConstants.DISPLAY_VM,
- type = CommandType.BOOLEAN,
- since = "4.2",
- description = "an optional field, whether to the display the vm to the end user or not.")
+ @Parameter(name = ApiConstants.DISPLAY_VM, type = CommandType.BOOLEAN, since = "4.2", description = "an optional field, whether to the display the vm to the end user or not.")
private Boolean displayVm;
- @Parameter(name = ApiConstants.CUSTOM_PARAMETERS,
- type = CommandType.MAP,
- since= "4.3",
- description = "used to specify the custom parameters.")
- private Map customParameters;
+ @Parameter(name = ApiConstants.DETAILS, type = CommandType.MAP, since = "4.3", description = "used to specify the custom parameters.")
+ private Map details;
/////////////////////////////////////////////////////
/////////////////// Accessors ///////////////////////
@@ -262,13 +202,13 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
return domainId;
}
- public Map getCustomParameters() {
- Map customparameterMap = new HashMap();
- if (customParameters != null && customParameters.size() !=0){
- Collection parameterCollection = customParameters.values();
+ public Map getDetails() {
+ Map customparameterMap = new HashMap();
+ if (details != null && details.size() != 0) {
+ Collection parameterCollection = details.values();
Iterator iter = parameterCollection.iterator();
while (iter.hasNext()) {
- HashMap value = (HashMap) iter.next();
+ HashMap value = (HashMap)iter.next();
for (String key : value.keySet()) {
customparameterMap.put(key, value.get(key));
}
@@ -289,7 +229,6 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
return displayVm;
}
-
public List getSecurityGroupIdList() {
if (securityGroupNameList != null && securityGroupIdList != null) {
throw new InvalidParameterValueException("securitygroupids parameter is mutually exclusive with securitygroupnames parameter");
@@ -556,27 +495,23 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
if (getNetworkIds() != null) {
throw new InvalidParameterValueException("Can't specify network Ids in Basic zone");
} else {
- vm =
- _userVmService.createBasicSecurityGroupVirtualMachine(zone, serviceOffering, template, getSecurityGroupIdList(), owner, name, displayName,
- diskOfferingId, size, group, getHypervisor(), getHttpMethod(), userData, sshKeyPairName, getIpToNetworkMap(), addrs, displayVm, keyboard,
- getAffinityGroupIdList(), getCustomParameters(), getCustomId());
+ vm = _userVmService.createBasicSecurityGroupVirtualMachine(zone, serviceOffering, template, getSecurityGroupIdList(), owner, name, displayName, diskOfferingId,
+ size, group, getHypervisor(), getHttpMethod(), userData, sshKeyPairName, getIpToNetworkMap(), addrs, displayVm, keyboard, getAffinityGroupIdList(),
+ getDetails(), getCustomId());
}
} else {
if (zone.isSecurityGroupEnabled()) {
- vm =
- _userVmService.createAdvancedSecurityGroupVirtualMachine(zone, serviceOffering, template, getNetworkIds(), getSecurityGroupIdList(), owner, name,
- displayName, diskOfferingId, size, group, getHypervisor(), getHttpMethod(), userData, sshKeyPairName, getIpToNetworkMap(), addrs, displayVm,
- keyboard, getAffinityGroupIdList(), getCustomParameters(), getCustomId());
+ vm = _userVmService.createAdvancedSecurityGroupVirtualMachine(zone, serviceOffering, template, getNetworkIds(), getSecurityGroupIdList(), owner, name,
+ displayName, diskOfferingId, size, group, getHypervisor(), getHttpMethod(), userData, sshKeyPairName, getIpToNetworkMap(), addrs, displayVm, keyboard,
+ getAffinityGroupIdList(), getDetails(), getCustomId());
} else {
if (getSecurityGroupIdList() != null && !getSecurityGroupIdList().isEmpty()) {
throw new InvalidParameterValueException("Can't create vm with security groups; security group feature is not enabled per zone");
}
- vm =
- _userVmService.createAdvancedVirtualMachine(zone, serviceOffering, template, getNetworkIds(), owner, name, displayName, diskOfferingId, size,
- group, getHypervisor(), getHttpMethod(), userData, sshKeyPairName, getIpToNetworkMap(), addrs, displayVm, keyboard, getAffinityGroupIdList(),
- getCustomParameters(), getCustomId());
-
+ vm = _userVmService.createAdvancedVirtualMachine(zone, serviceOffering, template, getNetworkIds(), owner, name, displayName, diskOfferingId, size, group,
+ getHypervisor(), getHttpMethod(), userData, sshKeyPairName, getIpToNetworkMap(), addrs, displayVm, keyboard, getAffinityGroupIdList(), getDetails(),
+ getCustomId());
}
}
@@ -601,5 +536,4 @@ public class DeployVMCmd extends BaseAsyncCreateCustomIdCmd {
throw new ServerApiException(ApiErrorCode.RESOURCE_ALLOCATION_ERROR, ex.getMessage());
}
}
-
}
diff --git a/api/src/org/apache/cloudstack/api/command/user/vm/ListNicsCmd.java b/api/src/org/apache/cloudstack/api/command/user/vm/ListNicsCmd.java
index 8cb95756367..95d4990bf57 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vm/ListNicsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vm/ListNicsCmd.java
@@ -19,8 +19,6 @@ package org.apache.cloudstack.api.command.user.vm;
import java.util.ArrayList;
import java.util.List;
-import org.apache.log4j.Logger;
-
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiCommandJobType;
import org.apache.cloudstack.api.ApiConstants;
@@ -29,9 +27,11 @@ import org.apache.cloudstack.api.BaseListCmd;
import org.apache.cloudstack.api.Parameter;
import org.apache.cloudstack.api.ServerApiException;
import org.apache.cloudstack.api.response.ListResponse;
+import org.apache.cloudstack.api.response.NetworkResponse;
import org.apache.cloudstack.api.response.NicResponse;
import org.apache.cloudstack.api.response.UserVmResponse;
import org.apache.cloudstack.context.CallContext;
+import org.apache.log4j.Logger;
import com.cloud.exception.ConcurrentOperationException;
import com.cloud.exception.InsufficientCapacityException;
@@ -55,6 +55,9 @@ public class ListNicsCmd extends BaseListCmd {
@Parameter(name = ApiConstants.VIRTUAL_MACHINE_ID, type = CommandType.UUID, entityType = UserVmResponse.class, required = true, description = "the ID of the vm")
private Long vmId;
+ @Parameter(name = ApiConstants.NETWORK_ID, type = CommandType.UUID, entityType = NetworkResponse.class, description = "list nic of the specific vm's network")
+ private Long networkId;
+
/////////////////////////////////////////////////////
/////////////////// Accessors ///////////////////////
/////////////////////////////////////////////////////
@@ -79,6 +82,10 @@ public class ListNicsCmd extends BaseListCmd {
return vmId;
}
+ public Long getNetworkId() {
+ return networkId;
+ }
+
@Override
public long getEntityOwnerId() {
Account caller = CallContext.current().getCallingAccount();
diff --git a/api/src/org/apache/cloudstack/api/command/user/vm/ListVMsCmd.java b/api/src/org/apache/cloudstack/api/command/user/vm/ListVMsCmd.java
index 3f161c1698d..28637fbbb35 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vm/ListVMsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vm/ListVMsCmd.java
@@ -95,7 +95,7 @@ public class ListVMsCmd extends BaseListTaggedResourcesCmd {
type = CommandType.LIST,
collectionType = CommandType.STRING,
description = "comma separated list of host details requested, "
- + "value can be a list of [all, group, nics, stats, secgrp, tmpl, servoff, iso, volume, min, affgrp]."
+ + "value can be a list of [all, group, nics, stats, secgrp, tmpl, servoff, diskoff, iso, volume, min, affgrp]."
+ " If no parameter is passed in, the details will be defaulted to all")
private List viewDetails;
diff --git a/api/src/org/apache/cloudstack/api/command/user/vm/RemoveIpFromVmNicCmd.java b/api/src/org/apache/cloudstack/api/command/user/vm/RemoveIpFromVmNicCmd.java
index 9b86577f8e3..24582472b53 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vm/RemoveIpFromVmNicCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vm/RemoveIpFromVmNicCmd.java
@@ -142,7 +142,7 @@ public class RemoveIpFromVmNicCmd extends BaseAsyncCmd {
if (getNetworkType() == NetworkType.Basic) {
//remove the security group rules for this secondary ip
boolean success = false;
- success = _securityGroupService.securityGroupRulesForVmSecIp(nicSecIp.getNicId(), nicSecIp.getNetworkId(), nicSecIp.getIp4Address(), false);
+ success = _securityGroupService.securityGroupRulesForVmSecIp(nicSecIp.getNicId(), nicSecIp.getIp4Address(), false);
if (success == false) {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to set security group rules for the secondary ip");
}
diff --git a/api/src/org/apache/cloudstack/api/command/user/vm/ScaleVMCmd.java b/api/src/org/apache/cloudstack/api/command/user/vm/ScaleVMCmd.java
index 08a4a5673dc..d23430095d2 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vm/ScaleVMCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vm/ScaleVMCmd.java
@@ -16,20 +16,24 @@
// under the License.
package org.apache.cloudstack.api.command.user.vm;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
import java.util.List;
-
-import org.apache.log4j.Logger;
+import java.util.Map;
import org.apache.cloudstack.api.ACL;
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiConstants;
import org.apache.cloudstack.api.ApiErrorCode;
import org.apache.cloudstack.api.BaseAsyncCmd;
+import org.apache.cloudstack.api.BaseCmd;
import org.apache.cloudstack.api.Parameter;
import org.apache.cloudstack.api.ServerApiException;
import org.apache.cloudstack.api.response.ServiceOfferingResponse;
import org.apache.cloudstack.api.response.SuccessResponse;
import org.apache.cloudstack.api.response.UserVmResponse;
+import org.apache.log4j.Logger;
import com.cloud.event.EventTypes;
import com.cloud.exception.ConcurrentOperationException;
@@ -39,12 +43,6 @@ import com.cloud.exception.VirtualMachineMigrationException;
import com.cloud.user.Account;
import com.cloud.uservm.UserVm;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
-
@APICommand(name = "scaleVirtualMachine", description = "Scales the virtual machine to a new service offering.", responseObject = SuccessResponse.class)
public class ScaleVMCmd extends BaseAsyncCmd {
public static final Logger s_logger = Logger.getLogger(ScaleVMCmd.class.getName());
@@ -59,17 +57,11 @@ public class ScaleVMCmd extends BaseAsyncCmd {
private Long id;
@ACL
- @Parameter(name = ApiConstants.SERVICE_OFFERING_ID,
- type = CommandType.UUID,
- entityType = ServiceOfferingResponse.class,
- required = true,
- description = "the ID of the service offering for the virtual machine")
+ @Parameter(name = ApiConstants.SERVICE_OFFERING_ID, type = CommandType.UUID, entityType = ServiceOfferingResponse.class, required = true, description = "the ID of the service offering for the virtual machine")
private Long serviceOfferingId;
- @Parameter(name=ApiConstants.CUSTOM_PARAMETERS,
- type = CommandType.MAP,
- description = "name value pairs of custom parameters for cpu, memory and cpunumber. example customparameters[i].name=value")
- private Map customParameters;
+ @Parameter(name = ApiConstants.DETAILS, type = BaseCmd.CommandType.MAP, description = "name value pairs of custom parameters for cpu,memory and cpunumber. example details[i].name=value")
+ private Map details;
/////////////////////////////////////////////////////
/////////////////// Accessors ///////////////////////
@@ -84,15 +76,15 @@ public class ScaleVMCmd extends BaseAsyncCmd {
}
//instead of reading a map directly we are using collections.
- //it is because customParameters.values() cannot be cast to a map.
+ //it is because details.values() cannot be cast to a map.
//it gives a exception
- public Map getCustomParameters() {
- Map customparameterMap = new HashMap();
- if (customParameters != null && customParameters.size() !=0){
- Collection parameterCollection = customParameters.values();
+ public Map getDetails() {
+ Map customparameterMap = new HashMap();
+ if (details != null && details.size() != 0) {
+ Collection parameterCollection = details.values();
Iterator iter = parameterCollection.iterator();
while (iter.hasNext()) {
- HashMap value = (HashMap) iter.next();
+ HashMap value = (HashMap)iter.next();
for (String key : value.keySet()) {
customparameterMap.put(key, value.get(key));
}
diff --git a/api/src/org/apache/cloudstack/api/command/user/vm/UpdateVMCmd.java b/api/src/org/apache/cloudstack/api/command/user/vm/UpdateVMCmd.java
index 967d8f4d525..e0ca787b6d6 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vm/UpdateVMCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vm/UpdateVMCmd.java
@@ -16,13 +16,12 @@
// under the License.
package org.apache.cloudstack.api.command.user.vm;
-import org.apache.cloudstack.api.BaseCustomIdCmd;
import org.apache.log4j.Logger;
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiConstants;
import org.apache.cloudstack.api.ApiErrorCode;
-import org.apache.cloudstack.api.BaseCmd;
+import org.apache.cloudstack.api.BaseCustomIdCmd;
import org.apache.cloudstack.api.Parameter;
import org.apache.cloudstack.api.ServerApiException;
import org.apache.cloudstack.api.response.GuestOSResponse;
@@ -143,7 +142,7 @@ public class UpdateVMCmd extends BaseCustomIdCmd {
if (result != null) {
UserVmResponse response = _responseGenerator.createUserVmResponse("virtualmachine", result).get(0);
response.setResponseName(getCommandName());
- this.setResponseObject(response);
+ setResponseObject(response);
} else {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to update vm");
}
diff --git a/api/src/org/apache/cloudstack/api/command/user/vm/UpgradeVMCmd.java b/api/src/org/apache/cloudstack/api/command/user/vm/UpgradeVMCmd.java
index 43497811b13..12ab711afce 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vm/UpgradeVMCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vm/UpgradeVMCmd.java
@@ -16,7 +16,10 @@
// under the License.
package org.apache.cloudstack.api.command.user.vm;
-import org.apache.log4j.Logger;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiConstants;
@@ -27,6 +30,7 @@ import org.apache.cloudstack.api.ServerApiException;
import org.apache.cloudstack.api.response.ServiceOfferingResponse;
import org.apache.cloudstack.api.response.UserVmResponse;
import org.apache.cloudstack.context.CallContext;
+import org.apache.log4j.Logger;
import com.cloud.exception.InvalidParameterValueException;
import com.cloud.exception.ResourceAllocationException;
@@ -34,13 +38,8 @@ import com.cloud.offering.ServiceOffering;
import com.cloud.user.Account;
import com.cloud.uservm.UserVm;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
@APICommand(name = "changeServiceForVirtualMachine", responseObject = UserVmResponse.class, description = "Changes the service offering for a virtual machine. "
- + "The virtual machine must be in a \"Stopped\" state for " + "this command to take effect.")
+ + "The virtual machine must be in a \"Stopped\" state for " + "this command to take effect.")
public class UpgradeVMCmd extends BaseCmd {
public static final Logger s_logger = Logger.getLogger(UpgradeVMCmd.class.getName());
private static final String s_name = "changeserviceforvirtualmachineresponse";
@@ -52,17 +51,11 @@ public class UpgradeVMCmd extends BaseCmd {
@Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = UserVmResponse.class, required = true, description = "The ID of the virtual machine")
private Long id;
- @Parameter(name = ApiConstants.SERVICE_OFFERING_ID,
- type = CommandType.UUID,
- entityType = ServiceOfferingResponse.class,
- required = true,
- description = "the service offering ID to apply to the virtual machine")
+ @Parameter(name = ApiConstants.SERVICE_OFFERING_ID, type = CommandType.UUID, entityType = ServiceOfferingResponse.class, required = true, description = "the service offering ID to apply to the virtual machine")
private Long serviceOfferingId;
- @Parameter(name=ApiConstants.CUSTOM_PARAMETERS,
- type = CommandType.MAP,
- description = "name value pairs of custom parameters for cpu, memory and cpunumber. example customparameters[i].name=value")
- private Map customParameters;
+ @Parameter(name = ApiConstants.DETAILS, type = CommandType.MAP, description = "name value pairs of custom parameters for cpu, memory and cpunumber. example details[i].name=value")
+ private Map details;
/////////////////////////////////////////////////////
/////////////////// Accessors ///////////////////////
@@ -76,13 +69,13 @@ public class UpgradeVMCmd extends BaseCmd {
return serviceOfferingId;
}
- public Map getCustomParameters() {
- Map customparameterMap = new HashMap();
- if (customParameters != null && customParameters.size() !=0){
- Collection parameterCollection = customParameters.values();
+ public Map getDetails() {
+ Map customparameterMap = new HashMap();
+ if (details != null && details.size() != 0) {
+ Collection parameterCollection = details.values();
Iterator iter = parameterCollection.iterator();
while (iter.hasNext()) {
- HashMap value = (HashMap) iter.next();
+ HashMap value = (HashMap)iter.next();
for (String key : value.keySet()) {
customparameterMap.put(key, value.get(key));
}
diff --git a/api/src/org/apache/cloudstack/api/command/user/volume/AddResourceDetailCmd.java b/api/src/org/apache/cloudstack/api/command/user/volume/AddResourceDetailCmd.java
index 69d1ca7c2ee..618be7f3958 100644
--- a/api/src/org/apache/cloudstack/api/command/user/volume/AddResourceDetailCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/volume/AddResourceDetailCmd.java
@@ -21,13 +21,12 @@ import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
-import org.apache.log4j.Logger;
-
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiConstants;
import org.apache.cloudstack.api.BaseAsyncCmd;
import org.apache.cloudstack.api.Parameter;
import org.apache.cloudstack.api.response.SuccessResponse;
+import org.apache.log4j.Logger;
import com.cloud.event.EventTypes;
import com.cloud.server.ResourceTag;
@@ -35,7 +34,7 @@ import com.cloud.server.ResourceTag;
@APICommand(name = "addResourceDetail", description = "Adds detail for the Resource.", responseObject = SuccessResponse.class)
public class AddResourceDetailCmd extends BaseAsyncCmd {
public static final Logger s_logger = Logger.getLogger(AddResourceDetailCmd.class.getName());
- private static final String s_name = "addResourceDetailresponse";
+ private static final String s_name = "addresourcedetailresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -47,11 +46,7 @@ public class AddResourceDetailCmd extends BaseAsyncCmd {
@Parameter(name = ApiConstants.RESOURCE_TYPE, type = CommandType.STRING, required = true, description = "type of the resource")
private String resourceType;
- @Parameter(name = ApiConstants.RESOURCE_ID,
- type = CommandType.STRING,
- required = true,
- collectionType = CommandType.STRING,
- description = "resource id to create the details for")
+ @Parameter(name = ApiConstants.RESOURCE_ID, type = CommandType.STRING, required = true, collectionType = CommandType.STRING, description = "resource id to create the details for")
private String resourceId;
/////////////////////////////////////////////////////
diff --git a/api/src/org/apache/cloudstack/api/command/user/volume/CreateVolumeCmd.java b/api/src/org/apache/cloudstack/api/command/user/volume/CreateVolumeCmd.java
index cb7b13a6a7e..c6457c60eb3 100644
--- a/api/src/org/apache/cloudstack/api/command/user/volume/CreateVolumeCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/volume/CreateVolumeCmd.java
@@ -100,7 +100,10 @@ public class CreateVolumeCmd extends BaseAsyncCreateCustomIdCmd {
@Parameter(name = ApiConstants.DISPLAY_VOLUME, type = CommandType.BOOLEAN, description = "an optional field, whether to display the volume to the end user or not.")
private Boolean displayVolume;
- @Parameter(name = ApiConstants.VIRTUAL_MACHINE_ID, type = CommandType.UUID, entityType = UserVmResponse.class, description = "the ID of the virtual machine; to be used with snapshot Id, VM to which the volume gets attached after creation")
+ @Parameter(name = ApiConstants.VIRTUAL_MACHINE_ID,
+ type = CommandType.UUID,
+ entityType = UserVmResponse.class,
+ description = "the ID of the virtual machine; to be used with snapshot Id, VM to which the volume gets attached after creation")
private Long virtualMachineId;
/////////////////////////////////////////////////////
diff --git a/api/src/org/apache/cloudstack/api/command/user/volume/ResizeVolumeCmd.java b/api/src/org/apache/cloudstack/api/command/user/volume/ResizeVolumeCmd.java
index 0cc8039200d..e69194438bf 100644
--- a/api/src/org/apache/cloudstack/api/command/user/volume/ResizeVolumeCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/volume/ResizeVolumeCmd.java
@@ -16,8 +16,6 @@
// under the License.
package org.apache.cloudstack.api.command.user.volume;
-import org.apache.log4j.Logger;
-
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiCommandJobType;
import org.apache.cloudstack.api.ApiConstants;
@@ -28,6 +26,7 @@ import org.apache.cloudstack.api.ServerApiException;
import org.apache.cloudstack.api.response.DiskOfferingResponse;
import org.apache.cloudstack.api.response.VolumeResponse;
import org.apache.cloudstack.context.CallContext;
+import org.apache.log4j.Logger;
import com.cloud.event.EventTypes;
import com.cloud.exception.InvalidParameterValueException;
@@ -47,7 +46,7 @@ public class ResizeVolumeCmd extends BaseAsyncCmd {
//////////////// API parameters /////////////////////
/////////////////////////////////////////////////////
- @Parameter(name = ApiConstants.ID, entityType = VolumeResponse.class, type = CommandType.UUID, description = "the ID of the disk volume")
+ @Parameter(name = ApiConstants.ID, entityType = VolumeResponse.class, required = true, type = CommandType.UUID, description = "the ID of the disk volume")
private Long id;
@Parameter(name = ApiConstants.SIZE, type = CommandType.LONG, required = false, description = "New volume size in G")
diff --git a/api/src/org/apache/cloudstack/api/command/user/volume/UpdateVolumeCmd.java b/api/src/org/apache/cloudstack/api/command/user/volume/UpdateVolumeCmd.java
index 7233b4fb5d3..b57f2b489d6 100644
--- a/api/src/org/apache/cloudstack/api/command/user/volume/UpdateVolumeCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/volume/UpdateVolumeCmd.java
@@ -16,14 +16,13 @@
// under the License.
package org.apache.cloudstack.api.command.user.volume;
-import org.apache.cloudstack.api.BaseAsyncCustomIdCmd;
import org.apache.log4j.Logger;
import org.apache.cloudstack.api.APICommand;
import org.apache.cloudstack.api.ApiCommandJobType;
import org.apache.cloudstack.api.ApiConstants;
import org.apache.cloudstack.api.ApiErrorCode;
-import org.apache.cloudstack.api.BaseAsyncCmd;
+import org.apache.cloudstack.api.BaseAsyncCustomIdCmd;
import org.apache.cloudstack.api.Parameter;
import org.apache.cloudstack.api.ServerApiException;
import org.apache.cloudstack.api.response.StoragePoolResponse;
@@ -145,7 +144,7 @@ public class UpdateVolumeCmd extends BaseAsyncCustomIdCmd {
if (result != null) {
VolumeResponse response = _responseGenerator.createVolumeResponse(result);
response.setResponseName(getCommandName());
- this.setResponseObject(response);
+ setResponseObject(response);
} else {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to update volume");
}
diff --git a/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java
index f12d15b5f0e..d4c52b8e42a 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vpc/CreateVPCCmd.java
@@ -47,44 +47,44 @@ public class CreateVPCCmd extends BaseAsyncCreateCmd {
// ///////////////////////////////////////////////////
@Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, description = "the account associated with the VPC. " +
- "Must be used with the domainId parameter.")
+ "Must be used with the domainId parameter.")
private String accountName;
@Parameter(name = ApiConstants.DOMAIN_ID, type = CommandType.UUID, entityType = DomainResponse.class,
- description = "the domain ID associated with the VPC. " +
- "If used with the account parameter returns the VPC associated with the account for the specified domain.")
+ description = "the domain ID associated with the VPC. " +
+ "If used with the account parameter returns the VPC associated with the account for the specified domain.")
private Long domainId;
@Parameter(name = ApiConstants.PROJECT_ID, type = CommandType.UUID, entityType = ProjectResponse.class,
- description = "create VPC for the project")
+ description = "create VPC for the project")
private Long projectId;
@Parameter(name = ApiConstants.ZONE_ID, type = CommandType.UUID, entityType = ZoneResponse.class,
- required = true, description = "the ID of the availability zone")
+ required = true, description = "the ID of the availability zone")
private Long zoneId;
@Parameter(name = ApiConstants.NAME, type = CommandType.STRING, required = true, description = "the name of the VPC")
private String vpcName;
@Parameter(name = ApiConstants.DISPLAY_TEXT, type = CommandType.STRING, required = true, description = "the display text of " +
- "the VPC")
+ "the VPC")
private String displayText;
@Parameter(name = ApiConstants.CIDR, type = CommandType.STRING, required = true, description = "the cidr of the VPC. All VPC " +
- "guest networks' cidrs should be within this CIDR")
+ "guest networks' cidrs should be within this CIDR")
private String cidr;
@Parameter(name = ApiConstants.VPC_OFF_ID, type = CommandType.UUID, entityType = VpcOfferingResponse.class,
- required = true, description = "the ID of the VPC offering")
+ required = true, description = "the ID of the VPC offering")
private Long vpcOffering;
@Parameter(name = ApiConstants.NETWORK_DOMAIN, type = CommandType.STRING,
- description = "VPC network domain. All networks inside the VPC will belong to this domain")
+ description = "VPC network domain. All networks inside the VPC will belong to this domain")
private String networkDomain;
@Parameter(name = ApiConstants.START, type = CommandType.BOOLEAN,
- description = "If set to false, the VPC won't start (VPC VR will not get allocated) until its first network gets implemented. " +
- "True by default.", since = "4.3")
+ description = "If set to false, the VPC won't start (VPC VR will not get allocated) until its first network gets implemented. " +
+ "True by default.", since = "4.3")
private Boolean start;
// ///////////////////////////////////////////////////
diff --git a/api/src/org/apache/cloudstack/api/command/user/vpc/ListVPCOfferingsCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpc/ListVPCOfferingsCmd.java
index 85051cfdf61..e3d0bc606f5 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vpc/ListVPCOfferingsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vpc/ListVPCOfferingsCmd.java
@@ -33,7 +33,7 @@ import com.cloud.network.vpc.VpcOffering;
@APICommand(name = "listVPCOfferings", description = "Lists VPC offerings", responseObject = VpcOfferingResponse.class)
public class ListVPCOfferingsCmd extends BaseListCmd {
public static final Logger s_logger = Logger.getLogger(ListVPCOfferingsCmd.class.getName());
- private static final String _name = "listvpcofferingsresponse";
+ private static final String Name = "listvpcofferingsresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -109,7 +109,7 @@ public class ListVPCOfferingsCmd extends BaseListCmd {
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
}
diff --git a/api/src/org/apache/cloudstack/api/command/user/vpc/RestartVPCCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpc/RestartVPCCmd.java
index ce144512f39..eb048ceea0b 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vpc/RestartVPCCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vpc/RestartVPCCmd.java
@@ -37,7 +37,7 @@ import com.cloud.user.Account;
@APICommand(name = "restartVPC", description = "Restarts a VPC", responseObject = VpcResponse.class)
public class RestartVPCCmd extends BaseAsyncCmd {
public static final Logger s_logger = Logger.getLogger(RestartVPCCmd.class.getName());
- private static final String _name = "restartvpcresponse";
+ private static final String Name = "restartvpcresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -59,7 +59,7 @@ public class RestartVPCCmd extends BaseAsyncCmd {
/////////////////////////////////////////////////////
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
diff --git a/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java
index 73585247976..5732c652214 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vpc/UpdateVPCCmd.java
@@ -33,7 +33,7 @@ import com.cloud.user.Account;
@APICommand(name = "updateVPC", description = "Updates a VPC", responseObject = VpcResponse.class)
public class UpdateVPCCmd extends BaseAsyncCmd {
public static final Logger s_logger = Logger.getLogger(UpdateVPCCmd.class.getName());
- private static final String _name = "updatevpcresponse";
+ private static final String Name = "updatevpcresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
@@ -69,7 +69,7 @@ public class UpdateVPCCmd extends BaseAsyncCmd {
/////////////////////////////////////////////////////
@Override
public String getCommandName() {
- return _name;
+ return Name;
}
@Override
diff --git a/api/src/org/apache/cloudstack/api/response/AlertResponse.java b/api/src/org/apache/cloudstack/api/response/AlertResponse.java
index a2554c3b095..2016bcf5e00 100644
--- a/api/src/org/apache/cloudstack/api/response/AlertResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/AlertResponse.java
@@ -42,8 +42,9 @@ public class AlertResponse extends BaseResponse {
+ "MANAGMENT_NODE = 13: lost connection to default route (to the gateway), "
+ "DOMAIN_ROUTER_MIGRATE = 14, CONSOLE_PROXY_MIGRATE = 15, USERVM_MIGRATE = 16, VLAN = 17, SSVM = 18, " + "USAGE_SERVER_RESULT = 19")
private Short alertType;
-
- @SerializedName(ApiConstants.NAME) @Param(description="the name of the alert", since="4.3")
+
+ @SerializedName(ApiConstants.NAME)
+ @Param(description = "the name of the alert", since = "4.3")
private String alertName;
@SerializedName(ApiConstants.DESCRIPTION)
@@ -69,7 +70,7 @@ public class AlertResponse extends BaseResponse {
public void setLastSent(Date lastSent) {
this.lastSent = lastSent;
}
-
+
public void setName(String name) {
this.alertName = name;
}
diff --git a/api/src/org/apache/cloudstack/api/response/CapabilitiesResponse.java b/api/src/org/apache/cloudstack/api/response/CapabilitiesResponse.java
index 4840c60528f..c8de5873367 100644
--- a/api/src/org/apache/cloudstack/api/response/CapabilitiesResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/CapabilitiesResponse.java
@@ -63,7 +63,7 @@ public class CapabilitiesResponse extends BaseResponse {
@SerializedName("kvmsnapshotenabled")
@Param(description = "true if snapshot is supported for KVM host, false otherwise")
- private boolean KVMSnapshotEnabled;
+ private boolean kvmSnapshotEnabled;
@SerializedName("apilimitmax")
@Param(description = "Max allowed number of api requests within the specified interval")
@@ -101,8 +101,8 @@ public class CapabilitiesResponse extends BaseResponse {
this.regionSecondaryEnabled = regionSecondaryEnabled;
}
- public void setKVMSnapshotEnabled(boolean KVMSnapshotEnabled) {
- this.KVMSnapshotEnabled = KVMSnapshotEnabled;
+ public void setKVMSnapshotEnabled(boolean kvmSnapshotEnabled) {
+ this.kvmSnapshotEnabled = kvmSnapshotEnabled;
}
public void setApiLimitInterval(Integer apiLimitInterval) {
diff --git a/api/src/org/apache/cloudstack/api/response/DiskOfferingResponse.java b/api/src/org/apache/cloudstack/api/response/DiskOfferingResponse.java
index 3917cb5eaf3..ebc22428326 100644
--- a/api/src/org/apache/cloudstack/api/response/DiskOfferingResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/DiskOfferingResponse.java
@@ -97,7 +97,8 @@ public class DiskOfferingResponse extends BaseResponse {
@Param(description = "io requests write rate of the disk offering")
private Long iopsWriteRate;
- @SerializedName("cacheMode") @Param(description="the cache mode to use for this disk offering. none, writeback or writethrough")
+ @SerializedName("cacheMode")
+ @Param(description = "the cache mode to use for this disk offering. none, writeback or writethrough")
private String cacheMode;
@SerializedName("displayoffering")
diff --git a/api/src/org/apache/cloudstack/api/response/NicResponse.java b/api/src/org/apache/cloudstack/api/response/NicResponse.java
index 7089f884a51..3dd8b297a2b 100644
--- a/api/src/org/apache/cloudstack/api/response/NicResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/NicResponse.java
@@ -18,14 +18,13 @@ package org.apache.cloudstack.api.response;
import java.util.List;
-import com.google.gson.annotations.SerializedName;
-
import org.apache.cloudstack.api.ApiConstants;
import org.apache.cloudstack.api.BaseResponse;
import org.apache.cloudstack.api.EntityReference;
import com.cloud.serializer.Param;
import com.cloud.vm.Nic;
+import com.google.gson.annotations.SerializedName;
@SuppressWarnings("unused")
@EntityReference(value = Nic.class)
@@ -95,6 +94,10 @@ public class NicResponse extends BaseResponse {
@Param(description = "the Secondary ipv4 addr of nic")
private List secondaryIps;
+ @SerializedName(ApiConstants.DEVICE_ID)
+ @Param(description = "device id for the network when plugged into the virtual machine", since = "4.4")
+ private String deviceId;
+
public String getId() {
return id;
}
@@ -159,6 +162,10 @@ public class NicResponse extends BaseResponse {
this.ip6Address = ip6Address;
}
+ public void setDeviceId(String deviceId) {
+ this.deviceId = deviceId;
+ }
+
@Override
public int hashCode() {
final int prime = 31;
diff --git a/api/src/org/apache/cloudstack/api/response/OvsProviderResponse.java b/api/src/org/apache/cloudstack/api/response/OvsProviderResponse.java
index 223576d001d..ac5b9e309c8 100644
--- a/api/src/org/apache/cloudstack/api/response/OvsProviderResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/OvsProviderResponse.java
@@ -27,67 +27,67 @@ import com.google.gson.annotations.SerializedName;
@EntityReference(value = OvsProvider.class)
@SuppressWarnings("unused")
public class OvsProviderResponse extends BaseResponse implements
- ControlledEntityResponse {
- @SerializedName(ApiConstants.ID)
- @Param(description = "the id of the ovs")
- private String id;
- @SerializedName(ApiConstants.NSP_ID)
- @Param(description = "the physical network service provider id of the provider")
- private String nspId;
- @SerializedName(ApiConstants.ENABLED)
- @Param(description = "Enabled/Disabled the service provider")
- private Boolean enabled;
- @SerializedName(ApiConstants.ACCOUNT)
- @Param(description = "the account associated with the provider")
- private String accountName;
- @SerializedName(ApiConstants.PROJECT_ID)
- @Param(description = "the project id of the ipaddress")
- private String projectId;
- @SerializedName(ApiConstants.PROJECT)
- @Param(description = "the project name of the address")
- private String projectName;
- @SerializedName(ApiConstants.DOMAIN_ID)
- @Param(description = "the domain ID associated with the provider")
- private String domainId;
+ ControlledEntityResponse {
+ @SerializedName(ApiConstants.ID)
+ @Param(description = "the id of the ovs")
+ private String id;
+ @SerializedName(ApiConstants.NSP_ID)
+ @Param(description = "the physical network service provider id of the provider")
+ private String nspId;
+ @SerializedName(ApiConstants.ENABLED)
+ @Param(description = "Enabled/Disabled the service provider")
+ private Boolean enabled;
+ @SerializedName(ApiConstants.ACCOUNT)
+ @Param(description = "the account associated with the provider")
+ private String accountName;
+ @SerializedName(ApiConstants.PROJECT_ID)
+ @Param(description = "the project id of the ipaddress")
+ private String projectId;
+ @SerializedName(ApiConstants.PROJECT)
+ @Param(description = "the project name of the address")
+ private String projectName;
+ @SerializedName(ApiConstants.DOMAIN_ID)
+ @Param(description = "the domain ID associated with the provider")
+ private String domainId;
- @SerializedName(ApiConstants.DOMAIN)
- @Param(description = "the domain associated with the provider")
- private String domainName;
+ @SerializedName(ApiConstants.DOMAIN)
+ @Param(description = "the domain associated with the provider")
+ private String domainName;
- @Override
- public void setAccountName(String accountName) {
- this.accountName = accountName;
- }
+ @Override
+ public void setAccountName(String accountName) {
+ this.accountName = accountName;
+ }
- public void setId(String id) {
- this.id = id;
- }
+ public void setId(String id) {
+ this.id = id;
+ }
- @Override
- public void setDomainId(String domainId) {
- this.domainId = domainId;
- }
+ @Override
+ public void setDomainId(String domainId) {
+ this.domainId = domainId;
+ }
- @Override
- public void setDomainName(String domainName) {
- this.domainName = domainName;
- }
+ @Override
+ public void setDomainName(String domainName) {
+ this.domainName = domainName;
+ }
- @Override
- public void setProjectId(String projectId) {
- this.projectId = projectId;
- }
+ @Override
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
- @Override
- public void setProjectName(String projectName) {
- this.projectName = projectName;
- }
+ @Override
+ public void setProjectName(String projectName) {
+ this.projectName = projectName;
+ }
- public void setNspId(String nspId) {
- this.nspId = nspId;
- }
+ public void setNspId(String nspId) {
+ this.nspId = nspId;
+ }
- public void setEnabled(Boolean enabled) {
- this.enabled = enabled;
- }
+ public void setEnabled(Boolean enabled) {
+ this.enabled = enabled;
+ }
}
diff --git a/api/src/org/apache/cloudstack/api/response/ProviderResponse.java b/api/src/org/apache/cloudstack/api/response/ProviderResponse.java
index 5d6ec0d5ca3..4d410837476 100644
--- a/api/src/org/apache/cloudstack/api/response/ProviderResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ProviderResponse.java
@@ -18,14 +18,13 @@ package org.apache.cloudstack.api.response;
import java.util.List;
-import com.google.gson.annotations.SerializedName;
-
import org.apache.cloudstack.api.ApiConstants;
import org.apache.cloudstack.api.BaseResponse;
import org.apache.cloudstack.api.EntityReference;
import com.cloud.network.PhysicalNetworkServiceProvider;
import com.cloud.serializer.Param;
+import com.google.gson.annotations.SerializedName;
@EntityReference(value = PhysicalNetworkServiceProvider.class)
@SuppressWarnings("unused")
diff --git a/api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java b/api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java
index c8dee140323..526e52b71a5 100644
--- a/api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java
@@ -100,7 +100,7 @@ public class ServiceOfferingResponse extends BaseResponse {
@SerializedName(ApiConstants.SYSTEM_VM_TYPE)
@Param(description = "is this a the systemvm type for system vm offering")
- private String vm_type;
+ private String vmType;
@SerializedName(ApiConstants.NETWORKRATE)
@Param(description = "data transfer rate in megabits per second allowed.")
@@ -170,11 +170,11 @@ public class ServiceOfferingResponse extends BaseResponse {
}
public String getSystemVmType() {
- return vm_type;
+ return vmType;
}
public void setSystemVmType(String vmtype) {
- vm_type = vmtype;
+ vmType = vmtype;
}
public String getDisplayText() {
diff --git a/api/src/org/apache/cloudstack/api/response/UserVmResponse.java b/api/src/org/apache/cloudstack/api/response/UserVmResponse.java
index 3ca2a1c81b1..26ecb5bb088 100644
--- a/api/src/org/apache/cloudstack/api/response/UserVmResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/UserVmResponse.java
@@ -21,8 +21,6 @@ import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
-import com.google.gson.annotations.SerializedName;
-
import org.apache.cloudstack.affinity.AffinityGroupResponse;
import org.apache.cloudstack.api.ApiConstants;
import org.apache.cloudstack.api.BaseResponse;
@@ -32,6 +30,7 @@ import com.cloud.network.router.VirtualRouter;
import com.cloud.serializer.Param;
import com.cloud.uservm.UserVm;
import com.cloud.vm.VirtualMachine;
+import com.google.gson.annotations.SerializedName;
@SuppressWarnings("unused")
@EntityReference(value = {VirtualMachine.class, UserVm.class, VirtualRouter.class})
@@ -140,6 +139,14 @@ public class UserVmResponse extends BaseResponse implements ControlledEntityResp
@Param(description = "the name of the service offering of the virtual machine")
private String serviceOfferingName;
+ @SerializedName(ApiConstants.DISK_OFFERING_ID)
+ @Param(description = "the ID of the disk offering of the virtual machine")
+ private String diskOfferingId;
+
+ @SerializedName("diskofferingname")
+ @Param(description = "the name of the disk offering of the virtual machine")
+ private String diskOfferingName;
+
@SerializedName("forvirtualnetwork")
@Param(description = "the virtual network for the service offering")
private Boolean forVirtualNetwork;
@@ -229,7 +236,7 @@ public class UserVmResponse extends BaseResponse implements ControlledEntityResp
private Set tags;
@SerializedName(ApiConstants.DETAILS)
- @Param(description = "Template details in key/value pairs.", since = "4.2.1")
+ @Param(description = "Vm details in key/value pairs.", since = "4.2.1")
private Map details;
@SerializedName(ApiConstants.SSH_KEYPAIR)
@@ -247,10 +254,15 @@ public class UserVmResponse extends BaseResponse implements ControlledEntityResp
@SerializedName(ApiConstants.IS_DYNAMICALLY_SCALABLE)
@Param(description = "true if vm contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory.")
private Boolean isDynamicallyScalable;
+
@SerializedName(ApiConstants.SERVICE_STATE)
@Param(description = "State of the Service from LB rule")
private String serviceState;
+ @SerializedName(ApiConstants.OS_TYPE_ID)
+ @Param(description = "OS type id of the vm", since = "4.4")
+ private Long osTypeId;
+
public UserVmResponse() {
securityGroupList = new LinkedHashSet();
nics = new LinkedHashSet();
@@ -383,6 +395,14 @@ public class UserVmResponse extends BaseResponse implements ControlledEntityResp
return serviceOfferingName;
}
+ public String getDiskOfferingId() {
+ return diskOfferingId;
+ }
+
+ public String getDiskOfferingName() {
+ return diskOfferingName;
+ }
+
public Boolean getForVirtualNetwork() {
return forVirtualNetwork;
}
@@ -602,6 +622,14 @@ public class UserVmResponse extends BaseResponse implements ControlledEntityResp
this.serviceOfferingName = serviceOfferingName;
}
+ public void setDiskOfferingId(String diskOfferingId) {
+ this.diskOfferingId = diskOfferingId;
+ }
+
+ public void setDiskOfferingName(String diskOfferingName) {
+ this.diskOfferingName = diskOfferingName;
+ }
+
public void setCpuNumber(Integer cpuNumber) {
this.cpuNumber = cpuNumber;
}
@@ -715,4 +743,8 @@ public class UserVmResponse extends BaseResponse implements ControlledEntityResp
public void setDetails(Map details) {
this.details = details;
}
+
+ public void setOsTypeId(Long osTypeId) {
+ this.osTypeId = osTypeId;
+ }
}
diff --git a/api/src/org/apache/cloudstack/api/response/VMUserDataResponse.java b/api/src/org/apache/cloudstack/api/response/VMUserDataResponse.java
new file mode 100644
index 00000000000..1b739e56442
--- /dev/null
+++ b/api/src/org/apache/cloudstack/api/response/VMUserDataResponse.java
@@ -0,0 +1,44 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package org.apache.cloudstack.api.response;
+
+import org.apache.cloudstack.api.ApiConstants;
+import org.apache.cloudstack.api.BaseResponse;
+
+import com.cloud.serializer.Param;
+import com.google.gson.annotations.SerializedName;
+
+public class VMUserDataResponse extends BaseResponse {
+ @SerializedName(ApiConstants.VIRTUAL_MACHINE_ID)
+ @Param(description = "the ID of the virtual machine")
+ private String vmId;
+
+ @SerializedName(ApiConstants.USER_DATA)
+ @Param(description = "Base 64 encoded VM user data")
+ private String userData;
+
+ public void setUserData(String userData) {
+ this.userData = userData;
+ }
+
+ public void setVmId(String vmId) {
+ this.vmId = vmId;
+ }
+
+}
diff --git a/api/src/org/apache/cloudstack/config/ApiServiceConfiguration.java b/api/src/org/apache/cloudstack/config/ApiServiceConfiguration.java
new file mode 100644
index 00000000000..94c0a55de6a
--- /dev/null
+++ b/api/src/org/apache/cloudstack/config/ApiServiceConfiguration.java
@@ -0,0 +1,40 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package org.apache.cloudstack.config;
+
+import javax.ejb.Local;
+
+import org.apache.cloudstack.framework.config.ConfigKey;
+import org.apache.cloudstack.framework.config.Configurable;
+
+@Local(value = {ApiServiceConfiguration.class})
+public class ApiServiceConfiguration implements Configurable {
+ public static final ConfigKey ManagementHostIPAdr = new ConfigKey("Advanced", String.class, "host", "localhost", "The ip address of management server", true);
+ public static final ConfigKey ApiServletPath = new ConfigKey("Advanced", String.class, "endpointe.url", "http://localhost:8080/client/api",
+ "API end point. Can be used by CS components/services deployed remotely, for sending CS API requests", true);
+
+ @Override
+ public String getConfigComponentName() {
+ return ApiServiceConfiguration.class.getSimpleName();
+ }
+
+ @Override
+ public ConfigKey>[] getConfigKeys() {
+ return new ConfigKey>[] {ManagementHostIPAdr, ApiServletPath};
+ }
+
+}
diff --git a/api/src/org/apache/cloudstack/context/CallContext.java b/api/src/org/apache/cloudstack/context/CallContext.java
index 2d5aea45eb1..dbeb5c7ea21 100644
--- a/api/src/org/apache/cloudstack/context/CallContext.java
+++ b/api/src/org/apache/cloudstack/context/CallContext.java
@@ -42,10 +42,10 @@ public class CallContext {
private static final Logger s_logger = Logger.getLogger(CallContext.class);
private static ManagedThreadLocal s_currentContext = new ManagedThreadLocal();
private static ManagedThreadLocal> s_currentContextStack = new ManagedThreadLocal>() {
- @Override
- protected Stack initialValue() {
- return new Stack();
- }
+ @Override
+ protected Stack initialValue() {
+ return new Stack();
+ }
};
private String contextId;
@@ -76,9 +76,9 @@ public class CallContext {
protected CallContext(User user, Account account, String contextId) {
this.user = user;
- this.userId = user.getId();
+ userId = user.getId();
this.account = account;
- this.accountId = account.getId();
+ accountId = account.getId();
this.contextId = contextId;
}
@@ -119,7 +119,7 @@ public class CallContext {
/**
* This method should only be called if you can propagate the context id
* from another CallContext.
- *
+ *
* @param callingUser calling user
* @param callingAccount calling account
* @param contextId context id propagated from another call context
@@ -132,7 +132,6 @@ public class CallContext {
protected static CallContext register(User callingUser, Account callingAccount, Long userId, Long accountId, String contextId) {
/*
Unit tests will have multiple times of setup/tear-down call to this, remove assertions to all unit test to run
-
assert s_currentContext.get() == null : "There's a context already so what does this new register context mean? " + s_currentContext.get().toString();
if (s_currentContext.get() != null) { // FIXME: This should be removed soon. I added this check only to surface all the places that have this problem.
throw new CloudRuntimeException("There's a context already so what does this new register context mean? " + s_currentContext.get().toString());
@@ -149,9 +148,9 @@ public class CallContext {
if (s_logger.isTraceEnabled()) {
s_logger.trace("Registered: " + callingContext);
}
-
+
s_currentContextStack.get().push(callingContext);
-
+
return callingContext;
}
@@ -197,7 +196,7 @@ public class CallContext {
}
return register(user, account);
}
-
+
public static CallContext register(long callingUserId, long callingAccountId, String contextId) throws CloudAuthenticationException {
Account account = s_entityMgr.findById(Account.class, callingAccountId);
if (account == null) {
@@ -215,7 +214,7 @@ public class CallContext {
// NOOP
}
}
-
+
public static CallContext unregister() {
CallContext context = s_currentContext.get();
if (context == null) {
@@ -274,7 +273,7 @@ public class CallContext {
public String getEventDetails() {
return eventDetails;
}
-
+
public String getEventType() {
return eventType;
}
@@ -282,7 +281,7 @@ public class CallContext {
public void setEventType(String eventType) {
this.eventType = eventType;
}
-
+
public String getEventDescription() {
return eventDescription;
}
diff --git a/api/src/org/apache/cloudstack/network/ExternalNetworkDeviceManager.java b/api/src/org/apache/cloudstack/network/ExternalNetworkDeviceManager.java
index 32f13f80f22..e73f5263a4f 100644
--- a/api/src/org/apache/cloudstack/network/ExternalNetworkDeviceManager.java
+++ b/api/src/org/apache/cloudstack/network/ExternalNetworkDeviceManager.java
@@ -45,6 +45,7 @@ public interface ExternalNetworkDeviceManager extends Manager {
public static final NetworkDevice PaloAltoFirewall = new NetworkDevice("PaloAltoFirewall", Network.Provider.PaloAlto.getName());
public static final NetworkDevice NiciraNvp = new NetworkDevice("NiciraNvp", Network.Provider.NiciraNvp.getName());
public static final NetworkDevice CiscoVnmc = new NetworkDevice("CiscoVnmc", Network.Provider.CiscoVnmc.getName());
+ public static final NetworkDevice OpenDaylightController = new NetworkDevice("OpenDaylightController", Network.Provider.Opendaylight.getName());
public NetworkDevice(String deviceName, String ntwkServiceprovider) {
_name = deviceName;
diff --git a/api/src/org/apache/cloudstack/query/QueryService.java b/api/src/org/apache/cloudstack/query/QueryService.java
index 792ed04c3da..65a6b064b7c 100644
--- a/api/src/org/apache/cloudstack/query/QueryService.java
+++ b/api/src/org/apache/cloudstack/query/QueryService.java
@@ -18,10 +18,6 @@ package org.apache.cloudstack.query;
import java.util.List;
-import org.apache.cloudstack.affinity.AffinityGroupResponse;
-import org.apache.cloudstack.api.command.admin.host.ListHostsCmd;
-import org.apache.cloudstack.api.command.admin.internallb.ListInternalLBVMsCmd;
-import org.apache.cloudstack.api.command.admin.router.ListRoutersCmd;
import org.apache.cloudstack.api.command.admin.storage.ListImageStoresCmd;
import org.apache.cloudstack.api.command.admin.storage.ListSecondaryStagingStoresCmd;
import org.apache.cloudstack.api.command.admin.storage.ListStoragePoolsCmd;
@@ -43,6 +39,10 @@ import org.apache.cloudstack.api.command.user.vmgroup.ListVMGroupsCmd;
import org.apache.cloudstack.api.command.user.volume.ListResourceDetailsCmd;
import org.apache.cloudstack.api.command.user.volume.ListVolumesCmd;
import org.apache.cloudstack.api.command.user.zone.ListZonesByCmd;
+import org.apache.cloudstack.affinity.AffinityGroupResponse;
+import org.apache.cloudstack.api.command.admin.host.ListHostsCmd;
+import org.apache.cloudstack.api.command.admin.internallb.ListInternalLBVMsCmd;
+import org.apache.cloudstack.api.command.admin.router.ListRoutersCmd;
import org.apache.cloudstack.api.response.AccountResponse;
import org.apache.cloudstack.api.response.AsyncJobResponse;
import org.apache.cloudstack.api.response.DiskOfferingResponse;
@@ -118,8 +118,9 @@ public interface QueryService {
public ListResponse listIsos(ListIsosCmd cmd);
- public ListResponse listAffinityGroups(Long affinityGroupId, String affinityGroupName, String affinityGroupType, Long vmId,
- String accountName, Long domainId, boolean isRecursive, boolean listAll, Long startIndex, Long pageSize);
+ public ListResponse listAffinityGroups(Long affinityGroupId, String affinityGroupName,
+ String affinityGroupType, Long vmId, String accountName, Long domainId, boolean isRecursive,
+ boolean listAll, Long startIndex, Long pageSize, String keyword);
public List listResourceDetails(ListResourceDetailsCmd cmd);
diff --git a/api/test/com/cloud/network/NetworksTest.java b/api/test/com/cloud/network/NetworksTest.java
index 849b1b4f73f..c9102d3a02a 100644
--- a/api/test/com/cloud/network/NetworksTest.java
+++ b/api/test/com/cloud/network/NetworksTest.java
@@ -22,6 +22,7 @@ import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
+import com.cloud.dc.Vlan;
import com.cloud.network.Networks.BroadcastDomainType;
import com.cloud.network.Networks.IsolationType;
import com.cloud.utils.exception.CloudRuntimeException;
@@ -55,6 +56,20 @@ public class NetworksTest {
Assert.assertEquals("id2 should be \"2\"", "2", id2);
}
+ @Test
+ public void vlanValueTest() throws URISyntaxException {
+ String uri1 = "vlan://1";
+ String uri2 = "1";
+ String vtag = BroadcastDomainType.Vlan.getValueFrom(BroadcastDomainType.fromString(uri1));
+ Assert.assertEquals("vtag should be \"1\"", "1", vtag);
+ BroadcastDomainType tiep1 = BroadcastDomainType.getTypeOf(uri1);
+ Assert.assertEquals("the type of uri1 should be 'Vlan'", BroadcastDomainType.Vlan, tiep1);
+ BroadcastDomainType tiep2 = BroadcastDomainType.getTypeOf(uri2);
+ Assert.assertEquals("the type of uri1 should be 'Undecided'", BroadcastDomainType.UnDecided, tiep2);
+ BroadcastDomainType tiep3 = BroadcastDomainType.getTypeOf(Vlan.UNTAGGED);
+ Assert.assertEquals("the type of uri1 should be 'vlan'", BroadcastDomainType.Native, tiep3);
+ }
+
@Test
public void vlanIsolationTypeTest() throws URISyntaxException {
String uri1 = "vlan://1";
diff --git a/api/test/org/apache/cloudstack/api/command/test/AddIpToVmNicTest.java b/api/test/org/apache/cloudstack/api/command/test/AddIpToVmNicTest.java
index 195486aedd0..6f5ab3e1cd9 100644
--- a/api/test/org/apache/cloudstack/api/command/test/AddIpToVmNicTest.java
+++ b/api/test/org/apache/cloudstack/api/command/test/AddIpToVmNicTest.java
@@ -25,7 +25,6 @@ import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.mockito.Matchers;
import org.mockito.Mockito;
-
import org.apache.cloudstack.api.ResponseGenerator;
import org.apache.cloudstack.api.command.user.vm.AddIpToVmNicCmd;
import org.apache.cloudstack.api.command.user.vm.RemoveIpFromVmNicCmd;
@@ -39,7 +38,6 @@ import com.cloud.exception.InvalidParameterValueException;
import com.cloud.exception.ResourceAllocationException;
import com.cloud.exception.ResourceUnavailableException;
import com.cloud.network.NetworkService;
-import com.cloud.user.Account;
import com.cloud.vm.NicSecondaryIp;
public class AddIpToVmNicTest extends TestCase {
@@ -67,7 +65,8 @@ public class AddIpToVmNicTest extends TestCase {
AddIpToVmNicCmd ipTonicCmd = Mockito.mock(AddIpToVmNicCmd.class);
NicSecondaryIp secIp = Mockito.mock(NicSecondaryIp.class);
- Mockito.when(networkService.allocateSecondaryGuestIP(Matchers.any(Account.class), Matchers.anyLong(), Matchers.anyLong(), Matchers.anyLong(), Matchers.anyString()))
+ Mockito.when(
+ networkService.allocateSecondaryGuestIP(Matchers.anyLong(), Matchers.anyString()))
.thenReturn(secIp);
ipTonicCmd._networkService = networkService;
@@ -86,7 +85,8 @@ public class AddIpToVmNicTest extends TestCase {
NetworkService networkService = Mockito.mock(NetworkService.class);
AddIpToVmNicCmd ipTonicCmd = Mockito.mock(AddIpToVmNicCmd.class);
- Mockito.when(networkService.allocateSecondaryGuestIP(Matchers.any(Account.class), Matchers.anyLong(), Matchers.anyLong(), Matchers.anyLong(), Matchers.anyString()))
+ Mockito.when(
+ networkService.allocateSecondaryGuestIP(Matchers.anyLong(), Matchers.anyString()))
.thenReturn(null);
ipTonicCmd._networkService = networkService;
diff --git a/api/test/org/apache/cloudstack/api/command/test/AddSecondaryStorageCmdTest.java b/api/test/org/apache/cloudstack/api/command/test/AddSecondaryStorageCmdTest.java
index d0b2d85f8d5..d68cfb4ca67 100644
--- a/api/test/org/apache/cloudstack/api/command/test/AddSecondaryStorageCmdTest.java
+++ b/api/test/org/apache/cloudstack/api/command/test/AddSecondaryStorageCmdTest.java
@@ -16,6 +16,12 @@
// under the License.
package org.apache.cloudstack.api.command.test;
+import static org.mockito.Matchers.anyLong;
+import static org.mockito.Matchers.anyObject;
+import static org.mockito.Matchers.anyString;
+
+import java.util.Map;
+
import junit.framework.Assert;
import junit.framework.TestCase;
@@ -56,7 +62,8 @@ public class AddSecondaryStorageCmdTest extends TestCase {
ImageStore store = Mockito.mock(ImageStore.class);
- Mockito.when(resourceService.discoverImageStore(addImageStoreCmd)).thenReturn(store);
+ Mockito.when(resourceService.discoverImageStore(anyString(), anyString(), anyString(), anyLong(), (Map)anyObject()))
+ .thenReturn(store);
ResponseGenerator responseGenerator = Mockito.mock(ResponseGenerator.class);
addImageStoreCmd._responseGenerator = responseGenerator;
@@ -83,7 +90,8 @@ public class AddSecondaryStorageCmdTest extends TestCase {
StorageService resourceService = Mockito.mock(StorageService.class);
addImageStoreCmd._storageService = resourceService;
- Mockito.when(resourceService.discoverImageStore(addImageStoreCmd)).thenReturn(null);
+ Mockito.when(resourceService.discoverImageStore(anyString(), anyString(), anyString(), anyLong(), (Map)anyObject()))
+ .thenReturn(null);
try {
addImageStoreCmd.execute();
diff --git a/awsapi/pom.xml b/awsapi/pom.xml
index 3d269eda69a..4a6c89c9e5f 100644
--- a/awsapi/pom.xml
+++ b/awsapi/pom.xml
@@ -142,7 +142,7 @@
org.opensaml
- opensaml
+ opensaml1
@@ -162,7 +162,7 @@
org.opensaml
- opensaml
+ opensaml1
@@ -178,7 +178,7 @@
org.opensaml
- opensaml
+ opensaml1
@@ -194,7 +194,7 @@
org.opensaml
- opensaml
+ opensaml1
@@ -210,7 +210,7 @@
org.opensaml
- opensaml
+ opensaml1
@@ -223,7 +223,6 @@
org.slf4j
slf4j-api
- 1.6.1
runtime
@@ -271,8 +270,6 @@
org.bouncycastle
bcprov-jdk16
-
- 1.45
runtime
@@ -317,6 +314,16 @@
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+
+
+ cloudstack-checkstyle
+ none
+
+
+
org.apache.maven.plugins
maven-surefire-plugin
@@ -408,47 +415,6 @@
-
-
-
- org.eclipse.m2e
- lifecycle-mapping
- 1.0.0
-
-
-
-
-
- org.apache.maven.plugins
- maven-antrun-plugin
- [1.7,)
-
- run
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-dependency-plugin
- [2.0,)
-
- copy-dependencies
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/awsapi/src/com/amazon/ec2/AmazonEC2MessageReceiverInOut.java b/awsapi/src/com/amazon/ec2/AmazonEC2MessageReceiverInOut.java
index e04952a5684..302644c772e 100644
--- a/awsapi/src/com/amazon/ec2/AmazonEC2MessageReceiverInOut.java
+++ b/awsapi/src/com/amazon/ec2/AmazonEC2MessageReceiverInOut.java
@@ -59,7 +59,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describePlacementGroupsResponse289 =
- skel.describePlacementGroups(wrappedParam);
+ skel.describePlacementGroups(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describePlacementGroupsResponse289, false);
} else
@@ -73,7 +73,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createSecurityGroupResponse291 =
- skel.createSecurityGroup(wrappedParam);
+ skel.createSecurityGroup(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createSecurityGroupResponse291, false);
} else
@@ -87,7 +87,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
resetNetworkInterfaceAttributeResponse293 =
- skel.resetNetworkInterfaceAttribute(wrappedParam);
+ skel.resetNetworkInterfaceAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), resetNetworkInterfaceAttributeResponse293, false);
} else
@@ -101,7 +101,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createDhcpOptionsResponse295 =
- skel.createDhcpOptions(wrappedParam);
+ skel.createDhcpOptions(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createDhcpOptionsResponse295, false);
} else
@@ -115,7 +115,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createRouteTableResponse297 =
- skel.createRouteTable(wrappedParam);
+ skel.createRouteTable(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createRouteTableResponse297, false);
} else
@@ -129,7 +129,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeSubnetsResponse299 =
- skel.describeSubnets(wrappedParam);
+ skel.describeSubnets(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeSubnetsResponse299, false);
} else
@@ -143,7 +143,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deactivateLicenseResponse301 =
- skel.deactivateLicense(wrappedParam);
+ skel.deactivateLicense(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deactivateLicenseResponse301, false);
} else
@@ -157,7 +157,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteVpcResponse303 =
- skel.deleteVpc(wrappedParam);
+ skel.deleteVpc(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteVpcResponse303, false);
} else
@@ -171,7 +171,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
cancelSpotInstanceRequestsResponse305 =
- skel.cancelSpotInstanceRequests(wrappedParam);
+ skel.cancelSpotInstanceRequests(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), cancelSpotInstanceRequestsResponse305, false);
} else
@@ -185,7 +185,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createSubnetResponse307 =
- skel.createSubnet(wrappedParam);
+ skel.createSubnet(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createSubnetResponse307, false);
} else
@@ -199,7 +199,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteVpnGatewayResponse309 =
- skel.deleteVpnGateway(wrappedParam);
+ skel.deleteVpnGateway(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteVpnGatewayResponse309, false);
} else
@@ -213,7 +213,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createNetworkAclEntryResponse311 =
- skel.createNetworkAclEntry(wrappedParam);
+ skel.createNetworkAclEntry(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createNetworkAclEntryResponse311, false);
} else
@@ -227,7 +227,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
requestSpotInstancesResponse313 =
- skel.requestSpotInstances(wrappedParam);
+ skel.requestSpotInstances(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), requestSpotInstancesResponse313, false);
} else
@@ -241,7 +241,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeVolumeAttributeResponse315 =
- skel.describeVolumeAttribute(wrappedParam);
+ skel.describeVolumeAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeVolumeAttributeResponse315, false);
} else
@@ -255,7 +255,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
associateDhcpOptionsResponse317 =
- skel.associateDhcpOptions(wrappedParam);
+ skel.associateDhcpOptions(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), associateDhcpOptionsResponse317, false);
} else
@@ -269,7 +269,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeTagsResponse319 =
- skel.describeTags(wrappedParam);
+ skel.describeTags(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeTagsResponse319, false);
} else
@@ -283,7 +283,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
importKeyPairResponse321 =
- skel.importKeyPair(wrappedParam);
+ skel.importKeyPair(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), importKeyPairResponse321, false);
} else
@@ -297,7 +297,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteNetworkInterfaceResponse323 =
- skel.deleteNetworkInterface(wrappedParam);
+ skel.deleteNetworkInterface(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteNetworkInterfaceResponse323, false);
} else
@@ -311,7 +311,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeVpcsResponse325 =
- skel.describeVpcs(wrappedParam);
+ skel.describeVpcs(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeVpcsResponse325, false);
} else
@@ -325,7 +325,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeLicensesResponse327 =
- skel.describeLicenses(wrappedParam);
+ skel.describeLicenses(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeLicensesResponse327, false);
} else
@@ -339,7 +339,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
bundleInstanceResponse329 =
- skel.bundleInstance(wrappedParam);
+ skel.bundleInstance(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), bundleInstanceResponse329, false);
} else
@@ -353,7 +353,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeVpnConnectionsResponse331 =
- skel.describeVpnConnections(wrappedParam);
+ skel.describeVpnConnections(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeVpnConnectionsResponse331, false);
} else
@@ -367,7 +367,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeImagesResponse333 =
- skel.describeImages(wrappedParam);
+ skel.describeImages(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeImagesResponse333, false);
} else
@@ -381,7 +381,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createInternetGatewayResponse335 =
- skel.createInternetGateway(wrappedParam);
+ skel.createInternetGateway(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createInternetGatewayResponse335, false);
} else
@@ -395,7 +395,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
disassociateRouteTableResponse337 =
- skel.disassociateRouteTable(wrappedParam);
+ skel.disassociateRouteTable(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), disassociateRouteTableResponse337, false);
} else
@@ -409,7 +409,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
replaceNetworkAclEntryResponse339 =
- skel.replaceNetworkAclEntry(wrappedParam);
+ skel.replaceNetworkAclEntry(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), replaceNetworkAclEntryResponse339, false);
} else
@@ -423,7 +423,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
authorizeSecurityGroupIngressResponse341 =
- skel.authorizeSecurityGroupIngress(wrappedParam);
+ skel.authorizeSecurityGroupIngress(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), authorizeSecurityGroupIngressResponse341, false);
} else
@@ -437,7 +437,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeSnapshotAttributeResponse343 =
- skel.describeSnapshotAttribute(wrappedParam);
+ skel.describeSnapshotAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeSnapshotAttributeResponse343, false);
} else
@@ -451,7 +451,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createVpnGatewayResponse345 =
- skel.createVpnGateway(wrappedParam);
+ skel.createVpnGateway(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createVpnGatewayResponse345, false);
} else
@@ -465,7 +465,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
resetInstanceAttributeResponse347 =
- skel.resetInstanceAttribute(wrappedParam);
+ skel.resetInstanceAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), resetInstanceAttributeResponse347, false);
} else
@@ -479,7 +479,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createTagsResponse349 =
- skel.createTags(wrappedParam);
+ skel.createTags(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createTagsResponse349, false);
} else
@@ -493,7 +493,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
authorizeSecurityGroupEgressResponse351 =
- skel.authorizeSecurityGroupEgress(wrappedParam);
+ skel.authorizeSecurityGroupEgress(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), authorizeSecurityGroupEgressResponse351, false);
} else
@@ -507,7 +507,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
associateAddressResponse353 =
- skel.associateAddress(wrappedParam);
+ skel.associateAddress(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), associateAddressResponse353, false);
} else
@@ -521,7 +521,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeImageAttributeResponse355 =
- skel.describeImageAttribute(wrappedParam);
+ skel.describeImageAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeImageAttributeResponse355, false);
} else
@@ -535,7 +535,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeSpotPriceHistoryResponse357 =
- skel.describeSpotPriceHistory(wrappedParam);
+ skel.describeSpotPriceHistory(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeSpotPriceHistoryResponse357, false);
} else
@@ -549,7 +549,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
modifySnapshotAttributeResponse359 =
- skel.modifySnapshotAttribute(wrappedParam);
+ skel.modifySnapshotAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), modifySnapshotAttributeResponse359, false);
} else
@@ -563,7 +563,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeSpotInstanceRequestsResponse361 =
- skel.describeSpotInstanceRequests(wrappedParam);
+ skel.describeSpotInstanceRequests(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeSpotInstanceRequestsResponse361, false);
} else
@@ -577,7 +577,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
importInstanceResponse363 =
- skel.importInstance(wrappedParam);
+ skel.importInstance(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), importInstanceResponse363, false);
} else
@@ -591,7 +591,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeKeyPairsResponse365 =
- skel.describeKeyPairs(wrappedParam);
+ skel.describeKeyPairs(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeKeyPairsResponse365, false);
} else
@@ -605,7 +605,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
revokeSecurityGroupIngressResponse367 =
- skel.revokeSecurityGroupIngress(wrappedParam);
+ skel.revokeSecurityGroupIngress(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), revokeSecurityGroupIngressResponse367, false);
} else
@@ -619,7 +619,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createPlacementGroupResponse369 =
- skel.createPlacementGroup(wrappedParam);
+ skel.createPlacementGroup(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createPlacementGroupResponse369, false);
} else
@@ -633,7 +633,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteNetworkAclEntryResponse371 =
- skel.deleteNetworkAclEntry(wrappedParam);
+ skel.deleteNetworkAclEntry(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteNetworkAclEntryResponse371, false);
} else
@@ -647,7 +647,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
activateLicenseResponse373 =
- skel.activateLicense(wrappedParam);
+ skel.activateLicense(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), activateLicenseResponse373, false);
} else
@@ -661,7 +661,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteRouteTableResponse375 =
- skel.deleteRouteTable(wrappedParam);
+ skel.deleteRouteTable(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteRouteTableResponse375, false);
} else
@@ -675,7 +675,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
unmonitorInstancesResponse377 =
- skel.unmonitorInstances(wrappedParam);
+ skel.unmonitorInstances(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), unmonitorInstancesResponse377, false);
} else
@@ -689,7 +689,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
startInstancesResponse379 =
- skel.startInstances(wrappedParam);
+ skel.startInstances(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), startInstancesResponse379, false);
} else
@@ -703,7 +703,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
confirmProductInstanceResponse381 =
- skel.confirmProductInstance(wrappedParam);
+ skel.confirmProductInstance(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), confirmProductInstanceResponse381, false);
} else
@@ -717,7 +717,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeNetworkInterfaceAttributeResponse383 =
- skel.describeNetworkInterfaceAttribute(wrappedParam);
+ skel.describeNetworkInterfaceAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeNetworkInterfaceAttributeResponse383, false);
} else
@@ -731,7 +731,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
runInstancesResponse385 =
- skel.runInstances(wrappedParam);
+ skel.runInstances(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), runInstancesResponse385, false);
} else
@@ -745,7 +745,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createReservedInstancesListingResponse387 =
- skel.createReservedInstancesListing(wrappedParam);
+ skel.createReservedInstancesListing(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createReservedInstancesListingResponse387, false);
} else
@@ -759,7 +759,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createCustomerGatewayResponse389 =
- skel.createCustomerGateway(wrappedParam);
+ skel.createCustomerGateway(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createCustomerGatewayResponse389, false);
} else
@@ -773,7 +773,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createNetworkAclResponse391 =
- skel.createNetworkAcl(wrappedParam);
+ skel.createNetworkAcl(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createNetworkAclResponse391, false);
} else
@@ -787,7 +787,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
resetImageAttributeResponse393 =
- skel.resetImageAttribute(wrappedParam);
+ skel.resetImageAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), resetImageAttributeResponse393, false);
} else
@@ -801,7 +801,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
modifyVolumeAttributeResponse395 =
- skel.modifyVolumeAttribute(wrappedParam);
+ skel.modifyVolumeAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), modifyVolumeAttributeResponse395, false);
} else
@@ -815,7 +815,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeReservedInstancesResponse397 =
- skel.describeReservedInstances(wrappedParam);
+ skel.describeReservedInstances(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeReservedInstancesResponse397, false);
} else
@@ -829,7 +829,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
resetSnapshotAttributeResponse399 =
- skel.resetSnapshotAttribute(wrappedParam);
+ skel.resetSnapshotAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), resetSnapshotAttributeResponse399, false);
} else
@@ -843,7 +843,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteVolumeResponse401 =
- skel.deleteVolume(wrappedParam);
+ skel.deleteVolume(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteVolumeResponse401, false);
} else
@@ -857,7 +857,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeAvailabilityZonesResponse403 =
- skel.describeAvailabilityZones(wrappedParam);
+ skel.describeAvailabilityZones(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeAvailabilityZonesResponse403, false);
} else
@@ -871,7 +871,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createVpnConnectionResponse405 =
- skel.createVpnConnection(wrappedParam);
+ skel.createVpnConnection(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createVpnConnectionResponse405, false);
} else
@@ -885,7 +885,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
cancelBundleTaskResponse407 =
- skel.cancelBundleTask(wrappedParam);
+ skel.cancelBundleTask(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), cancelBundleTaskResponse407, false);
} else
@@ -899,7 +899,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
replaceNetworkAclAssociationResponse409 =
- skel.replaceNetworkAclAssociation(wrappedParam);
+ skel.replaceNetworkAclAssociation(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), replaceNetworkAclAssociationResponse409, false);
} else
@@ -913,7 +913,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
detachVpnGatewayResponse411 =
- skel.detachVpnGateway(wrappedParam);
+ skel.detachVpnGateway(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), detachVpnGatewayResponse411, false);
} else
@@ -927,7 +927,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeSnapshotsResponse413 =
- skel.describeSnapshots(wrappedParam);
+ skel.describeSnapshots(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeSnapshotsResponse413, false);
} else
@@ -941,7 +941,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteSubnetResponse415 =
- skel.deleteSubnet(wrappedParam);
+ skel.deleteSubnet(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteSubnetResponse415, false);
} else
@@ -955,7 +955,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeBundleTasksResponse417 =
- skel.describeBundleTasks(wrappedParam);
+ skel.describeBundleTasks(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeBundleTasksResponse417, false);
} else
@@ -969,7 +969,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createKeyPairResponse419 =
- skel.createKeyPair(wrappedParam);
+ skel.createKeyPair(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createKeyPairResponse419, false);
} else
@@ -983,7 +983,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createImageResponse421 =
- skel.createImage(wrappedParam);
+ skel.createImage(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createImageResponse421, false);
} else
@@ -997,7 +997,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
enableVgwRoutePropagationResponse423 =
- skel.enableVgwRoutePropagation(wrappedParam);
+ skel.enableVgwRoutePropagation(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), enableVgwRoutePropagationResponse423, false);
} else
@@ -1011,7 +1011,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
unassignPrivateIpAddressesResponse425 =
- skel.unassignPrivateIpAddresses(wrappedParam);
+ skel.unassignPrivateIpAddresses(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), unassignPrivateIpAddressesResponse425, false);
} else
@@ -1025,7 +1025,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deregisterImageResponse427 =
- skel.deregisterImage(wrappedParam);
+ skel.deregisterImage(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deregisterImageResponse427, false);
} else
@@ -1039,7 +1039,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteVpnConnectionRouteResponse429 =
- skel.deleteVpnConnectionRoute(wrappedParam);
+ skel.deleteVpnConnectionRoute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteVpnConnectionRouteResponse429, false);
} else
@@ -1053,7 +1053,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
modifyImageAttributeResponse431 =
- skel.modifyImageAttribute(wrappedParam);
+ skel.modifyImageAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), modifyImageAttributeResponse431, false);
} else
@@ -1067,7 +1067,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
cancelConversionTaskResponse433 =
- skel.cancelConversionTask(wrappedParam);
+ skel.cancelConversionTask(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), cancelConversionTaskResponse433, false);
} else
@@ -1081,7 +1081,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeVolumesResponse435 =
- skel.describeVolumes(wrappedParam);
+ skel.describeVolumes(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeVolumesResponse435, false);
} else
@@ -1095,7 +1095,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
cancelReservedInstancesListingResponse437 =
- skel.cancelReservedInstancesListing(wrappedParam);
+ skel.cancelReservedInstancesListing(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), cancelReservedInstancesListingResponse437, false);
} else
@@ -1109,7 +1109,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
getPasswordDataResponse439 =
- skel.getPasswordData(wrappedParam);
+ skel.getPasswordData(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), getPasswordDataResponse439, false);
} else
@@ -1123,7 +1123,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
allocateAddressResponse441 =
- skel.allocateAddress(wrappedParam);
+ skel.allocateAddress(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), allocateAddressResponse441, false);
} else
@@ -1137,7 +1137,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteSecurityGroupResponse443 =
- skel.deleteSecurityGroup(wrappedParam);
+ skel.deleteSecurityGroup(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteSecurityGroupResponse443, false);
} else
@@ -1151,7 +1151,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deletePlacementGroupResponse445 =
- skel.deletePlacementGroup(wrappedParam);
+ skel.deletePlacementGroup(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deletePlacementGroupResponse445, false);
} else
@@ -1165,7 +1165,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
disassociateAddressResponse447 =
- skel.disassociateAddress(wrappedParam);
+ skel.disassociateAddress(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), disassociateAddressResponse447, false);
} else
@@ -1179,7 +1179,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteDhcpOptionsResponse449 =
- skel.deleteDhcpOptions(wrappedParam);
+ skel.deleteDhcpOptions(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteDhcpOptionsResponse449, false);
} else
@@ -1193,7 +1193,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeSpotDatafeedSubscriptionResponse451 =
- skel.describeSpotDatafeedSubscription(wrappedParam);
+ skel.describeSpotDatafeedSubscription(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeSpotDatafeedSubscriptionResponse451, false);
} else
@@ -1207,7 +1207,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeNetworkAclsResponse453 =
- skel.describeNetworkAcls(wrappedParam);
+ skel.describeNetworkAcls(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeNetworkAclsResponse453, false);
} else
@@ -1221,7 +1221,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
enableVolumeIOResponse455 =
- skel.enableVolumeIO(wrappedParam);
+ skel.enableVolumeIO(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), enableVolumeIOResponse455, false);
} else
@@ -1235,7 +1235,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
attachVpnGatewayResponse457 =
- skel.attachVpnGateway(wrappedParam);
+ skel.attachVpnGateway(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), attachVpnGatewayResponse457, false);
} else
@@ -1249,7 +1249,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeInternetGatewaysResponse459 =
- skel.describeInternetGateways(wrappedParam);
+ skel.describeInternetGateways(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeInternetGatewaysResponse459, false);
} else
@@ -1263,7 +1263,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeDhcpOptionsResponse461 =
- skel.describeDhcpOptions(wrappedParam);
+ skel.describeDhcpOptions(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeDhcpOptionsResponse461, false);
} else
@@ -1277,7 +1277,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createSpotDatafeedSubscriptionResponse463 =
- skel.createSpotDatafeedSubscription(wrappedParam);
+ skel.createSpotDatafeedSubscription(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createSpotDatafeedSubscriptionResponse463, false);
} else
@@ -1291,7 +1291,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeReservedInstancesListingsResponse465 =
- skel.describeReservedInstancesListings(wrappedParam);
+ skel.describeReservedInstancesListings(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeReservedInstancesListingsResponse465, false);
} else
@@ -1305,7 +1305,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeInstanceStatusResponse467 =
- skel.describeInstanceStatus(wrappedParam);
+ skel.describeInstanceStatus(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeInstanceStatusResponse467, false);
} else
@@ -1319,7 +1319,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
modifyNetworkInterfaceAttributeResponse469 =
- skel.modifyNetworkInterfaceAttribute(wrappedParam);
+ skel.modifyNetworkInterfaceAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), modifyNetworkInterfaceAttributeResponse469, false);
} else
@@ -1333,7 +1333,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
disableVgwRoutePropagationResponse471 =
- skel.disableVgwRoutePropagation(wrappedParam);
+ skel.disableVgwRoutePropagation(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), disableVgwRoutePropagationResponse471, false);
} else
@@ -1347,7 +1347,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeVolumeStatusResponse473 =
- skel.describeVolumeStatus(wrappedParam);
+ skel.describeVolumeStatus(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeVolumeStatusResponse473, false);
} else
@@ -1361,7 +1361,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
detachNetworkInterfaceResponse475 =
- skel.detachNetworkInterface(wrappedParam);
+ skel.detachNetworkInterface(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), detachNetworkInterfaceResponse475, false);
} else
@@ -1375,7 +1375,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeSecurityGroupsResponse477 =
- skel.describeSecurityGroups(wrappedParam);
+ skel.describeSecurityGroups(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeSecurityGroupsResponse477, false);
} else
@@ -1389,7 +1389,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeInstancesResponse479 =
- skel.describeInstances(wrappedParam);
+ skel.describeInstances(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeInstancesResponse479, false);
} else
@@ -1403,7 +1403,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeNetworkInterfacesResponse481 =
- skel.describeNetworkInterfaces(wrappedParam);
+ skel.describeNetworkInterfaces(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeNetworkInterfacesResponse481, false);
} else
@@ -1417,7 +1417,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteKeyPairResponse483 =
- skel.deleteKeyPair(wrappedParam);
+ skel.deleteKeyPair(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteKeyPairResponse483, false);
} else
@@ -1431,7 +1431,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createSnapshotResponse485 =
- skel.createSnapshot(wrappedParam);
+ skel.createSnapshot(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createSnapshotResponse485, false);
} else
@@ -1445,7 +1445,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeVpnGatewaysResponse487 =
- skel.describeVpnGateways(wrappedParam);
+ skel.describeVpnGateways(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeVpnGatewaysResponse487, false);
} else
@@ -1459,7 +1459,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteTagsResponse489 =
- skel.deleteTags(wrappedParam);
+ skel.deleteTags(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteTagsResponse489, false);
} else
@@ -1473,7 +1473,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteSnapshotResponse491 =
- skel.deleteSnapshot(wrappedParam);
+ skel.deleteSnapshot(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteSnapshotResponse491, false);
} else
@@ -1487,7 +1487,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteCustomerGatewayResponse493 =
- skel.deleteCustomerGateway(wrappedParam);
+ skel.deleteCustomerGateway(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteCustomerGatewayResponse493, false);
} else
@@ -1501,7 +1501,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createVolumeResponse495 =
- skel.createVolume(wrappedParam);
+ skel.createVolume(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createVolumeResponse495, false);
} else
@@ -1515,7 +1515,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
cancelExportTaskResponse497 =
- skel.cancelExportTask(wrappedParam);
+ skel.cancelExportTask(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), cancelExportTaskResponse497, false);
} else
@@ -1529,7 +1529,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
registerImageResponse499 =
- skel.registerImage(wrappedParam);
+ skel.registerImage(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), registerImageResponse499, false);
} else
@@ -1543,7 +1543,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
detachVolumeResponse501 =
- skel.detachVolume(wrappedParam);
+ skel.detachVolume(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), detachVolumeResponse501, false);
} else
@@ -1557,7 +1557,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
stopInstancesResponse503 =
- skel.stopInstances(wrappedParam);
+ skel.stopInstances(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), stopInstancesResponse503, false);
} else
@@ -1571,7 +1571,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createRouteResponse505 =
- skel.createRoute(wrappedParam);
+ skel.createRoute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createRouteResponse505, false);
} else
@@ -1585,7 +1585,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
releaseAddressResponse507 =
- skel.releaseAddress(wrappedParam);
+ skel.releaseAddress(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), releaseAddressResponse507, false);
} else
@@ -1599,7 +1599,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeRouteTablesResponse509 =
- skel.describeRouteTables(wrappedParam);
+ skel.describeRouteTables(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeRouteTablesResponse509, false);
} else
@@ -1613,7 +1613,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeCustomerGatewaysResponse511 =
- skel.describeCustomerGateways(wrappedParam);
+ skel.describeCustomerGateways(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeCustomerGatewaysResponse511, false);
} else
@@ -1627,7 +1627,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteNetworkAclResponse513 =
- skel.deleteNetworkAcl(wrappedParam);
+ skel.deleteNetworkAcl(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteNetworkAclResponse513, false);
} else
@@ -1641,7 +1641,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteRouteResponse515 =
- skel.deleteRoute(wrappedParam);
+ skel.deleteRoute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteRouteResponse515, false);
} else
@@ -1655,7 +1655,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
rebootInstancesResponse517 =
- skel.rebootInstances(wrappedParam);
+ skel.rebootInstances(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), rebootInstancesResponse517, false);
} else
@@ -1669,7 +1669,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
modifyInstanceAttributeResponse519 =
- skel.modifyInstanceAttribute(wrappedParam);
+ skel.modifyInstanceAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), modifyInstanceAttributeResponse519, false);
} else
@@ -1683,7 +1683,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
terminateInstancesResponse521 =
- skel.terminateInstances(wrappedParam);
+ skel.terminateInstances(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), terminateInstancesResponse521, false);
} else
@@ -1697,7 +1697,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createVpnConnectionRouteResponse523 =
- skel.createVpnConnectionRoute(wrappedParam);
+ skel.createVpnConnectionRoute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createVpnConnectionRouteResponse523, false);
} else
@@ -1711,7 +1711,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeConversionTasksResponse525 =
- skel.describeConversionTasks(wrappedParam);
+ skel.describeConversionTasks(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeConversionTasksResponse525, false);
} else
@@ -1725,7 +1725,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeAddressesResponse527 =
- skel.describeAddresses(wrappedParam);
+ skel.describeAddresses(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeAddressesResponse527, false);
} else
@@ -1739,7 +1739,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeInstanceAttributeResponse529 =
- skel.describeInstanceAttribute(wrappedParam);
+ skel.describeInstanceAttribute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeInstanceAttributeResponse529, false);
} else
@@ -1753,7 +1753,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
attachInternetGatewayResponse531 =
- skel.attachInternetGateway(wrappedParam);
+ skel.attachInternetGateway(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), attachInternetGatewayResponse531, false);
} else
@@ -1767,7 +1767,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createVpcResponse533 =
- skel.createVpc(wrappedParam);
+ skel.createVpc(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createVpcResponse533, false);
} else
@@ -1781,7 +1781,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
replaceRouteTableAssociationResponse535 =
- skel.replaceRouteTableAssociation(wrappedParam);
+ skel.replaceRouteTableAssociation(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), replaceRouteTableAssociationResponse535, false);
} else
@@ -1795,7 +1795,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
associateRouteTableResponse537 =
- skel.associateRouteTable(wrappedParam);
+ skel.associateRouteTable(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), associateRouteTableResponse537, false);
} else
@@ -1809,7 +1809,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
detachInternetGatewayResponse539 =
- skel.detachInternetGateway(wrappedParam);
+ skel.detachInternetGateway(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), detachInternetGatewayResponse539, false);
} else
@@ -1823,7 +1823,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
purchaseReservedInstancesOfferingResponse541 =
- skel.purchaseReservedInstancesOffering(wrappedParam);
+ skel.purchaseReservedInstancesOffering(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), purchaseReservedInstancesOfferingResponse541, false);
} else
@@ -1837,7 +1837,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
importVolumeResponse543 =
- skel.importVolume(wrappedParam);
+ skel.importVolume(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), importVolumeResponse543, false);
} else
@@ -1851,7 +1851,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeExportTasksResponse545 =
- skel.describeExportTasks(wrappedParam);
+ skel.describeExportTasks(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeExportTasksResponse545, false);
} else
@@ -1865,7 +1865,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createInstanceExportTaskResponse547 =
- skel.createInstanceExportTask(wrappedParam);
+ skel.createInstanceExportTask(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createInstanceExportTaskResponse547, false);
} else
@@ -1879,7 +1879,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
assignPrivateIpAddressesResponse549 =
- skel.assignPrivateIpAddresses(wrappedParam);
+ skel.assignPrivateIpAddresses(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), assignPrivateIpAddressesResponse549, false);
} else
@@ -1893,7 +1893,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
reportInstanceStatusResponse551 =
- skel.reportInstanceStatus(wrappedParam);
+ skel.reportInstanceStatus(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), reportInstanceStatusResponse551, false);
} else
@@ -1907,7 +1907,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeReservedInstancesOfferingsResponse553 =
- skel.describeReservedInstancesOfferings(wrappedParam);
+ skel.describeReservedInstancesOfferings(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeReservedInstancesOfferingsResponse553, false);
} else
@@ -1921,7 +1921,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteVpnConnectionResponse555 =
- skel.deleteVpnConnection(wrappedParam);
+ skel.deleteVpnConnection(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteVpnConnectionResponse555, false);
} else
@@ -1935,7 +1935,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteInternetGatewayResponse557 =
- skel.deleteInternetGateway(wrappedParam);
+ skel.deleteInternetGateway(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteInternetGatewayResponse557, false);
} else
@@ -1949,7 +1949,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
deleteSpotDatafeedSubscriptionResponse559 =
- skel.deleteSpotDatafeedSubscription(wrappedParam);
+ skel.deleteSpotDatafeedSubscription(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteSpotDatafeedSubscriptionResponse559, false);
} else
@@ -1963,7 +1963,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
attachNetworkInterfaceResponse561 =
- skel.attachNetworkInterface(wrappedParam);
+ skel.attachNetworkInterface(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), attachNetworkInterfaceResponse561, false);
} else
@@ -1977,7 +1977,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
createNetworkInterfaceResponse563 =
- skel.createNetworkInterface(wrappedParam);
+ skel.createNetworkInterface(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createNetworkInterfaceResponse563, false);
} else
@@ -1991,7 +1991,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
revokeSecurityGroupEgressResponse565 =
- skel.revokeSecurityGroupEgress(wrappedParam);
+ skel.revokeSecurityGroupEgress(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), revokeSecurityGroupEgressResponse565, false);
} else
@@ -2005,7 +2005,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
monitorInstancesResponse567 =
- skel.monitorInstances(wrappedParam);
+ skel.monitorInstances(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), monitorInstancesResponse567, false);
} else
@@ -2019,7 +2019,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
replaceRouteResponse569 =
- skel.replaceRoute(wrappedParam);
+ skel.replaceRoute(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), replaceRouteResponse569, false);
} else
@@ -2033,7 +2033,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
attachVolumeResponse571 =
- skel.attachVolume(wrappedParam);
+ skel.attachVolume(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), attachVolumeResponse571, false);
} else
@@ -2047,7 +2047,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
getConsoleOutputResponse573 =
- skel.getConsoleOutput(wrappedParam);
+ skel.getConsoleOutput(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), getConsoleOutputResponse573, false);
} else
@@ -2061,7 +2061,7 @@ public class AmazonEC2MessageReceiverInOut extends org.apache.axis2.receivers.Ab
describeRegionsResponse575 =
- skel.describeRegions(wrappedParam);
+ skel.describeRegions(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), describeRegionsResponse575, false);
diff --git a/awsapi/src/com/amazon/ec2/UserDataType.java b/awsapi/src/com/amazon/ec2/UserDataType.java
index 4b04afd4b55..2f84fbef788 100644
--- a/awsapi/src/com/amazon/ec2/UserDataType.java
+++ b/awsapi/src/com/amazon/ec2/UserDataType.java
@@ -482,7 +482,7 @@ public class UserDataType implements org.apache.axis2.databinding.ADBBean {
// handle attribute "version"
java.lang.String tempAttribVersion =
- reader.getAttributeValue(null, "version");
+ reader.getAttributeValue(null, "version");
if (tempAttribVersion != null) {
java.lang.String content = tempAttribVersion;
@@ -499,7 +499,7 @@ public class UserDataType implements org.apache.axis2.databinding.ADBBean {
// handle attribute "encoding"
java.lang.String tempAttribEncoding =
- reader.getAttributeValue(null, "encoding");
+ reader.getAttributeValue(null, "encoding");
if (tempAttribEncoding != null) {
java.lang.String content = tempAttribEncoding;
diff --git a/awsapi/src/com/amazon/ec2/client/AmazonEC2Stub.java b/awsapi/src/com/amazon/ec2/client/AmazonEC2Stub.java
index b6698a8aa0f..0da7d69465b 100644
--- a/awsapi/src/com/amazon/ec2/client/AmazonEC2Stub.java
+++ b/awsapi/src/com/amazon/ec2/client/AmazonEC2Stub.java
@@ -1131,9 +1131,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribePlacementGroupsResponse describePlacementGroups(
- com.amazon.ec2.client.AmazonEC2Stub.DescribePlacementGroups describePlacementGroups0)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribePlacementGroups describePlacementGroups0)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -1234,11 +1234,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribePlacementGroups(
- com.amazon.ec2.client.AmazonEC2Stub.DescribePlacementGroups describePlacementGroups0,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribePlacementGroups describePlacementGroups0,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName());
_operationClient.getOptions().setAction("DescribePlacementGroups");
@@ -1366,9 +1366,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateSecurityGroupResponse createSecurityGroup(
- com.amazon.ec2.client.AmazonEC2Stub.CreateSecurityGroup createSecurityGroup2)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateSecurityGroup createSecurityGroup2)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -1468,11 +1468,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateSecurityGroup(
- com.amazon.ec2.client.AmazonEC2Stub.CreateSecurityGroup createSecurityGroup2,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateSecurityGroup createSecurityGroup2,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[1].getName());
_operationClient.getOptions().setAction("CreateSecurityGroup");
@@ -1600,9 +1600,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ResetNetworkInterfaceAttributeResponse resetNetworkInterfaceAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ResetNetworkInterfaceAttribute resetNetworkInterfaceAttribute4)
+ com.amazon.ec2.client.AmazonEC2Stub.ResetNetworkInterfaceAttribute resetNetworkInterfaceAttribute4)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -1703,11 +1703,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startresetNetworkInterfaceAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ResetNetworkInterfaceAttribute resetNetworkInterfaceAttribute4,
+ com.amazon.ec2.client.AmazonEC2Stub.ResetNetworkInterfaceAttribute resetNetworkInterfaceAttribute4,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[2].getName());
_operationClient.getOptions().setAction("ResetNetworkInterfaceAttribute");
@@ -1835,9 +1835,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateDhcpOptionsResponse createDhcpOptions(
- com.amazon.ec2.client.AmazonEC2Stub.CreateDhcpOptions createDhcpOptions6)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateDhcpOptions createDhcpOptions6)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -1937,11 +1937,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateDhcpOptions(
- com.amazon.ec2.client.AmazonEC2Stub.CreateDhcpOptions createDhcpOptions6,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateDhcpOptions createDhcpOptions6,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[3].getName());
_operationClient.getOptions().setAction("CreateDhcpOptions");
@@ -2069,9 +2069,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateRouteTableResponse createRouteTable(
- com.amazon.ec2.client.AmazonEC2Stub.CreateRouteTable createRouteTable8)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateRouteTable createRouteTable8)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -2171,11 +2171,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateRouteTable(
- com.amazon.ec2.client.AmazonEC2Stub.CreateRouteTable createRouteTable8,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateRouteTable createRouteTable8,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[4].getName());
_operationClient.getOptions().setAction("CreateRouteTable");
@@ -2303,9 +2303,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeSubnetsResponse describeSubnets(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSubnets describeSubnets10)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSubnets describeSubnets10)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -2405,11 +2405,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeSubnets(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSubnets describeSubnets10,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSubnets describeSubnets10,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[5].getName());
_operationClient.getOptions().setAction("DescribeSubnets");
@@ -2536,9 +2536,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeactivateLicenseResponse deactivateLicense(
- com.amazon.ec2.client.AmazonEC2Stub.DeactivateLicense deactivateLicense12)
+ com.amazon.ec2.client.AmazonEC2Stub.DeactivateLicense deactivateLicense12)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -2638,11 +2638,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeactivateLicense(
- com.amazon.ec2.client.AmazonEC2Stub.DeactivateLicense deactivateLicense12,
+ com.amazon.ec2.client.AmazonEC2Stub.DeactivateLicense deactivateLicense12,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[6].getName());
_operationClient.getOptions().setAction("DeactivateLicense");
@@ -2770,9 +2770,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteVpcResponse deleteVpc(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteVpc deleteVpc14)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteVpc deleteVpc14)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -2872,11 +2872,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteVpc(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteVpc deleteVpc14,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteVpc deleteVpc14,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[7].getName());
_operationClient.getOptions().setAction("DeleteVpc");
@@ -3003,9 +3003,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CancelSpotInstanceRequestsResponse cancelSpotInstanceRequests(
- com.amazon.ec2.client.AmazonEC2Stub.CancelSpotInstanceRequests cancelSpotInstanceRequests16)
+ com.amazon.ec2.client.AmazonEC2Stub.CancelSpotInstanceRequests cancelSpotInstanceRequests16)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -3106,11 +3106,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcancelSpotInstanceRequests(
- com.amazon.ec2.client.AmazonEC2Stub.CancelSpotInstanceRequests cancelSpotInstanceRequests16,
+ com.amazon.ec2.client.AmazonEC2Stub.CancelSpotInstanceRequests cancelSpotInstanceRequests16,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[8].getName());
_operationClient.getOptions().setAction("CancelSpotInstanceRequests");
@@ -3238,9 +3238,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateSubnetResponse createSubnet(
- com.amazon.ec2.client.AmazonEC2Stub.CreateSubnet createSubnet18)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateSubnet createSubnet18)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -3340,11 +3340,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateSubnet(
- com.amazon.ec2.client.AmazonEC2Stub.CreateSubnet createSubnet18,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateSubnet createSubnet18,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[9].getName());
_operationClient.getOptions().setAction("CreateSubnet");
@@ -3471,9 +3471,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnGatewayResponse deleteVpnGateway(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnGateway deleteVpnGateway20)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnGateway deleteVpnGateway20)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -3573,11 +3573,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteVpnGateway(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnGateway deleteVpnGateway20,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnGateway deleteVpnGateway20,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[10].getName());
_operationClient.getOptions().setAction("DeleteVpnGateway");
@@ -3705,9 +3705,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkAclEntryResponse createNetworkAclEntry(
- com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkAclEntry createNetworkAclEntry22)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkAclEntry createNetworkAclEntry22)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -3807,11 +3807,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateNetworkAclEntry(
- com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkAclEntry createNetworkAclEntry22,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkAclEntry createNetworkAclEntry22,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[11].getName());
_operationClient.getOptions().setAction("CreateNetworkAclEntry");
@@ -3939,9 +3939,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.RequestSpotInstancesResponse requestSpotInstances(
- com.amazon.ec2.client.AmazonEC2Stub.RequestSpotInstances requestSpotInstances24)
+ com.amazon.ec2.client.AmazonEC2Stub.RequestSpotInstances requestSpotInstances24)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -4041,11 +4041,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startrequestSpotInstances(
- com.amazon.ec2.client.AmazonEC2Stub.RequestSpotInstances requestSpotInstances24,
+ com.amazon.ec2.client.AmazonEC2Stub.RequestSpotInstances requestSpotInstances24,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[12].getName());
_operationClient.getOptions().setAction("RequestSpotInstances");
@@ -4173,9 +4173,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumeAttributeResponse describeVolumeAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumeAttribute describeVolumeAttribute26)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumeAttribute describeVolumeAttribute26)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -4276,11 +4276,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeVolumeAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumeAttribute describeVolumeAttribute26,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumeAttribute describeVolumeAttribute26,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[13].getName());
_operationClient.getOptions().setAction("DescribeVolumeAttribute");
@@ -4408,9 +4408,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.AssociateDhcpOptionsResponse associateDhcpOptions(
- com.amazon.ec2.client.AmazonEC2Stub.AssociateDhcpOptions associateDhcpOptions28)
+ com.amazon.ec2.client.AmazonEC2Stub.AssociateDhcpOptions associateDhcpOptions28)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -4510,11 +4510,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startassociateDhcpOptions(
- com.amazon.ec2.client.AmazonEC2Stub.AssociateDhcpOptions associateDhcpOptions28,
+ com.amazon.ec2.client.AmazonEC2Stub.AssociateDhcpOptions associateDhcpOptions28,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[14].getName());
_operationClient.getOptions().setAction("AssociateDhcpOptions");
@@ -4642,9 +4642,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeTagsResponse describeTags(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeTags describeTags30)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeTags describeTags30)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -4744,11 +4744,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeTags(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeTags describeTags30,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeTags describeTags30,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[15].getName());
_operationClient.getOptions().setAction("DescribeTags");
@@ -4875,9 +4875,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ImportKeyPairResponse importKeyPair(
- com.amazon.ec2.client.AmazonEC2Stub.ImportKeyPair importKeyPair32)
+ com.amazon.ec2.client.AmazonEC2Stub.ImportKeyPair importKeyPair32)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -4977,11 +4977,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startimportKeyPair(
- com.amazon.ec2.client.AmazonEC2Stub.ImportKeyPair importKeyPair32,
+ com.amazon.ec2.client.AmazonEC2Stub.ImportKeyPair importKeyPair32,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[16].getName());
_operationClient.getOptions().setAction("ImportKeyPair");
@@ -5108,9 +5108,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkInterfaceResponse deleteNetworkInterface(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkInterface deleteNetworkInterface34)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkInterface deleteNetworkInterface34)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -5211,11 +5211,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteNetworkInterface(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkInterface deleteNetworkInterface34,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkInterface deleteNetworkInterface34,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[17].getName());
_operationClient.getOptions().setAction("DeleteNetworkInterface");
@@ -5343,9 +5343,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeVpcsResponse describeVpcs(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeVpcs describeVpcs36)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeVpcs describeVpcs36)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -5445,11 +5445,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeVpcs(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeVpcs describeVpcs36,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeVpcs describeVpcs36,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[18].getName());
_operationClient.getOptions().setAction("DescribeVpcs");
@@ -5576,9 +5576,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeLicensesResponse describeLicenses(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeLicenses describeLicenses38)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeLicenses describeLicenses38)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -5678,11 +5678,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeLicenses(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeLicenses describeLicenses38,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeLicenses describeLicenses38,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[19].getName());
_operationClient.getOptions().setAction("DescribeLicenses");
@@ -5810,9 +5810,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.BundleInstanceResponse bundleInstance(
- com.amazon.ec2.client.AmazonEC2Stub.BundleInstance bundleInstance40)
+ com.amazon.ec2.client.AmazonEC2Stub.BundleInstance bundleInstance40)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -5912,11 +5912,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startbundleInstance(
- com.amazon.ec2.client.AmazonEC2Stub.BundleInstance bundleInstance40,
+ com.amazon.ec2.client.AmazonEC2Stub.BundleInstance bundleInstance40,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[20].getName());
_operationClient.getOptions().setAction("BundleInstance");
@@ -6043,9 +6043,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeVpnConnectionsResponse describeVpnConnections(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeVpnConnections describeVpnConnections42)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeVpnConnections describeVpnConnections42)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -6146,11 +6146,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeVpnConnections(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeVpnConnections describeVpnConnections42,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeVpnConnections describeVpnConnections42,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[21].getName());
_operationClient.getOptions().setAction("DescribeVpnConnections");
@@ -6278,9 +6278,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeImagesResponse describeImages(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeImages describeImages44)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeImages describeImages44)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -6380,11 +6380,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeImages(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeImages describeImages44,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeImages describeImages44,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[22].getName());
_operationClient.getOptions().setAction("DescribeImages");
@@ -6511,9 +6511,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateInternetGatewayResponse createInternetGateway(
- com.amazon.ec2.client.AmazonEC2Stub.CreateInternetGateway createInternetGateway46)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateInternetGateway createInternetGateway46)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -6613,11 +6613,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateInternetGateway(
- com.amazon.ec2.client.AmazonEC2Stub.CreateInternetGateway createInternetGateway46,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateInternetGateway createInternetGateway46,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[23].getName());
_operationClient.getOptions().setAction("CreateInternetGateway");
@@ -6745,9 +6745,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DisassociateRouteTableResponse disassociateRouteTable(
- com.amazon.ec2.client.AmazonEC2Stub.DisassociateRouteTable disassociateRouteTable48)
+ com.amazon.ec2.client.AmazonEC2Stub.DisassociateRouteTable disassociateRouteTable48)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -6848,11 +6848,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdisassociateRouteTable(
- com.amazon.ec2.client.AmazonEC2Stub.DisassociateRouteTable disassociateRouteTable48,
+ com.amazon.ec2.client.AmazonEC2Stub.DisassociateRouteTable disassociateRouteTable48,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[24].getName());
_operationClient.getOptions().setAction("DisassociateRouteTable");
@@ -6980,9 +6980,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ReplaceNetworkAclEntryResponse replaceNetworkAclEntry(
- com.amazon.ec2.client.AmazonEC2Stub.ReplaceNetworkAclEntry replaceNetworkAclEntry50)
+ com.amazon.ec2.client.AmazonEC2Stub.ReplaceNetworkAclEntry replaceNetworkAclEntry50)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -7083,11 +7083,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startreplaceNetworkAclEntry(
- com.amazon.ec2.client.AmazonEC2Stub.ReplaceNetworkAclEntry replaceNetworkAclEntry50,
+ com.amazon.ec2.client.AmazonEC2Stub.ReplaceNetworkAclEntry replaceNetworkAclEntry50,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[25].getName());
_operationClient.getOptions().setAction("ReplaceNetworkAclEntry");
@@ -7215,9 +7215,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.AuthorizeSecurityGroupIngressResponse authorizeSecurityGroupIngress(
- com.amazon.ec2.client.AmazonEC2Stub.AuthorizeSecurityGroupIngress authorizeSecurityGroupIngress52)
+ com.amazon.ec2.client.AmazonEC2Stub.AuthorizeSecurityGroupIngress authorizeSecurityGroupIngress52)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -7318,11 +7318,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startauthorizeSecurityGroupIngress(
- com.amazon.ec2.client.AmazonEC2Stub.AuthorizeSecurityGroupIngress authorizeSecurityGroupIngress52,
+ com.amazon.ec2.client.AmazonEC2Stub.AuthorizeSecurityGroupIngress authorizeSecurityGroupIngress52,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[26].getName());
_operationClient.getOptions().setAction("AuthorizeSecurityGroupIngress");
@@ -7450,9 +7450,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeSnapshotAttributeResponse describeSnapshotAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSnapshotAttribute describeSnapshotAttribute54)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSnapshotAttribute describeSnapshotAttribute54)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -7553,11 +7553,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeSnapshotAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSnapshotAttribute describeSnapshotAttribute54,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSnapshotAttribute describeSnapshotAttribute54,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[27].getName());
_operationClient.getOptions().setAction("DescribeSnapshotAttribute");
@@ -7685,9 +7685,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateVpnGatewayResponse createVpnGateway(
- com.amazon.ec2.client.AmazonEC2Stub.CreateVpnGateway createVpnGateway56)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateVpnGateway createVpnGateway56)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -7787,11 +7787,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateVpnGateway(
- com.amazon.ec2.client.AmazonEC2Stub.CreateVpnGateway createVpnGateway56,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateVpnGateway createVpnGateway56,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[28].getName());
_operationClient.getOptions().setAction("CreateVpnGateway");
@@ -7919,9 +7919,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ResetInstanceAttributeResponse resetInstanceAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ResetInstanceAttribute resetInstanceAttribute58)
+ com.amazon.ec2.client.AmazonEC2Stub.ResetInstanceAttribute resetInstanceAttribute58)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -8022,11 +8022,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startresetInstanceAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ResetInstanceAttribute resetInstanceAttribute58,
+ com.amazon.ec2.client.AmazonEC2Stub.ResetInstanceAttribute resetInstanceAttribute58,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[29].getName());
_operationClient.getOptions().setAction("ResetInstanceAttribute");
@@ -8154,9 +8154,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateTagsResponse createTags(
- com.amazon.ec2.client.AmazonEC2Stub.CreateTags createTags60)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateTags createTags60)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -8256,11 +8256,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateTags(
- com.amazon.ec2.client.AmazonEC2Stub.CreateTags createTags60,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateTags createTags60,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[30].getName());
_operationClient.getOptions().setAction("CreateTags");
@@ -8387,9 +8387,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.AuthorizeSecurityGroupEgressResponse authorizeSecurityGroupEgress(
- com.amazon.ec2.client.AmazonEC2Stub.AuthorizeSecurityGroupEgress authorizeSecurityGroupEgress62)
+ com.amazon.ec2.client.AmazonEC2Stub.AuthorizeSecurityGroupEgress authorizeSecurityGroupEgress62)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -8490,11 +8490,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startauthorizeSecurityGroupEgress(
- com.amazon.ec2.client.AmazonEC2Stub.AuthorizeSecurityGroupEgress authorizeSecurityGroupEgress62,
+ com.amazon.ec2.client.AmazonEC2Stub.AuthorizeSecurityGroupEgress authorizeSecurityGroupEgress62,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[31].getName());
_operationClient.getOptions().setAction("AuthorizeSecurityGroupEgress");
@@ -8622,9 +8622,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.AssociateAddressResponse associateAddress(
- com.amazon.ec2.client.AmazonEC2Stub.AssociateAddress associateAddress64)
+ com.amazon.ec2.client.AmazonEC2Stub.AssociateAddress associateAddress64)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -8724,11 +8724,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startassociateAddress(
- com.amazon.ec2.client.AmazonEC2Stub.AssociateAddress associateAddress64,
+ com.amazon.ec2.client.AmazonEC2Stub.AssociateAddress associateAddress64,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[32].getName());
_operationClient.getOptions().setAction("AssociateAddress");
@@ -8856,9 +8856,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeImageAttributeResponse describeImageAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeImageAttribute describeImageAttribute66)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeImageAttribute describeImageAttribute66)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -8959,11 +8959,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeImageAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeImageAttribute describeImageAttribute66,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeImageAttribute describeImageAttribute66,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[33].getName());
_operationClient.getOptions().setAction("DescribeImageAttribute");
@@ -9091,9 +9091,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotPriceHistoryResponse describeSpotPriceHistory(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotPriceHistory describeSpotPriceHistory68)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotPriceHistory describeSpotPriceHistory68)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -9194,11 +9194,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeSpotPriceHistory(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotPriceHistory describeSpotPriceHistory68,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotPriceHistory describeSpotPriceHistory68,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[34].getName());
_operationClient.getOptions().setAction("DescribeSpotPriceHistory");
@@ -9326,9 +9326,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ModifySnapshotAttributeResponse modifySnapshotAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ModifySnapshotAttribute modifySnapshotAttribute70)
+ com.amazon.ec2.client.AmazonEC2Stub.ModifySnapshotAttribute modifySnapshotAttribute70)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -9429,11 +9429,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startmodifySnapshotAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ModifySnapshotAttribute modifySnapshotAttribute70,
+ com.amazon.ec2.client.AmazonEC2Stub.ModifySnapshotAttribute modifySnapshotAttribute70,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[35].getName());
_operationClient.getOptions().setAction("ModifySnapshotAttribute");
@@ -9561,9 +9561,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotInstanceRequestsResponse describeSpotInstanceRequests(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotInstanceRequests describeSpotInstanceRequests72)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotInstanceRequests describeSpotInstanceRequests72)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -9664,11 +9664,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeSpotInstanceRequests(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotInstanceRequests describeSpotInstanceRequests72,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotInstanceRequests describeSpotInstanceRequests72,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[36].getName());
_operationClient.getOptions().setAction("DescribeSpotInstanceRequests");
@@ -9796,9 +9796,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ImportInstanceResponse importInstance(
- com.amazon.ec2.client.AmazonEC2Stub.ImportInstance importInstance74)
+ com.amazon.ec2.client.AmazonEC2Stub.ImportInstance importInstance74)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -9898,11 +9898,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startimportInstance(
- com.amazon.ec2.client.AmazonEC2Stub.ImportInstance importInstance74,
+ com.amazon.ec2.client.AmazonEC2Stub.ImportInstance importInstance74,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[37].getName());
_operationClient.getOptions().setAction("ImportInstance");
@@ -10029,9 +10029,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeKeyPairsResponse describeKeyPairs(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeKeyPairs describeKeyPairs76)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeKeyPairs describeKeyPairs76)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -10131,11 +10131,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeKeyPairs(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeKeyPairs describeKeyPairs76,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeKeyPairs describeKeyPairs76,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[38].getName());
_operationClient.getOptions().setAction("DescribeKeyPairs");
@@ -10263,9 +10263,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.RevokeSecurityGroupIngressResponse revokeSecurityGroupIngress(
- com.amazon.ec2.client.AmazonEC2Stub.RevokeSecurityGroupIngress revokeSecurityGroupIngress78)
+ com.amazon.ec2.client.AmazonEC2Stub.RevokeSecurityGroupIngress revokeSecurityGroupIngress78)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -10366,11 +10366,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startrevokeSecurityGroupIngress(
- com.amazon.ec2.client.AmazonEC2Stub.RevokeSecurityGroupIngress revokeSecurityGroupIngress78,
+ com.amazon.ec2.client.AmazonEC2Stub.RevokeSecurityGroupIngress revokeSecurityGroupIngress78,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[39].getName());
_operationClient.getOptions().setAction("RevokeSecurityGroupIngress");
@@ -10498,9 +10498,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreatePlacementGroupResponse createPlacementGroup(
- com.amazon.ec2.client.AmazonEC2Stub.CreatePlacementGroup createPlacementGroup80)
+ com.amazon.ec2.client.AmazonEC2Stub.CreatePlacementGroup createPlacementGroup80)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -10600,11 +10600,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreatePlacementGroup(
- com.amazon.ec2.client.AmazonEC2Stub.CreatePlacementGroup createPlacementGroup80,
+ com.amazon.ec2.client.AmazonEC2Stub.CreatePlacementGroup createPlacementGroup80,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[40].getName());
_operationClient.getOptions().setAction("CreatePlacementGroup");
@@ -10732,9 +10732,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkAclEntryResponse deleteNetworkAclEntry(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkAclEntry deleteNetworkAclEntry82)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkAclEntry deleteNetworkAclEntry82)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -10834,11 +10834,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteNetworkAclEntry(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkAclEntry deleteNetworkAclEntry82,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkAclEntry deleteNetworkAclEntry82,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[41].getName());
_operationClient.getOptions().setAction("DeleteNetworkAclEntry");
@@ -10966,9 +10966,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ActivateLicenseResponse activateLicense(
- com.amazon.ec2.client.AmazonEC2Stub.ActivateLicense activateLicense84)
+ com.amazon.ec2.client.AmazonEC2Stub.ActivateLicense activateLicense84)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -11068,11 +11068,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startactivateLicense(
- com.amazon.ec2.client.AmazonEC2Stub.ActivateLicense activateLicense84,
+ com.amazon.ec2.client.AmazonEC2Stub.ActivateLicense activateLicense84,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[42].getName());
_operationClient.getOptions().setAction("ActivateLicense");
@@ -11199,9 +11199,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteRouteTableResponse deleteRouteTable(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteRouteTable deleteRouteTable86)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteRouteTable deleteRouteTable86)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -11301,11 +11301,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteRouteTable(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteRouteTable deleteRouteTable86,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteRouteTable deleteRouteTable86,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[43].getName());
_operationClient.getOptions().setAction("DeleteRouteTable");
@@ -11433,9 +11433,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.UnmonitorInstancesResponse unmonitorInstances(
- com.amazon.ec2.client.AmazonEC2Stub.UnmonitorInstances unmonitorInstances88)
+ com.amazon.ec2.client.AmazonEC2Stub.UnmonitorInstances unmonitorInstances88)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -11535,11 +11535,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startunmonitorInstances(
- com.amazon.ec2.client.AmazonEC2Stub.UnmonitorInstances unmonitorInstances88,
+ com.amazon.ec2.client.AmazonEC2Stub.UnmonitorInstances unmonitorInstances88,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[44].getName());
_operationClient.getOptions().setAction("UnmonitorInstances");
@@ -11667,9 +11667,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.StartInstancesResponse startInstances(
- com.amazon.ec2.client.AmazonEC2Stub.StartInstances startInstances90)
+ com.amazon.ec2.client.AmazonEC2Stub.StartInstances startInstances90)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -11769,11 +11769,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startstartInstances(
- com.amazon.ec2.client.AmazonEC2Stub.StartInstances startInstances90,
+ com.amazon.ec2.client.AmazonEC2Stub.StartInstances startInstances90,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[45].getName());
_operationClient.getOptions().setAction("StartInstances");
@@ -11900,9 +11900,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ConfirmProductInstanceResponse confirmProductInstance(
- com.amazon.ec2.client.AmazonEC2Stub.ConfirmProductInstance confirmProductInstance92)
+ com.amazon.ec2.client.AmazonEC2Stub.ConfirmProductInstance confirmProductInstance92)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -12003,11 +12003,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startconfirmProductInstance(
- com.amazon.ec2.client.AmazonEC2Stub.ConfirmProductInstance confirmProductInstance92,
+ com.amazon.ec2.client.AmazonEC2Stub.ConfirmProductInstance confirmProductInstance92,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[46].getName());
_operationClient.getOptions().setAction("ConfirmProductInstance");
@@ -12135,9 +12135,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkInterfaceAttributeResponse describeNetworkInterfaceAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkInterfaceAttribute describeNetworkInterfaceAttribute94)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkInterfaceAttribute describeNetworkInterfaceAttribute94)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -12238,11 +12238,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeNetworkInterfaceAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkInterfaceAttribute describeNetworkInterfaceAttribute94,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkInterfaceAttribute describeNetworkInterfaceAttribute94,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[47].getName());
_operationClient.getOptions().setAction("DescribeNetworkInterfaceAttribute");
@@ -12370,9 +12370,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.RunInstancesResponse runInstances(
- com.amazon.ec2.client.AmazonEC2Stub.RunInstances runInstances96)
+ com.amazon.ec2.client.AmazonEC2Stub.RunInstances runInstances96)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -12472,11 +12472,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startrunInstances(
- com.amazon.ec2.client.AmazonEC2Stub.RunInstances runInstances96,
+ com.amazon.ec2.client.AmazonEC2Stub.RunInstances runInstances96,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[48].getName());
_operationClient.getOptions().setAction("RunInstances");
@@ -12603,9 +12603,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateReservedInstancesListingResponse createReservedInstancesListing(
- com.amazon.ec2.client.AmazonEC2Stub.CreateReservedInstancesListing createReservedInstancesListing98)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateReservedInstancesListing createReservedInstancesListing98)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -12706,11 +12706,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateReservedInstancesListing(
- com.amazon.ec2.client.AmazonEC2Stub.CreateReservedInstancesListing createReservedInstancesListing98,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateReservedInstancesListing createReservedInstancesListing98,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[49].getName());
_operationClient.getOptions().setAction("CreateReservedInstancesListing");
@@ -12838,9 +12838,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateCustomerGatewayResponse createCustomerGateway(
- com.amazon.ec2.client.AmazonEC2Stub.CreateCustomerGateway createCustomerGateway100)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateCustomerGateway createCustomerGateway100)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -12940,11 +12940,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateCustomerGateway(
- com.amazon.ec2.client.AmazonEC2Stub.CreateCustomerGateway createCustomerGateway100,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateCustomerGateway createCustomerGateway100,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[50].getName());
_operationClient.getOptions().setAction("CreateCustomerGateway");
@@ -13072,9 +13072,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkAclResponse createNetworkAcl(
- com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkAcl createNetworkAcl102)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkAcl createNetworkAcl102)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -13174,11 +13174,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateNetworkAcl(
- com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkAcl createNetworkAcl102,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkAcl createNetworkAcl102,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[51].getName());
_operationClient.getOptions().setAction("CreateNetworkAcl");
@@ -13306,9 +13306,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ResetImageAttributeResponse resetImageAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ResetImageAttribute resetImageAttribute104)
+ com.amazon.ec2.client.AmazonEC2Stub.ResetImageAttribute resetImageAttribute104)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -13408,11 +13408,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startresetImageAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ResetImageAttribute resetImageAttribute104,
+ com.amazon.ec2.client.AmazonEC2Stub.ResetImageAttribute resetImageAttribute104,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[52].getName());
_operationClient.getOptions().setAction("ResetImageAttribute");
@@ -13540,9 +13540,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ModifyVolumeAttributeResponse modifyVolumeAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ModifyVolumeAttribute modifyVolumeAttribute106)
+ com.amazon.ec2.client.AmazonEC2Stub.ModifyVolumeAttribute modifyVolumeAttribute106)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -13642,11 +13642,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startmodifyVolumeAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ModifyVolumeAttribute modifyVolumeAttribute106,
+ com.amazon.ec2.client.AmazonEC2Stub.ModifyVolumeAttribute modifyVolumeAttribute106,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[53].getName());
_operationClient.getOptions().setAction("ModifyVolumeAttribute");
@@ -13774,9 +13774,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstancesResponse describeReservedInstances(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstances describeReservedInstances108)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstances describeReservedInstances108)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -13877,11 +13877,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeReservedInstances(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstances describeReservedInstances108,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstances describeReservedInstances108,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[54].getName());
_operationClient.getOptions().setAction("DescribeReservedInstances");
@@ -14009,9 +14009,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ResetSnapshotAttributeResponse resetSnapshotAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ResetSnapshotAttribute resetSnapshotAttribute110)
+ com.amazon.ec2.client.AmazonEC2Stub.ResetSnapshotAttribute resetSnapshotAttribute110)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -14112,11 +14112,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startresetSnapshotAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ResetSnapshotAttribute resetSnapshotAttribute110,
+ com.amazon.ec2.client.AmazonEC2Stub.ResetSnapshotAttribute resetSnapshotAttribute110,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[55].getName());
_operationClient.getOptions().setAction("ResetSnapshotAttribute");
@@ -14244,9 +14244,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteVolumeResponse deleteVolume(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteVolume deleteVolume112)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteVolume deleteVolume112)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -14346,11 +14346,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteVolume(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteVolume deleteVolume112,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteVolume deleteVolume112,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[56].getName());
_operationClient.getOptions().setAction("DeleteVolume");
@@ -14477,9 +14477,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeAvailabilityZonesResponse describeAvailabilityZones(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeAvailabilityZones describeAvailabilityZones114)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeAvailabilityZones describeAvailabilityZones114)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -14580,11 +14580,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeAvailabilityZones(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeAvailabilityZones describeAvailabilityZones114,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeAvailabilityZones describeAvailabilityZones114,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[57].getName());
_operationClient.getOptions().setAction("DescribeAvailabilityZones");
@@ -14712,9 +14712,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateVpnConnectionResponse createVpnConnection(
- com.amazon.ec2.client.AmazonEC2Stub.CreateVpnConnection createVpnConnection116)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateVpnConnection createVpnConnection116)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -14814,11 +14814,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateVpnConnection(
- com.amazon.ec2.client.AmazonEC2Stub.CreateVpnConnection createVpnConnection116,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateVpnConnection createVpnConnection116,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[58].getName());
_operationClient.getOptions().setAction("CreateVpnConnection");
@@ -14946,9 +14946,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CancelBundleTaskResponse cancelBundleTask(
- com.amazon.ec2.client.AmazonEC2Stub.CancelBundleTask cancelBundleTask118)
+ com.amazon.ec2.client.AmazonEC2Stub.CancelBundleTask cancelBundleTask118)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -15048,11 +15048,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcancelBundleTask(
- com.amazon.ec2.client.AmazonEC2Stub.CancelBundleTask cancelBundleTask118,
+ com.amazon.ec2.client.AmazonEC2Stub.CancelBundleTask cancelBundleTask118,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[59].getName());
_operationClient.getOptions().setAction("CancelBundleTask");
@@ -15180,9 +15180,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ReplaceNetworkAclAssociationResponse replaceNetworkAclAssociation(
- com.amazon.ec2.client.AmazonEC2Stub.ReplaceNetworkAclAssociation replaceNetworkAclAssociation120)
+ com.amazon.ec2.client.AmazonEC2Stub.ReplaceNetworkAclAssociation replaceNetworkAclAssociation120)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -15283,11 +15283,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startreplaceNetworkAclAssociation(
- com.amazon.ec2.client.AmazonEC2Stub.ReplaceNetworkAclAssociation replaceNetworkAclAssociation120,
+ com.amazon.ec2.client.AmazonEC2Stub.ReplaceNetworkAclAssociation replaceNetworkAclAssociation120,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[60].getName());
_operationClient.getOptions().setAction("ReplaceNetworkAclAssociation");
@@ -15415,9 +15415,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DetachVpnGatewayResponse detachVpnGateway(
- com.amazon.ec2.client.AmazonEC2Stub.DetachVpnGateway detachVpnGateway122)
+ com.amazon.ec2.client.AmazonEC2Stub.DetachVpnGateway detachVpnGateway122)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -15517,11 +15517,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdetachVpnGateway(
- com.amazon.ec2.client.AmazonEC2Stub.DetachVpnGateway detachVpnGateway122,
+ com.amazon.ec2.client.AmazonEC2Stub.DetachVpnGateway detachVpnGateway122,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[61].getName());
_operationClient.getOptions().setAction("DetachVpnGateway");
@@ -15649,9 +15649,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeSnapshotsResponse describeSnapshots(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSnapshots describeSnapshots124)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSnapshots describeSnapshots124)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -15751,11 +15751,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeSnapshots(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSnapshots describeSnapshots124,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSnapshots describeSnapshots124,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[62].getName());
_operationClient.getOptions().setAction("DescribeSnapshots");
@@ -15883,9 +15883,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteSubnetResponse deleteSubnet(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteSubnet deleteSubnet126)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteSubnet deleteSubnet126)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -15985,11 +15985,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteSubnet(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteSubnet deleteSubnet126,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteSubnet deleteSubnet126,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[63].getName());
_operationClient.getOptions().setAction("DeleteSubnet");
@@ -16116,9 +16116,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeBundleTasksResponse describeBundleTasks(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeBundleTasks describeBundleTasks128)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeBundleTasks describeBundleTasks128)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -16218,11 +16218,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeBundleTasks(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeBundleTasks describeBundleTasks128,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeBundleTasks describeBundleTasks128,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[64].getName());
_operationClient.getOptions().setAction("DescribeBundleTasks");
@@ -16350,9 +16350,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateKeyPairResponse createKeyPair(
- com.amazon.ec2.client.AmazonEC2Stub.CreateKeyPair createKeyPair130)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateKeyPair createKeyPair130)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -16452,11 +16452,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateKeyPair(
- com.amazon.ec2.client.AmazonEC2Stub.CreateKeyPair createKeyPair130,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateKeyPair createKeyPair130,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[65].getName());
_operationClient.getOptions().setAction("CreateKeyPair");
@@ -16583,9 +16583,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateImageResponse createImage(
- com.amazon.ec2.client.AmazonEC2Stub.CreateImage createImage132)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateImage createImage132)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -16685,11 +16685,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateImage(
- com.amazon.ec2.client.AmazonEC2Stub.CreateImage createImage132,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateImage createImage132,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[66].getName());
_operationClient.getOptions().setAction("CreateImage");
@@ -16816,9 +16816,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.EnableVgwRoutePropagationResponse enableVgwRoutePropagation(
- com.amazon.ec2.client.AmazonEC2Stub.EnableVgwRoutePropagation enableVgwRoutePropagation134)
+ com.amazon.ec2.client.AmazonEC2Stub.EnableVgwRoutePropagation enableVgwRoutePropagation134)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -16919,11 +16919,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startenableVgwRoutePropagation(
- com.amazon.ec2.client.AmazonEC2Stub.EnableVgwRoutePropagation enableVgwRoutePropagation134,
+ com.amazon.ec2.client.AmazonEC2Stub.EnableVgwRoutePropagation enableVgwRoutePropagation134,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[67].getName());
_operationClient.getOptions().setAction("EnableVgwRoutePropagation");
@@ -17051,9 +17051,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.UnassignPrivateIpAddressesResponse unassignPrivateIpAddresses(
- com.amazon.ec2.client.AmazonEC2Stub.UnassignPrivateIpAddresses unassignPrivateIpAddresses136)
+ com.amazon.ec2.client.AmazonEC2Stub.UnassignPrivateIpAddresses unassignPrivateIpAddresses136)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -17154,11 +17154,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startunassignPrivateIpAddresses(
- com.amazon.ec2.client.AmazonEC2Stub.UnassignPrivateIpAddresses unassignPrivateIpAddresses136,
+ com.amazon.ec2.client.AmazonEC2Stub.UnassignPrivateIpAddresses unassignPrivateIpAddresses136,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[68].getName());
_operationClient.getOptions().setAction("UnassignPrivateIpAddresses");
@@ -17286,9 +17286,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeregisterImageResponse deregisterImage(
- com.amazon.ec2.client.AmazonEC2Stub.DeregisterImage deregisterImage138)
+ com.amazon.ec2.client.AmazonEC2Stub.DeregisterImage deregisterImage138)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -17388,11 +17388,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startderegisterImage(
- com.amazon.ec2.client.AmazonEC2Stub.DeregisterImage deregisterImage138,
+ com.amazon.ec2.client.AmazonEC2Stub.DeregisterImage deregisterImage138,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[69].getName());
_operationClient.getOptions().setAction("DeregisterImage");
@@ -17519,9 +17519,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnConnectionRouteResponse deleteVpnConnectionRoute(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnConnectionRoute deleteVpnConnectionRoute140)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnConnectionRoute deleteVpnConnectionRoute140)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -17622,11 +17622,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteVpnConnectionRoute(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnConnectionRoute deleteVpnConnectionRoute140,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnConnectionRoute deleteVpnConnectionRoute140,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[70].getName());
_operationClient.getOptions().setAction("DeleteVpnConnectionRoute");
@@ -17754,9 +17754,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ModifyImageAttributeResponse modifyImageAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ModifyImageAttribute modifyImageAttribute142)
+ com.amazon.ec2.client.AmazonEC2Stub.ModifyImageAttribute modifyImageAttribute142)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -17856,11 +17856,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startmodifyImageAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ModifyImageAttribute modifyImageAttribute142,
+ com.amazon.ec2.client.AmazonEC2Stub.ModifyImageAttribute modifyImageAttribute142,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[71].getName());
_operationClient.getOptions().setAction("ModifyImageAttribute");
@@ -17988,9 +17988,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CancelConversionTaskResponse cancelConversionTask(
- com.amazon.ec2.client.AmazonEC2Stub.CancelConversionTask cancelConversionTask144)
+ com.amazon.ec2.client.AmazonEC2Stub.CancelConversionTask cancelConversionTask144)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -18090,11 +18090,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcancelConversionTask(
- com.amazon.ec2.client.AmazonEC2Stub.CancelConversionTask cancelConversionTask144,
+ com.amazon.ec2.client.AmazonEC2Stub.CancelConversionTask cancelConversionTask144,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[72].getName());
_operationClient.getOptions().setAction("CancelConversionTask");
@@ -18222,9 +18222,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumesResponse describeVolumes(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumes describeVolumes146)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumes describeVolumes146)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -18324,11 +18324,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeVolumes(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumes describeVolumes146,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumes describeVolumes146,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[73].getName());
_operationClient.getOptions().setAction("DescribeVolumes");
@@ -18455,9 +18455,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CancelReservedInstancesListingResponse cancelReservedInstancesListing(
- com.amazon.ec2.client.AmazonEC2Stub.CancelReservedInstancesListing cancelReservedInstancesListing148)
+ com.amazon.ec2.client.AmazonEC2Stub.CancelReservedInstancesListing cancelReservedInstancesListing148)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -18558,11 +18558,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcancelReservedInstancesListing(
- com.amazon.ec2.client.AmazonEC2Stub.CancelReservedInstancesListing cancelReservedInstancesListing148,
+ com.amazon.ec2.client.AmazonEC2Stub.CancelReservedInstancesListing cancelReservedInstancesListing148,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[74].getName());
_operationClient.getOptions().setAction("CancelReservedInstancesListing");
@@ -18690,9 +18690,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.GetPasswordDataResponse getPasswordData(
- com.amazon.ec2.client.AmazonEC2Stub.GetPasswordData getPasswordData150)
+ com.amazon.ec2.client.AmazonEC2Stub.GetPasswordData getPasswordData150)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -18792,11 +18792,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startgetPasswordData(
- com.amazon.ec2.client.AmazonEC2Stub.GetPasswordData getPasswordData150,
+ com.amazon.ec2.client.AmazonEC2Stub.GetPasswordData getPasswordData150,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[75].getName());
_operationClient.getOptions().setAction("GetPasswordData");
@@ -18923,9 +18923,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.AllocateAddressResponse allocateAddress(
- com.amazon.ec2.client.AmazonEC2Stub.AllocateAddress allocateAddress152)
+ com.amazon.ec2.client.AmazonEC2Stub.AllocateAddress allocateAddress152)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -19025,11 +19025,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startallocateAddress(
- com.amazon.ec2.client.AmazonEC2Stub.AllocateAddress allocateAddress152,
+ com.amazon.ec2.client.AmazonEC2Stub.AllocateAddress allocateAddress152,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[76].getName());
_operationClient.getOptions().setAction("AllocateAddress");
@@ -19156,9 +19156,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteSecurityGroupResponse deleteSecurityGroup(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteSecurityGroup deleteSecurityGroup154)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteSecurityGroup deleteSecurityGroup154)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -19258,11 +19258,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteSecurityGroup(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteSecurityGroup deleteSecurityGroup154,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteSecurityGroup deleteSecurityGroup154,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[77].getName());
_operationClient.getOptions().setAction("DeleteSecurityGroup");
@@ -19390,9 +19390,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeletePlacementGroupResponse deletePlacementGroup(
- com.amazon.ec2.client.AmazonEC2Stub.DeletePlacementGroup deletePlacementGroup156)
+ com.amazon.ec2.client.AmazonEC2Stub.DeletePlacementGroup deletePlacementGroup156)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -19492,11 +19492,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeletePlacementGroup(
- com.amazon.ec2.client.AmazonEC2Stub.DeletePlacementGroup deletePlacementGroup156,
+ com.amazon.ec2.client.AmazonEC2Stub.DeletePlacementGroup deletePlacementGroup156,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[78].getName());
_operationClient.getOptions().setAction("DeletePlacementGroup");
@@ -19624,9 +19624,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DisassociateAddressResponse disassociateAddress(
- com.amazon.ec2.client.AmazonEC2Stub.DisassociateAddress disassociateAddress158)
+ com.amazon.ec2.client.AmazonEC2Stub.DisassociateAddress disassociateAddress158)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -19726,11 +19726,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdisassociateAddress(
- com.amazon.ec2.client.AmazonEC2Stub.DisassociateAddress disassociateAddress158,
+ com.amazon.ec2.client.AmazonEC2Stub.DisassociateAddress disassociateAddress158,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[79].getName());
_operationClient.getOptions().setAction("DisassociateAddress");
@@ -19858,9 +19858,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteDhcpOptionsResponse deleteDhcpOptions(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteDhcpOptions deleteDhcpOptions160)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteDhcpOptions deleteDhcpOptions160)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -19960,11 +19960,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteDhcpOptions(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteDhcpOptions deleteDhcpOptions160,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteDhcpOptions deleteDhcpOptions160,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[80].getName());
_operationClient.getOptions().setAction("DeleteDhcpOptions");
@@ -20092,9 +20092,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotDatafeedSubscriptionResponse describeSpotDatafeedSubscription(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotDatafeedSubscription describeSpotDatafeedSubscription162)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotDatafeedSubscription describeSpotDatafeedSubscription162)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -20195,11 +20195,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeSpotDatafeedSubscription(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotDatafeedSubscription describeSpotDatafeedSubscription162,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSpotDatafeedSubscription describeSpotDatafeedSubscription162,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[81].getName());
_operationClient.getOptions().setAction("DescribeSpotDatafeedSubscription");
@@ -20327,9 +20327,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkAclsResponse describeNetworkAcls(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkAcls describeNetworkAcls164)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkAcls describeNetworkAcls164)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -20429,11 +20429,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeNetworkAcls(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkAcls describeNetworkAcls164,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkAcls describeNetworkAcls164,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[82].getName());
_operationClient.getOptions().setAction("DescribeNetworkAcls");
@@ -20561,9 +20561,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.EnableVolumeIOResponse enableVolumeIO(
- com.amazon.ec2.client.AmazonEC2Stub.EnableVolumeIO enableVolumeIO166)
+ com.amazon.ec2.client.AmazonEC2Stub.EnableVolumeIO enableVolumeIO166)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -20663,11 +20663,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startenableVolumeIO(
- com.amazon.ec2.client.AmazonEC2Stub.EnableVolumeIO enableVolumeIO166,
+ com.amazon.ec2.client.AmazonEC2Stub.EnableVolumeIO enableVolumeIO166,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[83].getName());
_operationClient.getOptions().setAction("EnableVolumeIO");
@@ -20794,9 +20794,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.AttachVpnGatewayResponse attachVpnGateway(
- com.amazon.ec2.client.AmazonEC2Stub.AttachVpnGateway attachVpnGateway168)
+ com.amazon.ec2.client.AmazonEC2Stub.AttachVpnGateway attachVpnGateway168)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -20896,11 +20896,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startattachVpnGateway(
- com.amazon.ec2.client.AmazonEC2Stub.AttachVpnGateway attachVpnGateway168,
+ com.amazon.ec2.client.AmazonEC2Stub.AttachVpnGateway attachVpnGateway168,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[84].getName());
_operationClient.getOptions().setAction("AttachVpnGateway");
@@ -21028,9 +21028,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeInternetGatewaysResponse describeInternetGateways(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeInternetGateways describeInternetGateways170)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeInternetGateways describeInternetGateways170)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -21131,11 +21131,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeInternetGateways(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeInternetGateways describeInternetGateways170,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeInternetGateways describeInternetGateways170,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[85].getName());
_operationClient.getOptions().setAction("DescribeInternetGateways");
@@ -21263,9 +21263,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeDhcpOptionsResponse describeDhcpOptions(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeDhcpOptions describeDhcpOptions172)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeDhcpOptions describeDhcpOptions172)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -21365,11 +21365,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeDhcpOptions(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeDhcpOptions describeDhcpOptions172,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeDhcpOptions describeDhcpOptions172,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[86].getName());
_operationClient.getOptions().setAction("DescribeDhcpOptions");
@@ -21497,9 +21497,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateSpotDatafeedSubscriptionResponse createSpotDatafeedSubscription(
- com.amazon.ec2.client.AmazonEC2Stub.CreateSpotDatafeedSubscription createSpotDatafeedSubscription174)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateSpotDatafeedSubscription createSpotDatafeedSubscription174)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -21600,11 +21600,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateSpotDatafeedSubscription(
- com.amazon.ec2.client.AmazonEC2Stub.CreateSpotDatafeedSubscription createSpotDatafeedSubscription174,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateSpotDatafeedSubscription createSpotDatafeedSubscription174,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[87].getName());
_operationClient.getOptions().setAction("CreateSpotDatafeedSubscription");
@@ -21732,9 +21732,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstancesListingsResponse describeReservedInstancesListings(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstancesListings describeReservedInstancesListings176)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstancesListings describeReservedInstancesListings176)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -21835,11 +21835,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeReservedInstancesListings(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstancesListings describeReservedInstancesListings176,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstancesListings describeReservedInstancesListings176,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[88].getName());
_operationClient.getOptions().setAction("DescribeReservedInstancesListings");
@@ -21967,9 +21967,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeInstanceStatusResponse describeInstanceStatus(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeInstanceStatus describeInstanceStatus178)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeInstanceStatus describeInstanceStatus178)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -22070,11 +22070,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeInstanceStatus(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeInstanceStatus describeInstanceStatus178,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeInstanceStatus describeInstanceStatus178,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[89].getName());
_operationClient.getOptions().setAction("DescribeInstanceStatus");
@@ -22202,9 +22202,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ModifyNetworkInterfaceAttributeResponse modifyNetworkInterfaceAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ModifyNetworkInterfaceAttribute modifyNetworkInterfaceAttribute180)
+ com.amazon.ec2.client.AmazonEC2Stub.ModifyNetworkInterfaceAttribute modifyNetworkInterfaceAttribute180)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -22305,11 +22305,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startmodifyNetworkInterfaceAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ModifyNetworkInterfaceAttribute modifyNetworkInterfaceAttribute180,
+ com.amazon.ec2.client.AmazonEC2Stub.ModifyNetworkInterfaceAttribute modifyNetworkInterfaceAttribute180,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[90].getName());
_operationClient.getOptions().setAction("ModifyNetworkInterfaceAttribute");
@@ -22437,9 +22437,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DisableVgwRoutePropagationResponse disableVgwRoutePropagation(
- com.amazon.ec2.client.AmazonEC2Stub.DisableVgwRoutePropagation disableVgwRoutePropagation182)
+ com.amazon.ec2.client.AmazonEC2Stub.DisableVgwRoutePropagation disableVgwRoutePropagation182)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -22540,11 +22540,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdisableVgwRoutePropagation(
- com.amazon.ec2.client.AmazonEC2Stub.DisableVgwRoutePropagation disableVgwRoutePropagation182,
+ com.amazon.ec2.client.AmazonEC2Stub.DisableVgwRoutePropagation disableVgwRoutePropagation182,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[91].getName());
_operationClient.getOptions().setAction("DisableVgwRoutePropagation");
@@ -22672,9 +22672,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumeStatusResponse describeVolumeStatus(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumeStatus describeVolumeStatus184)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumeStatus describeVolumeStatus184)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -22774,11 +22774,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeVolumeStatus(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumeStatus describeVolumeStatus184,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeVolumeStatus describeVolumeStatus184,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[92].getName());
_operationClient.getOptions().setAction("DescribeVolumeStatus");
@@ -22906,9 +22906,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DetachNetworkInterfaceResponse detachNetworkInterface(
- com.amazon.ec2.client.AmazonEC2Stub.DetachNetworkInterface detachNetworkInterface186)
+ com.amazon.ec2.client.AmazonEC2Stub.DetachNetworkInterface detachNetworkInterface186)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -23009,11 +23009,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdetachNetworkInterface(
- com.amazon.ec2.client.AmazonEC2Stub.DetachNetworkInterface detachNetworkInterface186,
+ com.amazon.ec2.client.AmazonEC2Stub.DetachNetworkInterface detachNetworkInterface186,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[93].getName());
_operationClient.getOptions().setAction("DetachNetworkInterface");
@@ -23141,9 +23141,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeSecurityGroupsResponse describeSecurityGroups(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSecurityGroups describeSecurityGroups188)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSecurityGroups describeSecurityGroups188)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -23244,11 +23244,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeSecurityGroups(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeSecurityGroups describeSecurityGroups188,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeSecurityGroups describeSecurityGroups188,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[94].getName());
_operationClient.getOptions().setAction("DescribeSecurityGroups");
@@ -23376,9 +23376,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeInstancesResponse describeInstances(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeInstances describeInstances190)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeInstances describeInstances190)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -23478,11 +23478,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeInstances(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeInstances describeInstances190,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeInstances describeInstances190,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[95].getName());
_operationClient.getOptions().setAction("DescribeInstances");
@@ -23610,9 +23610,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkInterfacesResponse describeNetworkInterfaces(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkInterfaces describeNetworkInterfaces192)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkInterfaces describeNetworkInterfaces192)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -23713,11 +23713,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeNetworkInterfaces(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkInterfaces describeNetworkInterfaces192,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeNetworkInterfaces describeNetworkInterfaces192,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[96].getName());
_operationClient.getOptions().setAction("DescribeNetworkInterfaces");
@@ -23845,9 +23845,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteKeyPairResponse deleteKeyPair(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteKeyPair deleteKeyPair194)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteKeyPair deleteKeyPair194)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -23947,11 +23947,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteKeyPair(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteKeyPair deleteKeyPair194,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteKeyPair deleteKeyPair194,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[97].getName());
_operationClient.getOptions().setAction("DeleteKeyPair");
@@ -24078,9 +24078,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateSnapshotResponse createSnapshot(
- com.amazon.ec2.client.AmazonEC2Stub.CreateSnapshot createSnapshot196)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateSnapshot createSnapshot196)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -24180,11 +24180,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateSnapshot(
- com.amazon.ec2.client.AmazonEC2Stub.CreateSnapshot createSnapshot196,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateSnapshot createSnapshot196,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[98].getName());
_operationClient.getOptions().setAction("CreateSnapshot");
@@ -24311,9 +24311,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeVpnGatewaysResponse describeVpnGateways(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeVpnGateways describeVpnGateways198)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeVpnGateways describeVpnGateways198)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -24413,11 +24413,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeVpnGateways(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeVpnGateways describeVpnGateways198,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeVpnGateways describeVpnGateways198,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[99].getName());
_operationClient.getOptions().setAction("DescribeVpnGateways");
@@ -24545,9 +24545,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteTagsResponse deleteTags(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteTags deleteTags200)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteTags deleteTags200)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -24647,11 +24647,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteTags(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteTags deleteTags200,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteTags deleteTags200,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[100].getName());
_operationClient.getOptions().setAction("DeleteTags");
@@ -24778,9 +24778,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteSnapshotResponse deleteSnapshot(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteSnapshot deleteSnapshot202)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteSnapshot deleteSnapshot202)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -24880,11 +24880,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteSnapshot(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteSnapshot deleteSnapshot202,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteSnapshot deleteSnapshot202,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[101].getName());
_operationClient.getOptions().setAction("DeleteSnapshot");
@@ -25011,9 +25011,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteCustomerGatewayResponse deleteCustomerGateway(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteCustomerGateway deleteCustomerGateway204)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteCustomerGateway deleteCustomerGateway204)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -25113,11 +25113,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteCustomerGateway(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteCustomerGateway deleteCustomerGateway204,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteCustomerGateway deleteCustomerGateway204,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[102].getName());
_operationClient.getOptions().setAction("DeleteCustomerGateway");
@@ -25245,9 +25245,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateVolumeResponse createVolume(
- com.amazon.ec2.client.AmazonEC2Stub.CreateVolume createVolume206)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateVolume createVolume206)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -25347,11 +25347,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateVolume(
- com.amazon.ec2.client.AmazonEC2Stub.CreateVolume createVolume206,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateVolume createVolume206,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[103].getName());
_operationClient.getOptions().setAction("CreateVolume");
@@ -25478,9 +25478,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CancelExportTaskResponse cancelExportTask(
- com.amazon.ec2.client.AmazonEC2Stub.CancelExportTask cancelExportTask208)
+ com.amazon.ec2.client.AmazonEC2Stub.CancelExportTask cancelExportTask208)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -25580,11 +25580,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcancelExportTask(
- com.amazon.ec2.client.AmazonEC2Stub.CancelExportTask cancelExportTask208,
+ com.amazon.ec2.client.AmazonEC2Stub.CancelExportTask cancelExportTask208,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[104].getName());
_operationClient.getOptions().setAction("CancelExportTask");
@@ -25712,9 +25712,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.RegisterImageResponse registerImage(
- com.amazon.ec2.client.AmazonEC2Stub.RegisterImage registerImage210)
+ com.amazon.ec2.client.AmazonEC2Stub.RegisterImage registerImage210)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -25814,11 +25814,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startregisterImage(
- com.amazon.ec2.client.AmazonEC2Stub.RegisterImage registerImage210,
+ com.amazon.ec2.client.AmazonEC2Stub.RegisterImage registerImage210,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[105].getName());
_operationClient.getOptions().setAction("RegisterImage");
@@ -25945,9 +25945,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DetachVolumeResponse detachVolume(
- com.amazon.ec2.client.AmazonEC2Stub.DetachVolume detachVolume212)
+ com.amazon.ec2.client.AmazonEC2Stub.DetachVolume detachVolume212)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -26047,11 +26047,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdetachVolume(
- com.amazon.ec2.client.AmazonEC2Stub.DetachVolume detachVolume212,
+ com.amazon.ec2.client.AmazonEC2Stub.DetachVolume detachVolume212,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[106].getName());
_operationClient.getOptions().setAction("DetachVolume");
@@ -26178,9 +26178,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.StopInstancesResponse stopInstances(
- com.amazon.ec2.client.AmazonEC2Stub.StopInstances stopInstances214)
+ com.amazon.ec2.client.AmazonEC2Stub.StopInstances stopInstances214)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -26280,11 +26280,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startstopInstances(
- com.amazon.ec2.client.AmazonEC2Stub.StopInstances stopInstances214,
+ com.amazon.ec2.client.AmazonEC2Stub.StopInstances stopInstances214,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[107].getName());
_operationClient.getOptions().setAction("StopInstances");
@@ -26411,9 +26411,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateRouteResponse createRoute(
- com.amazon.ec2.client.AmazonEC2Stub.CreateRoute createRoute216)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateRoute createRoute216)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -26513,11 +26513,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateRoute(
- com.amazon.ec2.client.AmazonEC2Stub.CreateRoute createRoute216,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateRoute createRoute216,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[108].getName());
_operationClient.getOptions().setAction("CreateRoute");
@@ -26644,9 +26644,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ReleaseAddressResponse releaseAddress(
- com.amazon.ec2.client.AmazonEC2Stub.ReleaseAddress releaseAddress218)
+ com.amazon.ec2.client.AmazonEC2Stub.ReleaseAddress releaseAddress218)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -26746,11 +26746,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startreleaseAddress(
- com.amazon.ec2.client.AmazonEC2Stub.ReleaseAddress releaseAddress218,
+ com.amazon.ec2.client.AmazonEC2Stub.ReleaseAddress releaseAddress218,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[109].getName());
_operationClient.getOptions().setAction("ReleaseAddress");
@@ -26877,9 +26877,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeRouteTablesResponse describeRouteTables(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeRouteTables describeRouteTables220)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeRouteTables describeRouteTables220)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -26979,11 +26979,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeRouteTables(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeRouteTables describeRouteTables220,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeRouteTables describeRouteTables220,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[110].getName());
_operationClient.getOptions().setAction("DescribeRouteTables");
@@ -27111,9 +27111,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeCustomerGatewaysResponse describeCustomerGateways(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeCustomerGateways describeCustomerGateways222)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeCustomerGateways describeCustomerGateways222)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -27214,11 +27214,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeCustomerGateways(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeCustomerGateways describeCustomerGateways222,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeCustomerGateways describeCustomerGateways222,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[111].getName());
_operationClient.getOptions().setAction("DescribeCustomerGateways");
@@ -27346,9 +27346,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkAclResponse deleteNetworkAcl(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkAcl deleteNetworkAcl224)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkAcl deleteNetworkAcl224)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -27448,11 +27448,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteNetworkAcl(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkAcl deleteNetworkAcl224,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteNetworkAcl deleteNetworkAcl224,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[112].getName());
_operationClient.getOptions().setAction("DeleteNetworkAcl");
@@ -27580,9 +27580,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteRouteResponse deleteRoute(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteRoute deleteRoute226)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteRoute deleteRoute226)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -27682,11 +27682,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteRoute(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteRoute deleteRoute226,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteRoute deleteRoute226,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[113].getName());
_operationClient.getOptions().setAction("DeleteRoute");
@@ -27813,9 +27813,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.RebootInstancesResponse rebootInstances(
- com.amazon.ec2.client.AmazonEC2Stub.RebootInstances rebootInstances228)
+ com.amazon.ec2.client.AmazonEC2Stub.RebootInstances rebootInstances228)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -27915,11 +27915,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startrebootInstances(
- com.amazon.ec2.client.AmazonEC2Stub.RebootInstances rebootInstances228,
+ com.amazon.ec2.client.AmazonEC2Stub.RebootInstances rebootInstances228,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[114].getName());
_operationClient.getOptions().setAction("RebootInstances");
@@ -28046,9 +28046,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ModifyInstanceAttributeResponse modifyInstanceAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ModifyInstanceAttribute modifyInstanceAttribute230)
+ com.amazon.ec2.client.AmazonEC2Stub.ModifyInstanceAttribute modifyInstanceAttribute230)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -28149,11 +28149,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startmodifyInstanceAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.ModifyInstanceAttribute modifyInstanceAttribute230,
+ com.amazon.ec2.client.AmazonEC2Stub.ModifyInstanceAttribute modifyInstanceAttribute230,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[115].getName());
_operationClient.getOptions().setAction("ModifyInstanceAttribute");
@@ -28281,9 +28281,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.TerminateInstancesResponse terminateInstances(
- com.amazon.ec2.client.AmazonEC2Stub.TerminateInstances terminateInstances232)
+ com.amazon.ec2.client.AmazonEC2Stub.TerminateInstances terminateInstances232)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -28383,11 +28383,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startterminateInstances(
- com.amazon.ec2.client.AmazonEC2Stub.TerminateInstances terminateInstances232,
+ com.amazon.ec2.client.AmazonEC2Stub.TerminateInstances terminateInstances232,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[116].getName());
_operationClient.getOptions().setAction("TerminateInstances");
@@ -28515,9 +28515,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateVpnConnectionRouteResponse createVpnConnectionRoute(
- com.amazon.ec2.client.AmazonEC2Stub.CreateVpnConnectionRoute createVpnConnectionRoute234)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateVpnConnectionRoute createVpnConnectionRoute234)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -28618,11 +28618,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateVpnConnectionRoute(
- com.amazon.ec2.client.AmazonEC2Stub.CreateVpnConnectionRoute createVpnConnectionRoute234,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateVpnConnectionRoute createVpnConnectionRoute234,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[117].getName());
_operationClient.getOptions().setAction("CreateVpnConnectionRoute");
@@ -28750,9 +28750,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeConversionTasksResponse describeConversionTasks(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeConversionTasks describeConversionTasks236)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeConversionTasks describeConversionTasks236)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -28853,11 +28853,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeConversionTasks(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeConversionTasks describeConversionTasks236,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeConversionTasks describeConversionTasks236,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[118].getName());
_operationClient.getOptions().setAction("DescribeConversionTasks");
@@ -28985,9 +28985,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeAddressesResponse describeAddresses(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeAddresses describeAddresses238)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeAddresses describeAddresses238)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -29087,11 +29087,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeAddresses(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeAddresses describeAddresses238,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeAddresses describeAddresses238,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[119].getName());
_operationClient.getOptions().setAction("DescribeAddresses");
@@ -29219,9 +29219,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeInstanceAttributeResponse describeInstanceAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeInstanceAttribute describeInstanceAttribute240)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeInstanceAttribute describeInstanceAttribute240)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -29322,11 +29322,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeInstanceAttribute(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeInstanceAttribute describeInstanceAttribute240,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeInstanceAttribute describeInstanceAttribute240,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[120].getName());
_operationClient.getOptions().setAction("DescribeInstanceAttribute");
@@ -29454,9 +29454,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.AttachInternetGatewayResponse attachInternetGateway(
- com.amazon.ec2.client.AmazonEC2Stub.AttachInternetGateway attachInternetGateway242)
+ com.amazon.ec2.client.AmazonEC2Stub.AttachInternetGateway attachInternetGateway242)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -29556,11 +29556,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startattachInternetGateway(
- com.amazon.ec2.client.AmazonEC2Stub.AttachInternetGateway attachInternetGateway242,
+ com.amazon.ec2.client.AmazonEC2Stub.AttachInternetGateway attachInternetGateway242,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[121].getName());
_operationClient.getOptions().setAction("AttachInternetGateway");
@@ -29688,9 +29688,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateVpcResponse createVpc(
- com.amazon.ec2.client.AmazonEC2Stub.CreateVpc createVpc244)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateVpc createVpc244)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -29790,11 +29790,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateVpc(
- com.amazon.ec2.client.AmazonEC2Stub.CreateVpc createVpc244,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateVpc createVpc244,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[122].getName());
_operationClient.getOptions().setAction("CreateVpc");
@@ -29921,9 +29921,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ReplaceRouteTableAssociationResponse replaceRouteTableAssociation(
- com.amazon.ec2.client.AmazonEC2Stub.ReplaceRouteTableAssociation replaceRouteTableAssociation246)
+ com.amazon.ec2.client.AmazonEC2Stub.ReplaceRouteTableAssociation replaceRouteTableAssociation246)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -30024,11 +30024,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startreplaceRouteTableAssociation(
- com.amazon.ec2.client.AmazonEC2Stub.ReplaceRouteTableAssociation replaceRouteTableAssociation246,
+ com.amazon.ec2.client.AmazonEC2Stub.ReplaceRouteTableAssociation replaceRouteTableAssociation246,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[123].getName());
_operationClient.getOptions().setAction("ReplaceRouteTableAssociation");
@@ -30156,9 +30156,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.AssociateRouteTableResponse associateRouteTable(
- com.amazon.ec2.client.AmazonEC2Stub.AssociateRouteTable associateRouteTable248)
+ com.amazon.ec2.client.AmazonEC2Stub.AssociateRouteTable associateRouteTable248)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -30258,11 +30258,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startassociateRouteTable(
- com.amazon.ec2.client.AmazonEC2Stub.AssociateRouteTable associateRouteTable248,
+ com.amazon.ec2.client.AmazonEC2Stub.AssociateRouteTable associateRouteTable248,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[124].getName());
_operationClient.getOptions().setAction("AssociateRouteTable");
@@ -30390,9 +30390,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DetachInternetGatewayResponse detachInternetGateway(
- com.amazon.ec2.client.AmazonEC2Stub.DetachInternetGateway detachInternetGateway250)
+ com.amazon.ec2.client.AmazonEC2Stub.DetachInternetGateway detachInternetGateway250)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -30492,11 +30492,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdetachInternetGateway(
- com.amazon.ec2.client.AmazonEC2Stub.DetachInternetGateway detachInternetGateway250,
+ com.amazon.ec2.client.AmazonEC2Stub.DetachInternetGateway detachInternetGateway250,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[125].getName());
_operationClient.getOptions().setAction("DetachInternetGateway");
@@ -30624,9 +30624,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.PurchaseReservedInstancesOfferingResponse purchaseReservedInstancesOffering(
- com.amazon.ec2.client.AmazonEC2Stub.PurchaseReservedInstancesOffering purchaseReservedInstancesOffering252)
+ com.amazon.ec2.client.AmazonEC2Stub.PurchaseReservedInstancesOffering purchaseReservedInstancesOffering252)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -30727,11 +30727,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startpurchaseReservedInstancesOffering(
- com.amazon.ec2.client.AmazonEC2Stub.PurchaseReservedInstancesOffering purchaseReservedInstancesOffering252,
+ com.amazon.ec2.client.AmazonEC2Stub.PurchaseReservedInstancesOffering purchaseReservedInstancesOffering252,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[126].getName());
_operationClient.getOptions().setAction("PurchaseReservedInstancesOffering");
@@ -30859,9 +30859,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ImportVolumeResponse importVolume(
- com.amazon.ec2.client.AmazonEC2Stub.ImportVolume importVolume254)
+ com.amazon.ec2.client.AmazonEC2Stub.ImportVolume importVolume254)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -30961,11 +30961,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startimportVolume(
- com.amazon.ec2.client.AmazonEC2Stub.ImportVolume importVolume254,
+ com.amazon.ec2.client.AmazonEC2Stub.ImportVolume importVolume254,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[127].getName());
_operationClient.getOptions().setAction("ImportVolume");
@@ -31092,9 +31092,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeExportTasksResponse describeExportTasks(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeExportTasks describeExportTasks256)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeExportTasks describeExportTasks256)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -31194,11 +31194,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeExportTasks(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeExportTasks describeExportTasks256,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeExportTasks describeExportTasks256,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[128].getName());
_operationClient.getOptions().setAction("DescribeExportTasks");
@@ -31326,9 +31326,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateInstanceExportTaskResponse createInstanceExportTask(
- com.amazon.ec2.client.AmazonEC2Stub.CreateInstanceExportTask createInstanceExportTask258)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateInstanceExportTask createInstanceExportTask258)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -31429,11 +31429,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateInstanceExportTask(
- com.amazon.ec2.client.AmazonEC2Stub.CreateInstanceExportTask createInstanceExportTask258,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateInstanceExportTask createInstanceExportTask258,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[129].getName());
_operationClient.getOptions().setAction("CreateInstanceExportTask");
@@ -31561,9 +31561,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.AssignPrivateIpAddressesResponse assignPrivateIpAddresses(
- com.amazon.ec2.client.AmazonEC2Stub.AssignPrivateIpAddresses assignPrivateIpAddresses260)
+ com.amazon.ec2.client.AmazonEC2Stub.AssignPrivateIpAddresses assignPrivateIpAddresses260)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -31664,11 +31664,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startassignPrivateIpAddresses(
- com.amazon.ec2.client.AmazonEC2Stub.AssignPrivateIpAddresses assignPrivateIpAddresses260,
+ com.amazon.ec2.client.AmazonEC2Stub.AssignPrivateIpAddresses assignPrivateIpAddresses260,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[130].getName());
_operationClient.getOptions().setAction("AssignPrivateIpAddresses");
@@ -31796,9 +31796,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ReportInstanceStatusResponse reportInstanceStatus(
- com.amazon.ec2.client.AmazonEC2Stub.ReportInstanceStatus reportInstanceStatus262)
+ com.amazon.ec2.client.AmazonEC2Stub.ReportInstanceStatus reportInstanceStatus262)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -31898,11 +31898,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startreportInstanceStatus(
- com.amazon.ec2.client.AmazonEC2Stub.ReportInstanceStatus reportInstanceStatus262,
+ com.amazon.ec2.client.AmazonEC2Stub.ReportInstanceStatus reportInstanceStatus262,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[131].getName());
_operationClient.getOptions().setAction("ReportInstanceStatus");
@@ -32030,9 +32030,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstancesOfferingsResponse describeReservedInstancesOfferings(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstancesOfferings describeReservedInstancesOfferings264)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstancesOfferings describeReservedInstancesOfferings264)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -32133,11 +32133,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeReservedInstancesOfferings(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstancesOfferings describeReservedInstancesOfferings264,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeReservedInstancesOfferings describeReservedInstancesOfferings264,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[132].getName());
_operationClient.getOptions().setAction("DescribeReservedInstancesOfferings");
@@ -32265,9 +32265,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnConnectionResponse deleteVpnConnection(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnConnection deleteVpnConnection266)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnConnection deleteVpnConnection266)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -32367,11 +32367,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteVpnConnection(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnConnection deleteVpnConnection266,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteVpnConnection deleteVpnConnection266,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[133].getName());
_operationClient.getOptions().setAction("DeleteVpnConnection");
@@ -32499,9 +32499,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteInternetGatewayResponse deleteInternetGateway(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteInternetGateway deleteInternetGateway268)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteInternetGateway deleteInternetGateway268)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -32601,11 +32601,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteInternetGateway(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteInternetGateway deleteInternetGateway268,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteInternetGateway deleteInternetGateway268,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[134].getName());
_operationClient.getOptions().setAction("DeleteInternetGateway");
@@ -32733,9 +32733,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DeleteSpotDatafeedSubscriptionResponse deleteSpotDatafeedSubscription(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteSpotDatafeedSubscription deleteSpotDatafeedSubscription270)
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteSpotDatafeedSubscription deleteSpotDatafeedSubscription270)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -32836,11 +32836,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteSpotDatafeedSubscription(
- com.amazon.ec2.client.AmazonEC2Stub.DeleteSpotDatafeedSubscription deleteSpotDatafeedSubscription270,
+ com.amazon.ec2.client.AmazonEC2Stub.DeleteSpotDatafeedSubscription deleteSpotDatafeedSubscription270,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[135].getName());
_operationClient.getOptions().setAction("DeleteSpotDatafeedSubscription");
@@ -32968,9 +32968,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.AttachNetworkInterfaceResponse attachNetworkInterface(
- com.amazon.ec2.client.AmazonEC2Stub.AttachNetworkInterface attachNetworkInterface272)
+ com.amazon.ec2.client.AmazonEC2Stub.AttachNetworkInterface attachNetworkInterface272)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -33071,11 +33071,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startattachNetworkInterface(
- com.amazon.ec2.client.AmazonEC2Stub.AttachNetworkInterface attachNetworkInterface272,
+ com.amazon.ec2.client.AmazonEC2Stub.AttachNetworkInterface attachNetworkInterface272,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[136].getName());
_operationClient.getOptions().setAction("AttachNetworkInterface");
@@ -33203,9 +33203,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkInterfaceResponse createNetworkInterface(
- com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkInterface createNetworkInterface274)
+ com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkInterface createNetworkInterface274)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -33306,11 +33306,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateNetworkInterface(
- com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkInterface createNetworkInterface274,
+ com.amazon.ec2.client.AmazonEC2Stub.CreateNetworkInterface createNetworkInterface274,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[137].getName());
_operationClient.getOptions().setAction("CreateNetworkInterface");
@@ -33438,9 +33438,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.RevokeSecurityGroupEgressResponse revokeSecurityGroupEgress(
- com.amazon.ec2.client.AmazonEC2Stub.RevokeSecurityGroupEgress revokeSecurityGroupEgress276)
+ com.amazon.ec2.client.AmazonEC2Stub.RevokeSecurityGroupEgress revokeSecurityGroupEgress276)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -33541,11 +33541,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startrevokeSecurityGroupEgress(
- com.amazon.ec2.client.AmazonEC2Stub.RevokeSecurityGroupEgress revokeSecurityGroupEgress276,
+ com.amazon.ec2.client.AmazonEC2Stub.RevokeSecurityGroupEgress revokeSecurityGroupEgress276,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[138].getName());
_operationClient.getOptions().setAction("RevokeSecurityGroupEgress");
@@ -33673,9 +33673,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.MonitorInstancesResponse monitorInstances(
- com.amazon.ec2.client.AmazonEC2Stub.MonitorInstances monitorInstances278)
+ com.amazon.ec2.client.AmazonEC2Stub.MonitorInstances monitorInstances278)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -33775,11 +33775,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startmonitorInstances(
- com.amazon.ec2.client.AmazonEC2Stub.MonitorInstances monitorInstances278,
+ com.amazon.ec2.client.AmazonEC2Stub.MonitorInstances monitorInstances278,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[139].getName());
_operationClient.getOptions().setAction("MonitorInstances");
@@ -33907,9 +33907,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.ReplaceRouteResponse replaceRoute(
- com.amazon.ec2.client.AmazonEC2Stub.ReplaceRoute replaceRoute280)
+ com.amazon.ec2.client.AmazonEC2Stub.ReplaceRoute replaceRoute280)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -34009,11 +34009,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startreplaceRoute(
- com.amazon.ec2.client.AmazonEC2Stub.ReplaceRoute replaceRoute280,
+ com.amazon.ec2.client.AmazonEC2Stub.ReplaceRoute replaceRoute280,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[140].getName());
_operationClient.getOptions().setAction("ReplaceRoute");
@@ -34140,9 +34140,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.AttachVolumeResponse attachVolume(
- com.amazon.ec2.client.AmazonEC2Stub.AttachVolume attachVolume282)
+ com.amazon.ec2.client.AmazonEC2Stub.AttachVolume attachVolume282)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -34242,11 +34242,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startattachVolume(
- com.amazon.ec2.client.AmazonEC2Stub.AttachVolume attachVolume282,
+ com.amazon.ec2.client.AmazonEC2Stub.AttachVolume attachVolume282,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[141].getName());
_operationClient.getOptions().setAction("AttachVolume");
@@ -34373,9 +34373,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.GetConsoleOutputResponse getConsoleOutput(
- com.amazon.ec2.client.AmazonEC2Stub.GetConsoleOutput getConsoleOutput284)
+ com.amazon.ec2.client.AmazonEC2Stub.GetConsoleOutput getConsoleOutput284)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -34475,11 +34475,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startgetConsoleOutput(
- com.amazon.ec2.client.AmazonEC2Stub.GetConsoleOutput getConsoleOutput284,
+ com.amazon.ec2.client.AmazonEC2Stub.GetConsoleOutput getConsoleOutput284,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[142].getName());
_operationClient.getOptions().setAction("GetConsoleOutput");
@@ -34607,9 +34607,9 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
public com.amazon.ec2.client.AmazonEC2Stub.DescribeRegionsResponse describeRegions(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeRegions describeRegions286)
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeRegions describeRegions286)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -34709,11 +34709,11 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
*/
public void startdescribeRegions(
- com.amazon.ec2.client.AmazonEC2Stub.DescribeRegions describeRegions286,
+ com.amazon.ec2.client.AmazonEC2Stub.DescribeRegions describeRegions286,
- final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
+ final com.amazon.ec2.client.AmazonEC2CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[143].getName());
_operationClient.getOptions().setAction("DescribeRegions");
@@ -207841,7 +207841,7 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
// handle attribute "version"
java.lang.String tempAttribVersion =
- reader.getAttributeValue(null, "version");
+ reader.getAttributeValue(null, "version");
if (tempAttribVersion != null) {
java.lang.String content = tempAttribVersion;
@@ -207858,7 +207858,7 @@ public class AmazonEC2Stub extends org.apache.axis2.client.Stub {
// handle attribute "encoding"
java.lang.String tempAttribEncoding =
- reader.getAttributeValue(null, "encoding");
+ reader.getAttributeValue(null, "encoding");
if (tempAttribEncoding != null) {
java.lang.String content = tempAttribEncoding;
diff --git a/awsapi/src/com/amazon/s3/AmazonS3MessageReceiverInOut.java b/awsapi/src/com/amazon/s3/AmazonS3MessageReceiverInOut.java
index 0e8c332e142..4b9c0a4f4ff 100644
--- a/awsapi/src/com/amazon/s3/AmazonS3MessageReceiverInOut.java
+++ b/awsapi/src/com/amazon/s3/AmazonS3MessageReceiverInOut.java
@@ -59,7 +59,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
getBucketLoggingStatusResponse33 =
- skel.getBucketLoggingStatus(wrappedParam);
+ skel.getBucketLoggingStatus(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), getBucketLoggingStatusResponse33, false);
} else
@@ -73,7 +73,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
copyObjectResponse35 =
- skel.copyObject(wrappedParam);
+ skel.copyObject(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), copyObjectResponse35, false);
} else
@@ -87,7 +87,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
getBucketAccessControlPolicyResponse37 =
- skel.getBucketAccessControlPolicy(wrappedParam);
+ skel.getBucketAccessControlPolicy(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), getBucketAccessControlPolicyResponse37, false);
} else
@@ -101,7 +101,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
listBucketResponse39 =
- skel.listBucket(wrappedParam);
+ skel.listBucket(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), listBucketResponse39, false);
} else
@@ -115,7 +115,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
putObjectResponse41 =
- skel.putObject(wrappedParam);
+ skel.putObject(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), putObjectResponse41, false);
} else
@@ -129,7 +129,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
createBucketResponse43 =
- skel.createBucket(wrappedParam);
+ skel.createBucket(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), createBucketResponse43, false);
} else
@@ -143,7 +143,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
listAllMyBucketsResponse45 =
- skel.listAllMyBuckets(wrappedParam);
+ skel.listAllMyBuckets(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), listAllMyBucketsResponse45, false);
} else
@@ -157,7 +157,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
getObjectResponse47 =
- skel.getObject(wrappedParam);
+ skel.getObject(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), getObjectResponse47, false);
} else
@@ -171,7 +171,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
deleteBucketResponse49 =
- skel.deleteBucket(wrappedParam);
+ skel.deleteBucket(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteBucketResponse49, false);
} else
@@ -185,7 +185,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
setBucketLoggingStatusResponse51 =
- skel.setBucketLoggingStatus(wrappedParam);
+ skel.setBucketLoggingStatus(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), setBucketLoggingStatusResponse51, false);
} else
@@ -199,7 +199,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
getObjectAccessControlPolicyResponse53 =
- skel.getObjectAccessControlPolicy(wrappedParam);
+ skel.getObjectAccessControlPolicy(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), getObjectAccessControlPolicyResponse53, false);
} else
@@ -213,7 +213,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
deleteObjectResponse55 =
- skel.deleteObject(wrappedParam);
+ skel.deleteObject(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), deleteObjectResponse55, false);
} else
@@ -227,7 +227,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
setBucketAccessControlPolicyResponse57 =
- skel.setBucketAccessControlPolicy(wrappedParam);
+ skel.setBucketAccessControlPolicy(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), setBucketAccessControlPolicyResponse57, false);
} else
@@ -241,7 +241,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
setObjectAccessControlPolicyResponse59 =
- skel.setObjectAccessControlPolicy(wrappedParam);
+ skel.setObjectAccessControlPolicy(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), setObjectAccessControlPolicyResponse59, false);
} else
@@ -255,7 +255,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
putObjectInlineResponse61 =
- skel.putObjectInline(wrappedParam);
+ skel.putObjectInline(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), putObjectInlineResponse61, false);
} else
@@ -269,7 +269,7 @@ public class AmazonS3MessageReceiverInOut extends org.apache.axis2.receivers.Abs
getObjectExtendedResponse63 =
- skel.getObjectExtended(wrappedParam);
+ skel.getObjectExtended(wrappedParam);
envelope = toEnvelope(getSOAPFactory(msgContext), getObjectExtendedResponse63, false);
diff --git a/awsapi/src/com/amazon/s3/MetadataDirective.java b/awsapi/src/com/amazon/s3/MetadataDirective.java
index b3766861cc7..a558f60e09f 100644
--- a/awsapi/src/com/amazon/s3/MetadataDirective.java
+++ b/awsapi/src/com/amazon/s3/MetadataDirective.java
@@ -333,7 +333,7 @@ public class MetadataDirective implements org.apache.axis2.databinding.ADBBean {
public static MetadataDirective fromValue(java.lang.String value) throws java.lang.IllegalArgumentException {
MetadataDirective enumeration = (MetadataDirective)
- _table_.get(value);
+ _table_.get(value);
if (enumeration == null)
throw new java.lang.IllegalArgumentException();
diff --git a/awsapi/src/com/amazon/s3/MfaDeleteStatus.java b/awsapi/src/com/amazon/s3/MfaDeleteStatus.java
index 63e982762e4..a050d8c1a16 100644
--- a/awsapi/src/com/amazon/s3/MfaDeleteStatus.java
+++ b/awsapi/src/com/amazon/s3/MfaDeleteStatus.java
@@ -333,7 +333,7 @@ public class MfaDeleteStatus implements org.apache.axis2.databinding.ADBBean {
public static MfaDeleteStatus fromValue(java.lang.String value) throws java.lang.IllegalArgumentException {
MfaDeleteStatus enumeration = (MfaDeleteStatus)
- _table_.get(value);
+ _table_.get(value);
if (enumeration == null)
throw new java.lang.IllegalArgumentException();
diff --git a/awsapi/src/com/amazon/s3/Payer.java b/awsapi/src/com/amazon/s3/Payer.java
index ea33c567b43..61b7b7f0d1f 100644
--- a/awsapi/src/com/amazon/s3/Payer.java
+++ b/awsapi/src/com/amazon/s3/Payer.java
@@ -333,7 +333,7 @@ public class Payer implements org.apache.axis2.databinding.ADBBean {
public static Payer fromValue(java.lang.String value) throws java.lang.IllegalArgumentException {
Payer enumeration = (Payer)
- _table_.get(value);
+ _table_.get(value);
if (enumeration == null)
throw new java.lang.IllegalArgumentException();
diff --git a/awsapi/src/com/amazon/s3/Permission.java b/awsapi/src/com/amazon/s3/Permission.java
index 1fad5a7ceea..736fd64ffdb 100644
--- a/awsapi/src/com/amazon/s3/Permission.java
+++ b/awsapi/src/com/amazon/s3/Permission.java
@@ -345,7 +345,7 @@ public class Permission implements org.apache.axis2.databinding.ADBBean {
public static Permission fromValue(java.lang.String value) throws java.lang.IllegalArgumentException {
Permission enumeration = (Permission)
- _table_.get(value);
+ _table_.get(value);
if (enumeration == null)
throw new java.lang.IllegalArgumentException();
diff --git a/awsapi/src/com/amazon/s3/StorageClass.java b/awsapi/src/com/amazon/s3/StorageClass.java
index 56f7edacec7..d10c069ed52 100644
--- a/awsapi/src/com/amazon/s3/StorageClass.java
+++ b/awsapi/src/com/amazon/s3/StorageClass.java
@@ -333,7 +333,7 @@ public class StorageClass implements org.apache.axis2.databinding.ADBBean {
public static StorageClass fromValue(java.lang.String value) throws java.lang.IllegalArgumentException {
StorageClass enumeration = (StorageClass)
- _table_.get(value);
+ _table_.get(value);
if (enumeration == null)
throw new java.lang.IllegalArgumentException();
diff --git a/awsapi/src/com/amazon/s3/VersioningStatus.java b/awsapi/src/com/amazon/s3/VersioningStatus.java
index 74b3de09564..c05604feec6 100644
--- a/awsapi/src/com/amazon/s3/VersioningStatus.java
+++ b/awsapi/src/com/amazon/s3/VersioningStatus.java
@@ -333,7 +333,7 @@ public class VersioningStatus implements org.apache.axis2.databinding.ADBBean {
public static VersioningStatus fromValue(java.lang.String value) throws java.lang.IllegalArgumentException {
VersioningStatus enumeration = (VersioningStatus)
- _table_.get(value);
+ _table_.get(value);
if (enumeration == null)
throw new java.lang.IllegalArgumentException();
diff --git a/awsapi/src/com/amazon/s3/client/AmazonS3Stub.java b/awsapi/src/com/amazon/s3/client/AmazonS3Stub.java
index 06ba65517d5..ad740f08df7 100644
--- a/awsapi/src/com/amazon/s3/client/AmazonS3Stub.java
+++ b/awsapi/src/com/amazon/s3/client/AmazonS3Stub.java
@@ -235,9 +235,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.GetBucketLoggingStatusResponse getBucketLoggingStatus(
- com.amazon.s3.client.AmazonS3Stub.GetBucketLoggingStatus getBucketLoggingStatus0)
+ com.amazon.s3.client.AmazonS3Stub.GetBucketLoggingStatus getBucketLoggingStatus0)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -335,11 +335,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startgetBucketLoggingStatus(
- com.amazon.s3.client.AmazonS3Stub.GetBucketLoggingStatus getBucketLoggingStatus0,
+ com.amazon.s3.client.AmazonS3Stub.GetBucketLoggingStatus getBucketLoggingStatus0,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[0].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/GetBucketLoggingStatusRequest");
@@ -471,9 +471,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.CopyObjectResponse copyObject(
- com.amazon.s3.client.AmazonS3Stub.CopyObject copyObject2)
+ com.amazon.s3.client.AmazonS3Stub.CopyObject copyObject2)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -571,11 +571,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startcopyObject(
- com.amazon.s3.client.AmazonS3Stub.CopyObject copyObject2,
+ com.amazon.s3.client.AmazonS3Stub.CopyObject copyObject2,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[1].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/CopyObjectRequest");
@@ -706,9 +706,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.GetBucketAccessControlPolicyResponse getBucketAccessControlPolicy(
- com.amazon.s3.client.AmazonS3Stub.GetBucketAccessControlPolicy getBucketAccessControlPolicy4)
+ com.amazon.s3.client.AmazonS3Stub.GetBucketAccessControlPolicy getBucketAccessControlPolicy4)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -807,11 +807,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startgetBucketAccessControlPolicy(
- com.amazon.s3.client.AmazonS3Stub.GetBucketAccessControlPolicy getBucketAccessControlPolicy4,
+ com.amazon.s3.client.AmazonS3Stub.GetBucketAccessControlPolicy getBucketAccessControlPolicy4,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[2].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/GetBucketAccessControlPolicyRequest");
@@ -943,9 +943,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.ListBucketResponse listBucket(
- com.amazon.s3.client.AmazonS3Stub.ListBucket listBucket6)
+ com.amazon.s3.client.AmazonS3Stub.ListBucket listBucket6)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -1043,11 +1043,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startlistBucket(
- com.amazon.s3.client.AmazonS3Stub.ListBucket listBucket6,
+ com.amazon.s3.client.AmazonS3Stub.ListBucket listBucket6,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[3].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/ListBucketRequest");
@@ -1178,9 +1178,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.PutObjectResponse putObject(
- com.amazon.s3.client.AmazonS3Stub.PutObject putObject8)
+ com.amazon.s3.client.AmazonS3Stub.PutObject putObject8)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -1278,11 +1278,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startputObject(
- com.amazon.s3.client.AmazonS3Stub.PutObject putObject8,
+ com.amazon.s3.client.AmazonS3Stub.PutObject putObject8,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[4].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/PutObjectRequest");
@@ -1413,9 +1413,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.CreateBucketResponse createBucket(
- com.amazon.s3.client.AmazonS3Stub.CreateBucket createBucket10)
+ com.amazon.s3.client.AmazonS3Stub.CreateBucket createBucket10)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -1513,11 +1513,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startcreateBucket(
- com.amazon.s3.client.AmazonS3Stub.CreateBucket createBucket10,
+ com.amazon.s3.client.AmazonS3Stub.CreateBucket createBucket10,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[5].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/CreateBucketRequest");
@@ -1648,9 +1648,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.ListAllMyBucketsResponse listAllMyBuckets(
- com.amazon.s3.client.AmazonS3Stub.ListAllMyBuckets listAllMyBuckets12)
+ com.amazon.s3.client.AmazonS3Stub.ListAllMyBuckets listAllMyBuckets12)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -1748,11 +1748,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startlistAllMyBuckets(
- com.amazon.s3.client.AmazonS3Stub.ListAllMyBuckets listAllMyBuckets12,
+ com.amazon.s3.client.AmazonS3Stub.ListAllMyBuckets listAllMyBuckets12,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[6].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/ListAllMyBucketsRequest");
@@ -1883,9 +1883,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.GetObjectResponse getObject(
- com.amazon.s3.client.AmazonS3Stub.GetObject getObject14)
+ com.amazon.s3.client.AmazonS3Stub.GetObject getObject14)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -1983,11 +1983,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startgetObject(
- com.amazon.s3.client.AmazonS3Stub.GetObject getObject14,
+ com.amazon.s3.client.AmazonS3Stub.GetObject getObject14,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[7].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/GetObjectRequest");
@@ -2118,9 +2118,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.DeleteBucketResponse deleteBucket(
- com.amazon.s3.client.AmazonS3Stub.DeleteBucket deleteBucket16)
+ com.amazon.s3.client.AmazonS3Stub.DeleteBucket deleteBucket16)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -2218,11 +2218,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteBucket(
- com.amazon.s3.client.AmazonS3Stub.DeleteBucket deleteBucket16,
+ com.amazon.s3.client.AmazonS3Stub.DeleteBucket deleteBucket16,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[8].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/DeleteBucketRequest");
@@ -2353,9 +2353,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.SetBucketLoggingStatusResponse setBucketLoggingStatus(
- com.amazon.s3.client.AmazonS3Stub.SetBucketLoggingStatus setBucketLoggingStatus18)
+ com.amazon.s3.client.AmazonS3Stub.SetBucketLoggingStatus setBucketLoggingStatus18)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -2453,11 +2453,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startsetBucketLoggingStatus(
- com.amazon.s3.client.AmazonS3Stub.SetBucketLoggingStatus setBucketLoggingStatus18,
+ com.amazon.s3.client.AmazonS3Stub.SetBucketLoggingStatus setBucketLoggingStatus18,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[9].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/SetBucketLoggingStatusRequest");
@@ -2589,9 +2589,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.GetObjectAccessControlPolicyResponse getObjectAccessControlPolicy(
- com.amazon.s3.client.AmazonS3Stub.GetObjectAccessControlPolicy getObjectAccessControlPolicy20)
+ com.amazon.s3.client.AmazonS3Stub.GetObjectAccessControlPolicy getObjectAccessControlPolicy20)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -2690,11 +2690,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startgetObjectAccessControlPolicy(
- com.amazon.s3.client.AmazonS3Stub.GetObjectAccessControlPolicy getObjectAccessControlPolicy20,
+ com.amazon.s3.client.AmazonS3Stub.GetObjectAccessControlPolicy getObjectAccessControlPolicy20,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[10].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/GetObjectAccessControlPolicyRequest");
@@ -2826,9 +2826,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.DeleteObjectResponse deleteObject(
- com.amazon.s3.client.AmazonS3Stub.DeleteObject deleteObject22)
+ com.amazon.s3.client.AmazonS3Stub.DeleteObject deleteObject22)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -2926,11 +2926,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startdeleteObject(
- com.amazon.s3.client.AmazonS3Stub.DeleteObject deleteObject22,
+ com.amazon.s3.client.AmazonS3Stub.DeleteObject deleteObject22,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[11].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/DeleteObjectRequest");
@@ -3061,9 +3061,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.SetBucketAccessControlPolicyResponse setBucketAccessControlPolicy(
- com.amazon.s3.client.AmazonS3Stub.SetBucketAccessControlPolicy setBucketAccessControlPolicy24)
+ com.amazon.s3.client.AmazonS3Stub.SetBucketAccessControlPolicy setBucketAccessControlPolicy24)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -3162,11 +3162,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startsetBucketAccessControlPolicy(
- com.amazon.s3.client.AmazonS3Stub.SetBucketAccessControlPolicy setBucketAccessControlPolicy24,
+ com.amazon.s3.client.AmazonS3Stub.SetBucketAccessControlPolicy setBucketAccessControlPolicy24,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[12].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/SetBucketAccessControlPolicyRequest");
@@ -3298,9 +3298,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.SetObjectAccessControlPolicyResponse setObjectAccessControlPolicy(
- com.amazon.s3.client.AmazonS3Stub.SetObjectAccessControlPolicy setObjectAccessControlPolicy26)
+ com.amazon.s3.client.AmazonS3Stub.SetObjectAccessControlPolicy setObjectAccessControlPolicy26)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -3399,11 +3399,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startsetObjectAccessControlPolicy(
- com.amazon.s3.client.AmazonS3Stub.SetObjectAccessControlPolicy setObjectAccessControlPolicy26,
+ com.amazon.s3.client.AmazonS3Stub.SetObjectAccessControlPolicy setObjectAccessControlPolicy26,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[13].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/SetObjectAccessControlPolicyRequest");
@@ -3535,9 +3535,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.PutObjectInlineResponse putObjectInline(
- com.amazon.s3.client.AmazonS3Stub.PutObjectInline putObjectInline28)
+ com.amazon.s3.client.AmazonS3Stub.PutObjectInline putObjectInline28)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -3635,11 +3635,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startputObjectInline(
- com.amazon.s3.client.AmazonS3Stub.PutObjectInline putObjectInline28,
+ com.amazon.s3.client.AmazonS3Stub.PutObjectInline putObjectInline28,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[14].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/PutObjectInlineRequest");
@@ -3770,9 +3770,9 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public com.amazon.s3.client.AmazonS3Stub.GetObjectExtendedResponse getObjectExtended(
- com.amazon.s3.client.AmazonS3Stub.GetObjectExtended getObjectExtended30)
+ com.amazon.s3.client.AmazonS3Stub.GetObjectExtended getObjectExtended30)
- throws java.rmi.RemoteException
+ throws java.rmi.RemoteException
{
org.apache.axis2.context.MessageContext _messageContext = null;
@@ -3870,11 +3870,11 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
*/
public void startgetObjectExtended(
- com.amazon.s3.client.AmazonS3Stub.GetObjectExtended getObjectExtended30,
+ com.amazon.s3.client.AmazonS3Stub.GetObjectExtended getObjectExtended30,
- final com.amazon.s3.client.AmazonS3CallbackHandler callback)
+ final com.amazon.s3.client.AmazonS3CallbackHandler callback)
- throws java.rmi.RemoteException {
+ throws java.rmi.RemoteException {
org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(_operations[15].getName());
_operationClient.getOptions().setAction("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3/GetObjectExtendedRequest");
@@ -18445,7 +18445,7 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public static Permission fromValue(java.lang.String value) throws java.lang.IllegalArgumentException {
Permission enumeration = (Permission)
- _table_.get(value);
+ _table_.get(value);
if (enumeration == null)
throw new java.lang.IllegalArgumentException();
@@ -23125,7 +23125,7 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public static MetadataDirective fromValue(java.lang.String value) throws java.lang.IllegalArgumentException {
MetadataDirective enumeration = (MetadataDirective)
- _table_.get(value);
+ _table_.get(value);
if (enumeration == null)
throw new java.lang.IllegalArgumentException();
@@ -29108,7 +29108,7 @@ public class AmazonS3Stub extends org.apache.axis2.client.Stub {
public static StorageClass fromValue(java.lang.String value) throws java.lang.IllegalArgumentException {
StorageClass enumeration = (StorageClass)
- _table_.get(value);
+ _table_.get(value);
if (enumeration == null)
throw new java.lang.IllegalArgumentException();
diff --git a/awsapi/src/com/cloud/bridge/service/EC2RestServlet.java b/awsapi/src/com/cloud/bridge/service/EC2RestServlet.java
index fd2919dc117..9ac5c4e3206 100644
--- a/awsapi/src/com/cloud/bridge/service/EC2RestServlet.java
+++ b/awsapi/src/com/cloud/bridge/service/EC2RestServlet.java
@@ -582,12 +582,12 @@ public class EC2RestServlet extends HttpServlet {
credentialDao.setCertificateId( accessKey[0], null );
*/txn = TransactionLegacy.open(TransactionLegacy.AWSAPI_DB);
- UserCredentialsVO user = ucDao.getByAccessKey(accessKey[0]);
- user.setCertUniqueId(null);
- ucDao.update(user.getId(), user);
- response.setStatus(200);
- endResponse(response, "User certificate deleted successfully");
- txn.commit();
+ UserCredentialsVO user = ucDao.getByAccessKey(accessKey[0]);
+ user.setCertUniqueId(null);
+ ucDao.update(user.getId(), user);
+ response.setStatus(200);
+ endResponse(response, "User certificate deleted successfully");
+ txn.commit();
} else
response.setStatus(404);
@@ -834,7 +834,7 @@ public class EC2RestServlet extends HttpServlet {
// -> execute the request
RevokeSecurityGroupIngressResponse EC2response =
- EC2SoapServiceImpl.toRevokeSecurityGroupIngressResponse(ServiceProvider.getInstance().getEC2Engine().revokeSecurityGroup(EC2request));
+ EC2SoapServiceImpl.toRevokeSecurityGroupIngressResponse(ServiceProvider.getInstance().getEC2Engine().revokeSecurityGroup(EC2request));
serializeResponse(response, EC2response);
}
@@ -919,7 +919,7 @@ public class EC2RestServlet extends HttpServlet {
// -> execute the request
AuthorizeSecurityGroupIngressResponse EC2response =
- EC2SoapServiceImpl.toAuthorizeSecurityGroupIngressResponse(ServiceProvider.getInstance().getEC2Engine().authorizeSecurityGroup(EC2request));
+ EC2SoapServiceImpl.toAuthorizeSecurityGroupIngressResponse(ServiceProvider.getInstance().getEC2Engine().authorizeSecurityGroup(EC2request));
serializeResponse(response, EC2response);
}
@@ -1016,7 +1016,7 @@ public class EC2RestServlet extends HttpServlet {
// -> execute the request
CreateSecurityGroupResponse EC2response =
- EC2SoapServiceImpl.toCreateSecurityGroupResponse(ServiceProvider.getInstance().getEC2Engine().createSecurityGroup(groupName, groupDescription));
+ EC2SoapServiceImpl.toCreateSecurityGroupResponse(ServiceProvider.getInstance().getEC2Engine().createSecurityGroup(groupName, groupDescription));
serializeResponse(response, EC2response);
}
@@ -1032,7 +1032,7 @@ public class EC2RestServlet extends HttpServlet {
// -> execute the request
DeleteSecurityGroupResponse EC2response =
- EC2SoapServiceImpl.toDeleteSecurityGroupResponse(ServiceProvider.getInstance().getEC2Engine().deleteSecurityGroup(groupName));
+ EC2SoapServiceImpl.toDeleteSecurityGroupResponse(ServiceProvider.getInstance().getEC2Engine().deleteSecurityGroup(groupName));
serializeResponse(response, EC2response);
}
@@ -1170,7 +1170,7 @@ public class EC2RestServlet extends HttpServlet {
// -> execute the request
ModifyImageAttributeResponse EC2response =
- EC2SoapServiceImpl.toModifyImageAttributeResponse(ServiceProvider.getInstance().getEC2Engine().modifyImageAttribute(ec2request));
+ EC2SoapServiceImpl.toModifyImageAttributeResponse(ServiceProvider.getInstance().getEC2Engine().modifyImageAttribute(ec2request));
serializeResponse(response, EC2response);
}
@@ -1235,7 +1235,7 @@ public class EC2RestServlet extends HttpServlet {
// -> execute the request
ResetImageAttributeResponse EC2response =
- EC2SoapServiceImpl.toResetImageAttributeResponse(ServiceProvider.getInstance().getEC2Engine().modifyImageAttribute(ec2request));
+ EC2SoapServiceImpl.toResetImageAttributeResponse(ServiceProvider.getInstance().getEC2Engine().modifyImageAttribute(ec2request));
serializeResponse(response, EC2response);
}
@@ -1447,7 +1447,7 @@ public class EC2RestServlet extends HttpServlet {
// -> execute the request
DescribeAvailabilityZonesResponse EC2response =
- EC2SoapServiceImpl.toDescribeAvailabilityZonesResponse(ServiceProvider.getInstance().getEC2Engine().describeAvailabilityZones(EC2request));
+ EC2SoapServiceImpl.toDescribeAvailabilityZonesResponse(ServiceProvider.getInstance().getEC2Engine().describeAvailabilityZones(EC2request));
serializeResponse(response, EC2response);
}
@@ -1503,7 +1503,7 @@ public class EC2RestServlet extends HttpServlet {
}
DescribeImageAttributeResponse EC2response =
- EC2SoapServiceImpl.toDescribeImageAttributeResponse(ServiceProvider.getInstance().getEC2Engine().describeImageAttribute(ec2request));
+ EC2SoapServiceImpl.toDescribeImageAttributeResponse(ServiceProvider.getInstance().getEC2Engine().describeImageAttribute(ec2request));
serializeResponse(response, EC2response);
}
@@ -1681,7 +1681,7 @@ public class EC2RestServlet extends HttpServlet {
// -> execute the request
DescribeInstanceAttributeResponse EC2response =
- EC2SoapServiceImpl.toDescribeInstanceAttributeResponse(ServiceProvider.getInstance().getEC2Engine().describeInstances(EC2request));
+ EC2SoapServiceImpl.toDescribeInstanceAttributeResponse(ServiceProvider.getInstance().getEC2Engine().describeInstances(EC2request));
serializeResponse(response, EC2response);
}
@@ -1711,7 +1711,7 @@ public class EC2RestServlet extends HttpServlet {
// -> execute the request
ModifyInstanceAttributeResponse EC2response =
- EC2SoapServiceImpl.toModifyInstanceAttributeResponse(ServiceProvider.getInstance().getEC2Engine().modifyInstanceAttribute(ec2Request));
+ EC2SoapServiceImpl.toModifyInstanceAttributeResponse(ServiceProvider.getInstance().getEC2Engine().modifyInstanceAttribute(ec2Request));
serializeResponse(response, EC2response);
}
@@ -1770,7 +1770,7 @@ public class EC2RestServlet extends HttpServlet {
// -> execute the request
EC2Engine engine = ServiceProvider.getInstance().getEC2Engine();
DescribeVolumesResponse EC2response =
- EC2SoapServiceImpl.toDescribeVolumesResponse(ServiceProvider.getInstance().getEC2Engine().describeVolumes(EC2request), engine);
+ EC2SoapServiceImpl.toDescribeVolumesResponse(ServiceProvider.getInstance().getEC2Engine().describeVolumes(EC2request), engine);
serializeResponse(response, EC2response);
}
@@ -1992,7 +1992,7 @@ public class EC2RestServlet extends HttpServlet {
* parameter to see if the signature has expired and if so the request fails.
*/
private boolean authenticateRequest(HttpServletRequest request, HttpServletResponse response) throws SignatureException, IOException, InstantiationException,
- IllegalAccessException, ClassNotFoundException, SQLException, ParseException {
+ IllegalAccessException, ClassNotFoundException, SQLException, ParseException {
String cloudSecretKey = null;
String cloudAccessKey = null;
String signature = null;
diff --git a/awsapi/src/com/cloud/bridge/service/controller/s3/ServiceProvider.java b/awsapi/src/com/cloud/bridge/service/controller/s3/ServiceProvider.java
index e00408e1edf..4b8c7581535 100644
--- a/awsapi/src/com/cloud/bridge/service/controller/s3/ServiceProvider.java
+++ b/awsapi/src/com/cloud/bridge/service/controller/s3/ServiceProvider.java
@@ -121,7 +121,7 @@ public class ServiceProvider extends ManagerBase {
long mhostId = 0;
if (mhost != null)
mhostId = mhost.getId() != null ? mhost.getId().longValue() : 0L;
- return mhostId;
+ return mhostId;
}
/**
diff --git a/awsapi/src/com/cloud/bridge/service/core/ec2/EC2Engine.java b/awsapi/src/com/cloud/bridge/service/core/ec2/EC2Engine.java
index ccac6749479..ef7539f7350 100644
--- a/awsapi/src/com/cloud/bridge/service/core/ec2/EC2Engine.java
+++ b/awsapi/src/com/cloud/bridge/service/core/ec2/EC2Engine.java
@@ -66,6 +66,7 @@ import com.cloud.stack.models.CloudStackPasswordData;
import com.cloud.stack.models.CloudStackResourceLimit;
import com.cloud.stack.models.CloudStackResourceTag;
import com.cloud.stack.models.CloudStackSecurityGroup;
+import com.cloud.stack.models.CloudStackServiceOffering;
import com.cloud.stack.models.CloudStackSnapshot;
import com.cloud.stack.models.CloudStackTemplate;
import com.cloud.stack.models.CloudStackTemplatePermission;
@@ -126,7 +127,7 @@ public class EC2Engine extends ManagerBase {
FileInputStream ec2PropFile = null;
try {
EC2Prop.load(new FileInputStream(propertiesFile));
- ec2PropFile = new FileInputStream( propertiesFile );
+ ec2PropFile = new FileInputStream(propertiesFile);
EC2Prop.load(ec2PropFile);
} catch (FileNotFoundException e) {
@@ -371,12 +372,12 @@ public class EC2Engine extends ManagerBase {
CloudStackSecurityGroup resp = null;
if (ipPerm.getProtocol().equalsIgnoreCase("icmp")) {
resp =
- getApi().authorizeSecurityGroupIngress(null, constructList(ipPerm.getIpRangeSet()), null, null, ipPerm.getIcmpCode(), ipPerm.getIcmpType(),
- ipPerm.getProtocol(), null, request.getName(), null, secGroupList);
+ getApi().authorizeSecurityGroupIngress(null, constructList(ipPerm.getIpRangeSet()), null, null, ipPerm.getIcmpCode(), ipPerm.getIcmpType(),
+ ipPerm.getProtocol(), null, request.getName(), null, secGroupList);
} else {
resp =
- getApi().authorizeSecurityGroupIngress(null, constructList(ipPerm.getIpRangeSet()), null, ipPerm.getToPort().longValue(), null, null,
- ipPerm.getProtocol(), null, request.getName(), ipPerm.getFromPort().longValue(), secGroupList);
+ getApi().authorizeSecurityGroupIngress(null, constructList(ipPerm.getIpRangeSet()), null, ipPerm.getToPort().longValue(), null, null,
+ ipPerm.getProtocol(), null, request.getName(), ipPerm.getFromPort().longValue(), secGroupList);
}
if (resp != null) {
List ingressRules = resp.getIngressRules();
@@ -815,7 +816,7 @@ public class EC2Engine extends ManagerBase {
CloudStackIpAddress cloudIp = cloudIps.get(0);
List vmList =
- getApi().listVirtualMachines(null, null, true, null, null, null, null, request.getInstanceId(), null, null, null, null, null, null, null, null, null);
+ getApi().listVirtualMachines(null, null, true, null, null, null, null, request.getInstanceId(), null, null, null, null, null, null, null, null, null);
if (vmList == null || vmList.size() == 0) {
throw new Exception("Instance not found");
}
@@ -972,8 +973,8 @@ public class EC2Engine extends ManagerBase {
String osTypeId = imageSet[0].getOsTypeId();
CloudStackTemplate resp =
- getApi().createTemplate((request.getDescription() == null ? "" : request.getDescription()), request.getName(), osTypeId, null, null, null, null, null,
- null, volumeId);
+ getApi().createTemplate((request.getDescription() == null ? "" : request.getDescription()), request.getName(), osTypeId, null, null, null, null, null,
+ null, volumeId);
if (resp == null || resp.getId() == null) {
throw new Exception("Image couldn't be created");
}
@@ -1003,9 +1004,9 @@ public class EC2Engine extends ManagerBase {
EC2CreateImageResponse image = new EC2CreateImageResponse();
try {
List templates =
- getApi().registerTemplate((request.getDescription() == null ? request.getName() : request.getDescription()), request.getFormat(),
- request.getHypervisor(), request.getName(), toOSTypeId(request.getOsTypeName()), request.getLocation(), toZoneId(request.getZoneName(), null), null,
- null, null, null, null, null, null, null, null);
+ getApi().registerTemplate((request.getDescription() == null ? request.getName() : request.getDescription()), request.getFormat(),
+ request.getHypervisor(), request.getName(), toOSTypeId(request.getOsTypeName()), request.getLocation(), toZoneId(request.getZoneName(), null), null,
+ null, null, null, null, null, null, null, null);
if (templates != null) {
// technically we will only ever register a single template...
for (CloudStackTemplate template : templates) {
@@ -1226,7 +1227,7 @@ public class EC2Engine extends ManagerBase {
// -> no volume name is given in the Amazon request but is required in the cloud API
CloudStackVolume vol =
- getApi().createVolume(UUID.randomUUID().toString(), null, diskOfferingId, null, size, snapshotId, toZoneId(request.getZoneName(), null));
+ getApi().createVolume(UUID.randomUUID().toString(), null, diskOfferingId, null, size, snapshotId, toZoneId(request.getZoneName(), null));
if (vol != null) {
resp.setAttached(vol.getAttached());
resp.setCreated(vol.getCreated());
@@ -1414,7 +1415,7 @@ public class EC2Engine extends ManagerBase {
if (request.getInstanceType() != null) {
instanceType = request.getInstanceType();
}
- CloudStackServiceOfferingVO svcOffering = getCSServiceOfferingId(instanceType);
+ CloudStackServiceOffering svcOffering = getCSServiceOfferingId(instanceType);
if (svcOffering == null) {
logger.info("No ServiceOffering found to be defined by name, please contact the administrator " + instanceType);
throw new Exception("instanceType not found");
@@ -1449,8 +1450,8 @@ public class EC2Engine extends ManagerBase {
for (int i = 0; i < createInstances; i++) {
try {
CloudStackUserVm resp =
- getApi().deployVirtualMachine(svcOffering.getId(), request.getTemplateId(), zoneId, null, null, null, null, null, null, null,
- request.getKeyName(), null, null, groupIds, groupNames, request.getSize().longValue(), request.getUserData());
+ getApi().deployVirtualMachine(svcOffering.getId(), request.getTemplateId(), zoneId, null, null, null, null, null, null, null,
+ request.getKeyName(), null, null, groupIds, groupNames, request.getSize().longValue(), request.getUserData());
EC2Instance vm = new EC2Instance();
vm.setId(resp.getId().toString());
vm.setName(resp.getName());
@@ -1609,7 +1610,7 @@ public class EC2Engine extends ManagerBase {
if (request.getInstanceType() != null) {
String instanceType = request.getInstanceType();
- CloudStackServiceOfferingVO svcOffering = getCSServiceOfferingId(instanceType);
+ CloudStackServiceOffering svcOffering = getCSServiceOfferingId(instanceType);
if (svcOffering == null)
throw new Exception("instanceType not found");
CloudStackUserVm userVm = getApi().changeServiceForVirtualMachine(instanceId, svcOffering.getId());
@@ -1673,7 +1674,7 @@ public class EC2Engine extends ManagerBase {
* @param ifs - filter out unwanted instances
*/
private EC2DescribeInstancesResponse listVirtualMachines(String[] virtualMachineIds, EC2InstanceFilterSet ifs, List resourceTags)
- throws Exception {
+ throws Exception {
EC2DescribeInstancesResponse instances = new EC2DescribeInstancesResponse();
if (null == virtualMachineIds || 0 == virtualMachineIds.length) {
@@ -1697,7 +1698,7 @@ public class EC2Engine extends ManagerBase {
* @param instanceId - if interested in volumes for a specific instance, null if instance is not important
*/
private EC2DescribeVolumesResponse listVolumes(String volumeId, String instanceId, EC2DescribeVolumesResponse volumes, List resourceTagSet)
- throws Exception {
+ throws Exception {
List vols = getApi().listVolumes(null, null, null, volumeId, null, null, null, null, null, instanceId, null, resourceTagSet);
if (vols != null && vols.size() > 0) {
@@ -1783,11 +1784,12 @@ public class EC2Engine extends ManagerBase {
*
*/
- private CloudStackServiceOfferingVO getCSServiceOfferingId(String instanceType) throws Exception {
+ private CloudStackServiceOffering getCSServiceOfferingId(String instanceType) throws Exception {
try {
if (instanceType == null)
instanceType = "m1.small"; // default value
- return scvoDao.getSvcOfferingByName(instanceType);
+ List serviceOfferings = getApi().listServiceOfferings(null, null, false, null, instanceType, null, null);
+ return serviceOfferings.get(0);
} catch (Exception e) {
logger.error("Error while retrieving ServiceOffering information by name - ", e);
throw new Exception("No ServiceOffering found to be defined by name");
@@ -1888,11 +1890,11 @@ public class EC2Engine extends ManagerBase {
* EC2Instance objects loaded.
*/
private EC2DescribeInstancesResponse lookupInstances(String instanceId, EC2DescribeInstancesResponse instances, List resourceTagSet)
- throws Exception {
+ throws Exception {
String instId = instanceId != null ? instanceId : null;
List vms =
- getApi().listVirtualMachines(null, null, true, null, null, null, null, instId, null, null, null, null, null, null, null, null, resourceTagSet);
+ getApi().listVirtualMachines(null, null, true, null, null, null, null, instId, null, null, null, null, null, null, null, null, resourceTagSet);
if (vms != null && vms.size() > 0) {
for (CloudStackUserVm cloudVm : vms) {
@@ -2308,7 +2310,7 @@ public class EC2Engine extends ManagerBase {
*/
private CloudStackNetwork createDefaultGuestNetwork(String zoneId, CloudStackNetworkOffering offering, CloudStackAccount owner) throws Exception {
return getApi().createNetwork(owner.getName() + "-network", owner.getName() + "-network", offering.getId(), zoneId, owner.getName(), owner.getDomainId(), true,
- null, null, null, null, null, null, null, null);
+ null, null, null, null, null, null, null, null);
}
/**
@@ -2695,8 +2697,8 @@ public class EC2Engine extends ManagerBase {
if (errorMessage.contains("Object vm_instance(uuid:") && errorMessage.contains(") does not exist")) {
throw new EC2ServiceException(ClientError.InvalidInstanceID_NotFound, "Specified Instance ID does not exist");
} else if (errorMessage.contains("Unable to find security group by name") || errorMessage.contains("Unable to find security group") ||
- (errorMessage.contains("Object security_group(uuid:") && errorMessage.contains(") does not exist")) ||
- errorMessage.contains("Unable to find group by name ")) {
+ (errorMessage.contains("Object security_group(uuid:") && errorMessage.contains(") does not exist")) ||
+ errorMessage.contains("Unable to find group by name ")) {
throw new EC2ServiceException(ClientError.InvalidGroup_NotFound, "Specified Security Group does not exist");
} else if (errorMessage.contains("Invalid port numbers")) {
throw new EC2ServiceException(ClientError.InvalidPermission_Malformed, "Specified Port value is invalid");
@@ -2715,7 +2717,7 @@ public class EC2Engine extends ManagerBase {
} else if (errorMessage.contains("Object snapshots(uuid:") && errorMessage.contains(") does not exist")) {
throw new EC2ServiceException(ClientError.InvalidSnapshot_NotFound, "Specified Snapshot ID doesn't exist");
} else if ((errorMessage.contains("A key pair with name '") && errorMessage.contains("' does not exist")) ||
- (errorMessage.contains("A key pair with name '") && errorMessage.contains("' was not found"))) {
+ (errorMessage.contains("A key pair with name '") && errorMessage.contains("' was not found"))) {
throw new EC2ServiceException(ClientError.InvalidKeyPair_NotFound, "Specified Key pair name is invalid");
} else if (errorMessage.contains("A key pair with name '") && errorMessage.contains("' already exists")) {
throw new EC2ServiceException(ClientError.InvalidKeyPair_Duplicate, "Specified Key pair already exists");
@@ -2742,7 +2744,7 @@ public class EC2Engine extends ManagerBase {
} else if (errorMessage.contains("Unable to find tags by parameters specified")) {
throw new EC2ServiceException(ClientError.InvalidParameterValue, "Specified resourceTag for the specified resourceId doesn't exist");
} else if (errorMessage.contains("Failed to enable static nat for the ip address with specified ipId "
- + "as vm with specified vmId is already associated with specified currentIp")) {
+ + "as vm with specified vmId is already associated with specified currentIp")) {
throw new EC2ServiceException(ClientError.InvalidParameterValue, "Specified publicIp is already associated to the specified VM");
} else if (errorMessage.contains("Specified IP address id is not associated with any vm Id")) {
throw new EC2ServiceException(ClientError.InvalidParameterValue, "Specified publicIp is not associated to any VM");
@@ -2790,7 +2792,7 @@ public class EC2Engine extends ManagerBase {
throw new EC2ServiceException(ClientError.InvalidAMIID_NotFound, "Specified ImageId is unavailable");
} else if (errorMessage.contains("cannot stop VM") && errorMessage.contains("when it is in state Starting")) {
throw new EC2ServiceException(ClientError.IncorrectInstanceState,
- "Unable to stop. One or more of the specified instances is in an incorrect state 'pending'");
+ "Unable to stop. One or more of the specified instances is in an incorrect state 'pending'");
} else if (errorMessage.contains("Failed to authorize security group ingress rule(s)")) {
throw new EC2ServiceException(ClientError.InvalidParameterValue, "Specified Ip-permission is invalid" + " or the Ip-permission already exists");
} else if (errorMessage.contains("Failed to reboot vm instance")) {
@@ -2805,7 +2807,7 @@ public class EC2Engine extends ManagerBase {
throw new EC2ServiceException(ClientError.VolumeLimitExceeded, "You have reached the limit on the number of volumes that can be created");
} else if (errorMessage.contains("Maximum number of resources of type 'public_ip' for account") && errorMessage.contains("has been exceeded")) {
throw new EC2ServiceException(ClientError.AddressLimitExceeded,
- "You have reached the limit on the number of elastic ip addresses your account can have");
+ "You have reached the limit on the number of elastic ip addresses your account can have");
} else if (errorMessage.contains("Unable to apply save userdata entry on router")) {
throw new EC2ServiceException(ClientError.InvalidParameterValue, "The value supplied for parameter UserData is invalid");
} else {
@@ -2853,7 +2855,7 @@ public class EC2Engine extends ManagerBase {
throw new EC2ServiceException(ServerError.InternalError, "Unable to start the instance that was stopped during image creation");
} else if (errorMessage.contains("One or more of instanceIds specified is in stopped state")) {
throw new EC2ServiceException(ClientError.IncorrectInstanceState,
- "Unable to reboot. One or more of the specified instances is in an incorrect state 'stopped'");
+ "Unable to reboot. One or more of the specified instances is in an incorrect state 'stopped'");
} else if (errorMessage.contains("Specified ipAddress doesn't exist")) {
throw new EC2ServiceException(ClientError.InvalidParameterValue, "Specified publicIp doesn't exist");
} else if (errorMessage.contains("Min Count is greater than the number of instances left to allocate")) {
@@ -2872,7 +2874,7 @@ public class EC2Engine extends ManagerBase {
throw new EC2ServiceException(ClientError.InvalidInstanceID_NotFound, "One or more of the specified instanceId not found");
} else if (errorMessage.contains("Cannot modify, instance should be in stopped state")) {
throw new EC2ServiceException(ClientError.IncorrectInstanceState,
- "Unable to modify instance attribute. Specified instance is not in the correct state 'stopped'");
+ "Unable to modify instance attribute. Specified instance is not in the correct state 'stopped'");
} else {
throw new EC2ServiceException(ServerError.InternalError, "An unexpected error occured");
}
diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties
index df09cf2de62..54721cde655 100644
--- a/client/WEB-INF/classes/resources/messages.properties
+++ b/client/WEB-INF/classes/resources/messages.properties
@@ -18,9 +18,24 @@ message.select.compute.offering=Please select a compute offering to associate wi
message.select.disk.offering=(Optional) Select an additional disk offering to attach to this instance.
label.home=Home
label.use.default.language=Use default language
+label.port=Port
+label.remove.ldap=Remove LDAP
+message.remove.ldap=Are you sure you want to delete the LDAP configuration?
+label.configure.ldap=Configure LDAP
+message.configure.ldap=Please confirm you would like to configure LDAP.
+label.ldap.configuration=LDAP Configuration
+label.ldap.port=LDAP port
+label.create.nfs.secondary.staging.store=Create NFS secondary staging store
+label.volatile=Volatile
+label.planner.mode=Planner mode
+label.deployment.planner=Deployment planner
+label.quiesce.vm=Quiesce VM
+label.smb.username=SMB Username
+label.smb.password=SMB Password
+label.smb.domain=SMB Domain
label.hypervisors=Hypervisors
label.home=Home
-label.sockets=Sockets
+label.sockets=CPU Sockets
label.root.disk.size=Root disk size
label.s3.nfs.server=S3 NFS Server
label.s3.nfs.path=S3 NFS Path
@@ -695,6 +710,7 @@ label.lang.arabic=Arabic
label.lang.brportugese=Brazilian Portugese
label.lang.catalan=Catalan
label.lang.chinese=Chinese (Simplified)
+label.lang.dutch=Dutch (Netherlands)
label.lang.english=English
label.lang.french=French
label.lang.german=German
@@ -702,6 +718,7 @@ label.lang.italian=Italian
label.lang.japanese=Japanese
label.lang.korean=Korean
label.lang.norwegian=Norwegian
+label.lang.polish=Polish
label.lang.russian=Russian
label.lang.spanish=Spanish
label.last.disconnected=Last Disconnected
@@ -1256,6 +1273,11 @@ label.zoneWizard.trafficType.management=Management\: Traffic between CloudStack\
label.zoneWizard.trafficType.public=Public\: Traffic between the internet and virtual machines in the cloud.
label.zoneWizard.trafficType.storage=Storage\: Traffic between primary and secondary storage servers, such as VM templates and snapshots
label.ldap.group.name=LDAP Group
+label.openDaylight=OpenDaylight
+label.opendaylight.controllers=OpenDaylight Controllers
+label.opendaylight.controllerdetail=OpenDaylight Controller Details
+label.add.OpenDaylight.device=Add OpenDaylight Controller
+label.delete.OpenDaylight.device=Delete OpenDaylight Controller
managed.state=Managed State
message.acquire.new.ip.vpc=Please confirm that you would like to acquire a new IP for this VPC.
message.acquire.new.ip=Please confirm that you would like to acquire a new IP for this network.
diff --git a/client/WEB-INF/classes/resources/messages_es.properties b/client/WEB-INF/classes/resources/messages_es.properties
index 3620047a275..31a9c93646c 100644
--- a/client/WEB-INF/classes/resources/messages_es.properties
+++ b/client/WEB-INF/classes/resources/messages_es.properties
@@ -22,6 +22,7 @@ error.session.expired=Su sesi\u00c3\u00b3n ha caducado.
error.unresolved.internet.name=El nombre de Internet no se puede resolver.
extractable=extra\u00c3\u00adble
force.delete.domain.warning=Advertencia\: Si elige esta opci\u00c3\u00b3n, la supresi\u00c3\u00b3n de todos los dominios secundarios y todas las cuentas asociadas y sus recursos.
+<<<<<<< HEAD
force.delete=Fuerza Borrar
force.remove=Fuerza Retire
force.remove.host.warning=Advertencia\: Si elige esta opci\u00c3\u00b3n, CloudStack para detener la fuerza todas las m\u00c3\u00a1quinas virtuales en ejecuci\u00c3\u00b3n antes de retirar este host del cl\u00c3\u00baster.
@@ -31,25 +32,38 @@ ICMP.code=ICMP C\u00c3\u00b3digo
ICMP.type=Tipo ICMP
image.directory=Directorio de la imagen
inline=en l\u00c3\u00adnea
+=======
+force.delete=Forzar el borrado
+force.remove=Forzar el retiro
+force.remove.host.warning=Advertencia\: Si elige esta opci\u00f3n, CloudStack para detener la fuerza todas las m\u00e1quinas virtuales en ejecuci\u00f3n antes de retirar este host del cl\u00faster.
+force.stop=Forzar la detenci\u00f3n
+force.stop.instance.warning=Advertencia\: Forzar la dertenci\u00f3n de esta instancia deber\u00ed\u00ada ser su \u00faltima opci\u00f3n. Puede conducir a la p\u00e9rdida de datos, as\u00ed\u00ad como un comportamiento incoherente del Estado de la m\u00e1quina virtual.
+ICMP.code=C\u00f3digo ICMP
+ICMP.type=Tipo ICMP
+image.directory=Directorio de im\u00e1genes
+inline=alineado
+label.about=Acerca de
+label.about.app=Acerca de CloudStack
+>>>>>>> 4e449ff... Add Dutch (Netherlands, Polish languages in Web UI Change Japanese code (ja -> ja_JP) Update transifex sync config
label.account=Cuenta
label.account.id=ID de la cuenta
-label.account.name=Nombre de la cuenta
+label.account.name=Nombre de cuenta
label.accounts=Cuentas
label.account.specific=espec\u00c3\u00adficas de la cuenta
-label.acquire.new.ip=adquirir nuevas IP
+label.acquire.new.ip=Adquirir nueva IP
label.action.attach.disk=Conecte el disco
-label.action.attach.disk.processing=disco Fijaci\u00c3\u00b3n ....
-label.action.attach.iso=Adjuntar ISO
-label.action.attach.iso.processing=Colocaci\u00c3\u00b3n de la norma ISO ....
-label.action.cancel.maintenance.mode=Cancelar modo de mantenimiento
-label.action.cancel.maintenance.mode.processing=Cancelaci\u00c3\u00b3n del modo de mantenimiento ....
-label.action.change.password=Cambiar contrase\u00c3\u00b1a
-label.action.change.service=Cambio de Servicio
-label.action.change.service.processing=Cambio de servicio ....
-label.action.copy.ISO=Copia de la ISO
-label.action.copy.ISO.processing=hacer frente ISO ....
-label.action.copy.template=Copia de plantilla
-label.action.copy.template.processing=hacer frente plantilla ....
+label.action.attach.disk.processing=Conectando el disco....
+label.action.attach.iso=Conectar ISO
+label.action.attach.iso.processing=Conectando el ISO....
+label.action.cancel.maintenance.mode=Cancelar el modo de mantenimiento
+label.action.cancel.maintenance.mode.processing=Cancelando el modo de mantenimiento....
+label.action.change.password=Cambiar la contrase\u00f1a
+label.action.change.service=Cambiar el Servicio
+label.action.change.service.processing=Cambiando el servicio....
+label.action.copy.ISO=Copiar ISO
+label.action.copy.ISO.processing=Copiando ISO ....
+label.action.copy.template=Copiear la plantilla
+label.action.copy.template.processing=Copiando la plantilla ....
label.action.create.template=Crear plantilla
label.action.create.template.from.vm=Crear plantilla de VM
label.action.create.template.from.volume=Crear plantilla de volumen
@@ -250,6 +264,9 @@ label.alert=Alerta
label.algorithm=Algoritmo
label.allocated=Asignados
label.api.key=clave de API
+label.app.name=CloudStack
+label.archive.alerts=Archivar alertas
+label.archive.events=Archivar sucesos
label.assign=Asignar
label.assign.to.load.balancer=instancia de Asignaci\u00c3\u00b3n de equilibrador de carga
label.associated.network.id=ID de red asociados
@@ -263,9 +280,13 @@ label.basic.mode=Modo b\u00c3\u00a1sico
label.bootable=arranque
label.broadcast.domain.type=Tipo de dominio de difusi\u00c3\u00b3n
label.by.account=Por Cuenta
+label.by.alert.type=Por tipo de alerta
label.by.availability=Por Disponibilidad
+label.by.date.end=Por fecha (finalizaci\u00f3n)
+label.by.date.start=Por fecha (inicio)
label.by.domain=Por dominio
label.by.end.date=Por Fecha de finalizaci\u00c3\u00b3n
+label.by.event.type=Por tipo de suceso
label.by.level=por Nivel
label.by.pod=Por Pod
label.by.role=por funci\u00c3\u00b3n
@@ -300,6 +321,7 @@ label.cpu=CPU
label.cpu.utilized=CPU Utilizado
label.created=creaci\u00c3\u00b3n
label.cross.zones=Cruz Zonas
+label.custom.disk.iops=IOPS personalizadas
label.custom.disk.size=Personal Disk Size
label.daily=diario
label.data.disk.offering=Datos Disco Offering
@@ -307,7 +329,9 @@ label.date=Fecha
label.day.of.month=D\u00c3\u00ada del mes
label.day.of.week=d\u00c3\u00ada de la semana
label.default.use=Usar por defecto
+label.delete.alerts=Eliminar alertas
label.delete=Eliminar
+label.delete.events=Eliminar sucesos
label.deleting.failed=No se pudo eliminar
label.deleting.processing=Eliminar ....
label.description=Descripci\u00c3\u00b3n
@@ -319,6 +343,9 @@ label.DHCP.server.type=Tipo de servidor DHCP
label.disabled=personas de movilidad reducida
label.disabling.vpn.access=Desactivaci\u00c3\u00b3n de VPN de acceso
label.disk.allocated=disco asignado
+label.disk.iops.max=IOPS m\u00e1ximas
+label.disk.iops.min=IOPS m\u00ednimas
+label.disk.iops.total=Total de IOPS
label.disk.offering=disco Ofrenda
label.disk.size.gb=tama\u00c3\u00b1o de disco (en GB)
label.disk.size=tama\u00c3\u00b1o de disco
@@ -335,6 +362,7 @@ label.domain.suffix=DNS sufijo de dominio (es decir, xyz.com)
label.double.quotes.are.not.allowed=comillas dobles no se permite
label.download.progress=Progreso de la descarga
label.edit=Editar
+label.egress.default.policy=Directiva de salida predeterminada
label.email=correo electr\u00c3\u00b3nico
label.enabling.vpn.access=Habilitaci\u00c3\u00b3n de Acceso VPN
label.enabling.vpn=Habilitaci\u00c3\u00b3n VPN
@@ -374,6 +402,8 @@ label.host.name=nombre de host
label.hosts=Ej\u00c3\u00a9rcitos
label.hourly=por hora
label.hypervisor=Hypervisor
+label.hypervisors=Hipervisores
+label.hypervisor.snapshot.reserve=Reserva de instant\u00e1neas de hipervisores
label.hypervisor.type=Tipo Hypervisor
label.id=ID
label.info=Informaci\u00c3\u00b3n
@@ -576,7 +606,10 @@ label.resource=Recursos
label.resources=Recursos
label.role=Papel
label.root.disk.offering=Root Disco Offering
+label.routing=Enrutamiento
label.running.vms=Ejecuci\u00c3\u00b3n de m\u00c3\u00a1quinas virtuales
+label.s3.nfs.path=Ruta NFS S3
+label.s3.nfs.server=Servidor NFS S3
label.s3.secret_key=clave secreta
label.saturday=s\u00c3\u00a1bado
label.save=Guardar
@@ -594,6 +627,7 @@ label.select.a.zone=Seleccione una zona.
label.sent=Enviados
label.server=Servidor
label.service.offering=Oferta de Servicio
+label.service.state=Estado del servicio
label.session.expired=Session Caducado
label.shared=compartidas
label.SharedMountPoint=SharedMountPoint
@@ -605,6 +639,7 @@ label.snapshot.name=Nombre de instant\u00c3\u00a1neas
label.snapshot.schedule=Lista de instant\u00c3\u00a1neas
label.snapshot.s=Instant\u00c3\u00a1nea (s)
label.snapshots=instant\u00c3\u00a1neas
+label.sockets=Sockets
label.source.nat=NAT Fuente
label.specify.vlan=Especifique VLAN
label.specify.vxlan=Especifique VXLAN
@@ -636,6 +671,7 @@ label.submit=Enviar
label.submitted.by=[Enviado por\: ]
label.succeeded=Sucesor
label.sunday=domingo
+label.switch.type=Cambiar el tipo
label.system.capacity=Capacidad de todo el sistema
label.system.vm=Sistema de VM
label.system.vms=Sistema de m\u00c3\u00a1quinas virtuales
@@ -680,6 +716,7 @@ label.vcenter.host=vCenter anfitri\u00c3\u00b3n
label.vcenter.password=vCenter Contrase\u00c3\u00b1a
label.vcenter.username=vCenter Nombre de usuario
label.version=Versi\u00c3\u00b3n
+label.view.secondary.ips=Ver las IP secundarias
label.virtual.appliances=Virtual Appliances
label.virtual.appliance=Virtual Appliance
label.virtual.machines=Maquinas virtuales
@@ -854,6 +891,7 @@ message.step.4.continue=Por favor seleccione al menos una red social para contin
message.step.4.desc=Por favor, seleccione la red primaria que la instancia virtual estar\u00c3\u00a1 conectado.
message.update.os.preference=Por favor seleccione un sistema operativo de preferencia para este equipo. Todas las instancias virtuales con preferencias similares ser\u00c3\u00a1n los primeros asignados a este equipo antes de elegir otro.
message.update.ssl=Por favor, env\u00c3\u00ade una nueva X.509 compatible con certificado SSL que se actualizar\u00c3\u00a1 a cada instancia virtual de la consola del servidor proxy\:
+message.validate.invalid.characters=Se han hallado caracteres no v\u00e1lidos. Por favor, corr\u00edjalos.
message.virtual.network.desc=Una red dedicada virtualizados para su cuenta. El dominio de difusi\u00c3\u00b3n est\u00c3\u00a1 contenida dentro de una VLAN y todos los acceso a la red p\u00c3\u00bablica se encamina a cabo por un router virtual.
message.vm.create.template.confirm=Crear plantilla de la m\u00c3\u00a1quina virtual se reiniciar\u00c3\u00a1 autom\u00c3\u00a1ticamente.
message.volume.create.template.confirm=Por favor, confirme que desea crear una plantilla para este volumen de disco. Creaci\u00c3\u00b3n de la plantilla puede oscilar entre varios minutos m\u00c3\u00a1s, dependiendo del tama\u00c3\u00b1o del volumen.
diff --git a/client/WEB-INF/classes/resources/messages_fr_FR.properties b/client/WEB-INF/classes/resources/messages_fr_FR.properties
index db624221ddf..42335bc7b45 100644
--- a/client/WEB-INF/classes/resources/messages_fr_FR.properties
+++ b/client/WEB-INF/classes/resources/messages_fr_FR.properties
@@ -641,6 +641,7 @@ label.lang.arabic=Arabe
label.lang.brportugese=Portuguais Br\u00e9sil
label.lang.catalan=Catalan
label.lang.chinese=Chinois (simplifi\u00e9)
+label.lang.dutch=N\u00e9erlandais
label.lang.english=Anglais
label.lang.french=Fran\u00e7ais
label.lang.german=Allemand
@@ -648,6 +649,7 @@ label.lang.italian=Italien
label.lang.japanese=Japonais
label.lang.korean=Cor\u00e9en
label.lang.norwegian=Norv\u00e9gien
+label.lang.polish=Polonais
label.lang.russian=Russe
label.lang.spanish=Espagnol
label.last.disconnected=Derni\u00e8re D\u00e9connexion
diff --git a/client/WEB-INF/classes/resources/messages_ja.properties b/client/WEB-INF/classes/resources/messages_ja_JP.properties
similarity index 100%
rename from client/WEB-INF/classes/resources/messages_ja.properties
rename to client/WEB-INF/classes/resources/messages_ja_JP.properties
diff --git a/client/WEB-INF/classes/resources/messages_nl_NL.properties b/client/WEB-INF/classes/resources/messages_nl_NL.properties
new file mode 100644
index 00000000000..b1bfadb42af
--- /dev/null
+++ b/client/WEB-INF/classes/resources/messages_nl_NL.properties
@@ -0,0 +1,1216 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+changed.item.properties=Item eigenschappen gewijzigd
+confirm.enable.s3=Vul de volgende informatie in om ondersteuning voor S3-aangestuurde Secundaire Opslag te activeren
+confirm.enable.swift=Vul de volgende informatie in om ondersteuning voor Swift te activeren
+error.could.not.enable.zone=Kon zone niet activeren
+error.installWizard.message=Er ging iets mis; je kunt teruggaan om de eventuele fouten te herstellen
+error.invalid.username.password=Ongeldige gebruikersnaam of wachtwoord
+error.login=Uw gebruikersnaam/wachtwoord komt niet overeen met onze gegevens
+error.menu.select=Kan actie niet uitvoeren omdat geen items zijn geselecteerd
+error.mgmt.server.inaccessible=The Management Server is niet toegankelijk. Probeer het later opnieuw.
+error.password.not.match=De wachtwoord velden komen niet overeen
+error.please.specify.physical.network.tags=Netwerk aanbiedingen zijn niet beschikbaar totdat u labels voor het fysieke netwerk specificeert.
+error.session.expired=Uw sessie is verlopen
+error.something.went.wrong.please.correct.the.following=Er is iets mis gegaan; Corrigeer het volgende
+error.unable.to.reach.management.server=Niet in staat om de Management Server te bereiken
+error.unresolved.internet.name=Uw internet naam kan niet worden omgezet.
+extractable=Uitpakbaar
+force.delete.domain.warning=Waarschuwing\: Wanneer u deze optie selecteert zullen alle onderliggende domeinen, hun gekoppelde accounts en hun verbruik worden verwijderd.
+force.delete=Geforceerd verwijderen
+force.remove=Geforceerd loskoppelen
+force.remove.host.warning=Waarschuwing\: Wanneer u deze optie selecteert zal CloudStack alle draaiende virtuele machines geforceerd stoppen voordat de host van het cluster wordt verwijderd.
+force.stop=Geforceerd stoppen
+force.stop.instance.warning=Waarschuwing\: Een instantie geforceerd stoppen zou uw laatste optie moeten zijn. Het kan leiden tot dataverlies en inconsistent gedrag van de staat van de virtuele machine.
+ICMP.code=ICMP Code
+ICMP.type=ICMP Type
+image.directory=Afbeelding Directory
+inline=Inline
+instances.actions.reboot.label=Herstart instantie
+label.accept.project.invitation=Accepteer project uitnodiging
+label.account=Account
+label.account.and.security.group=Account, Security group
+label.account.id=Account ID
+label.account.name=Account Naam
+label.accounts=Accounts
+label.account.specific=Account-specifiek
+label.acquire.new.ip=Bemachtig nieuw IP
+label.action.attach.disk.processing=Schijf wordt toegevoegd....
+label.action.attach.disk=Schijf toevoegen
+label.action.attach.iso=ISO toevoegen
+label.action.attach.iso.processing=ISO wordt toegevoegd....
+label.action.cancel.maintenance.mode=Annuleer Onderhoudsmodus
+label.action.cancel.maintenance.mode.processing=Onderhoudsmodus wordt geannuleerd....
+label.action.change.password=Wijzig Wachtwoord
+label.action.change.service.processing=Service wordt gewijzigd....
+label.action.change.service=Wijzig Service
+label.action.copy.ISO=Kopieer ISO
+label.action.copy.ISO.processing=Kopi\u00ebren ISO....
+label.action.copy.template=Kopieer Template
+label.action.copy.template.processing=Bezig met kopi\u00ebren Template....
+label.action.create.template=Cre\u00eber Template
+label.action.create.template.from.vm=Cre\u00eber Template vanaf VM
+label.action.create.template.from.volume=Cre\u00eber Template van Volume
+label.action.create.template.processing=Bezig met aanmaken Template....
+label.action.create.vm=Cre\u00eber VM
+label.action.create.vm.processing=Bezig met aanmaken VM....
+label.action.create.volume=Cre\u00eber Volume
+label.action.create.volume.processing=Bezig met cre\u00ebren volume....
+label.action.delete.account.processing=Bezig met verwijderen account....
+label.action.delete.account=Verwijder account
+label.action.delete.cluster.processing=Bezig met verwijderen van Cluster....
+label.action.delete.cluster=Verwijder Cluster
+label.action.delete.disk.offering.processing=Bezig met verwijderen van Schijf Aanbieding....
+label.action.delete.disk.offering=Verwijder Schijf Aanbieding
+label.action.delete.domain.processing=Bezig met verwijderen van Domein....
+label.action.delete.domain=Verwijder Domein
+label.action.delete.firewall.processing=Bezig met verwijderen van Firewall....
+label.action.delete.firewall=Verwijder firewall regel
+label.action.delete.ingress.rule.processing=Bezig met verwijderen van Inkomende Regel....
+label.action.delete.ingress.rule=Verwijder Inkomende Regel
+label.action.delete.IP.range.processing=Bezig met verwijderen van IP Range....
+label.action.delete.IP.range=Verwijder IP Range
+label.action.delete.ISO.processing=Bezig met verwijderen van ISO....
+label.action.delete.ISO=Verwijder ISO
+label.action.delete.load.balancer.processing=Bezig met verwijderen van Load Balancer....
+label.action.delete.load.balancer=Verwijder load balancer regel
+label.action.delete.network.processing=Bezig met verwijderen van Netwerk....
+label.action.delete.network=Verwijder Netwerk
+label.action.delete.nexusVswitch=Verwijder Nexus 1000v
+label.action.delete.physical.network=Verwijder fysiek netwerk
+label.action.delete.pod.processing=Bezig met verwijderen van Pod....
+label.action.delete.pod=Verwijder Pod
+label.action.delete.primary.storage.processing=Bezig met verwijderen van Primaire Opslag....
+label.action.delete.primary.storage=Verwijder Primaire Opslag
+label.action.delete.secondary.storage.processing=Bezig met verwijderen van Secundaire Opslag....
+label.action.delete.secondary.storage=Verwijder Secundaire Opslag
+label.action.delete.security.group.processing=Bezig met verwijderen van Security Group....
+label.action.delete.security.group=Verwijder Security Group
+label.action.delete.service.offering.processing=Bezig met verwijderen van Service Aanbieding....
+label.action.delete.service.offering=Verwijder Service Aanbieding
+label.action.delete.snapshot.processing=Bezig met verwijderen van Snapshot....
+label.action.delete.snapshot=Verwijder Snapshot
+label.action.delete.system.service.offering=Verwijder Systeem Service Aanbieding
+label.action.delete.template.processing=Bezig met verwijderen van Template....
+label.action.delete.template=Verwijder Template
+label.action.delete.user.processing=Bezig met verwijderen Gebruiker....
+label.action.delete.user=Verwijder Gebruiker
+label.action.delete.volume.processing=Bezig met verwijderen van Volume....
+label.action.delete.volume=Verwijder Volume
+label.action.delete.zone.processing=Bezig met verwijderen van Zone....
+label.action.delete.zone=Verwijder Zone
+label.action.destroy.instance.processing=Bezig met vernietigen van Instantie....
+label.action.destroy.instance=Verwijder Instantie
+label.action.destroy.systemvm.processing=Bezig met vernietigen van Systeem VM....
+label.action.destroy.systemvm=Vernietig Systeem VM
+label.action.detach.disk=Ontkoppel Schijf
+label.action.detach.disk.processing=Bezig met ontkoppelen van Schijf....
+label.action.detach.iso=Ontkoppel ISO
+label.action.detach.iso.processing=Bezig met ontkoppelen van ISO....
+label.action.disable.account=Deactiveer account
+label.action.disable.account.processing=Bezig met deactiveren van account....
+label.action.disable.cluster=Deactiveer Cluster
+label.action.disable.cluster.processing=Bezig met deactiveren van Cluster....
+label.action.disable.nexusVswitch=Deactiveer Nexus 1000v
+label.action.disable.physical.network=Deactiveer fysiek netwerk
+label.action.disable.pod=Deactiveer Pod
+label.action.disable.pod.processing=Bezig met deactiveren van Pod....
+label.action.disable.static.NAT=Deactiveer Static NAT
+label.action.disable.static.NAT.processing=Bezig met deactiveren van Static NAT....
+label.action.disable.user=Deactiveer Gebruiker
+label.action.disable.user.processing=Bezig met deactiveren van Gebruiker....
+label.action.disable.zone=Deactiveer Zone
+label.action.disable.zone.processing=Bezig met deactiveren van Zone....
+label.action.download.ISO=Download ISO
+label.action.download.template=Download Template
+label.action.download.volume=Download Volume
+label.action.download.volume.processing=Bezig met downloaden van Volume....
+label.action.edit.account=Wijzig account
+label.action.edit.disk.offering=Wijzig schijf aanbieding
+label.action.edit.domain=Wijzig Domein
+label.action.edit.global.setting=Wijzig Algemene Instellingen
+label.action.edit.host=Wijzig Host
+label.action.edit.instance=Wijzig Instantie
+label.action.edit.ISO=Wijzig ISO
+label.action.edit.network.offering=Wijzig Netwerk Aanbieding
+label.action.edit.network.processing=Bezig met wijzigen van Netwerk...
+label.action.edit.network=Wijzig Netwerk
+label.action.edit.pod=Wijzig Pod
+label.action.edit.primary.storage=Wijzig Primaire Opslag
+label.action.edit.resource.limits=Wijzig verbruikslimieten
+label.action.edit.service.offering=Wijzig Service Aanbieding
+label.action.edit.template=Wijzig Template
+label.action.edit.user=Wijzig Gebruiker
+label.action.edit.zone=Wijzig Zone
+label.action.enable.account=Activeer account
+label.action.enable.account.processing=Bezig met activeren van account....
+label.action.enable.cluster=Activeer Cluster
+label.action.enable.cluster.processing=Bezig met activeren van Cluster....
+label.action.enable.maintenance.mode=Activeer onderhoudsmodus
+label.action.enable.maintenance.mode.processing=Bezig met activeren van Onderhoudsmodus
+label.action.enable.nexusVswitch=Activeer Nexus 1000v
+label.action.enable.physical.network=Activeer fysiek netwerk
+label.action.enable.pod=Activeer Pod
+label.action.enable.pod.processing=Bezig met activeren van Pod....
+label.action.enable.static.NAT=Activeer Static NAT
+label.action.enable.static.NAT.processing=Bezig met activeren van Static NAT....
+label.action.enable.user=Activeer Gebruiker
+label.action.enable.user.processing=Bezig met activeren van Gebruiker....
+label.action.enable.zone=Activeer Zone
+label.action.enable.zone.processing=Bezig met activeren van Zone....
+label.action.force.reconnect=Forceer opnieuw verbinden
+label.action.force.reconnect.processing=Bezig met opnieuw verbinden....
+label.action.generate.keys=Genereer Sleutels
+label.action.generate.keys.processing=Bezig met generen van Sleutels....
+label.action.list.nexusVswitch=Toon Nexus 1000v
+label.action.lock.account=Account op slot zetten
+label.action.lock.account.processing=Bezig met account op slot zetten....
+label.action.manage.cluster=Beheer Cluster
+label.action.manage.cluster.processing=Bezig met beheren van Cluster....
+label.action.migrate.instance=Migreer Instantie
+label.action.migrate.instance.processing=Bezig met migreren van Instantie....
+label.action.migrate.router=MIgreer Router
+label.action.migrate.router.processing=Bezig met migreren van Router....
+label.action.migrate.systemvm=Migreer Systeem VM
+label.action.migrate.systemvm.processing=Bezig met migreren van Systeem VM....
+label.action.reboot.instance=Herstart Instantie
+label.action.reboot.instance.processing=Bezig met herstarten van Instantie....
+label.action.reboot.router=Herstart Router
+label.action.reboot.router.processing=Bezig met herstarten van Router....
+label.action.reboot.systemvm=Herstart Systeem VM
+label.action.reboot.systemvm.processing=Bezig met herstarten van Systeem VM....
+label.action.recurring.snapshot=Terugkerende Snapshots
+label.action.register.iso=Registreer ISO
+label.action.register.template=Registreer Template
+label.action.release.ip=Ontkoppel IP
+label.action.release.ip.processing=Bezig met ontkoppelen van IP....
+label.action.remove.host.processing=Bezig met verwijderen van Host....
+label.action.remove.host=Verwijder Host
+label.action.reset.password.processing=Bezig met resetten van wachtwoord....
+label.action.reset.password=Reset Wachtwoord
+label.action.resize.volume.processing=Bezig met aanpassen van de grootte van het Volume
+label.action.resize.volume=Wijzig de grootte van het volume
+label.action.resource.limits=Verbruikslimieten
+label.action.restore.instance=Herstel Instantie
+label.action.restore.instance.processing=Bezig met herstellen van Instantie....
+label.actions=Acties
+label.action.start.instance.processing=Bezig met starten van Instantie....
+label.action.start.instance=Start Instantie
+label.action.start.router.processing=Start Router....
+label.action.start.router=Start Router
+label.action.start.systemvm.processing=Bezig met starten van Systeem VM....
+label.action.start.systemvm=Start Systeem VM
+label.action.stop.instance.processing=Bezig met stoppen van Instantie....
+label.action.stop.instance=Stop Instantie
+label.action.stop.router.processing=Bezig met stoppen van Router....
+label.action.stop.router=Stop Router
+label.action.stop.systemvm.processing=Bezig met stoppen van Systeem VM....
+label.action.stop.systemvm=Stop Systeem VM
+label.action.take.snapshot=Neem Snapshot
+label.action.take.snapshot.processing=Bezig met nemen van Snapshot....
+label.action.unmanage.cluster.processing=Bezig met uitschakelen van Clusterbeheer....
+label.action.unmanage.cluster=Schakel Clusterbeheer uit
+label.action.update.OS.preference.processing=Bezig met wijzigen van OS voorkeuren....
+label.action.update.OS.preference=Wijzig OS voorkeuren
+label.action.update.resource.count.processing=Bezig met updaten van verbruikslimieten....
+label.action.update.resource.count=Update Verbruikslimieten
+label.action.vmsnapshot.create=Neem Snapshot van de VM
+label.action.vmsnapshot.delete=Verwijder Snapshot van de VM
+label.action.vmsnapshot.revert=Draai Snapshot van de VM terug
+label.activate.project=Activeer Project
+label.active.sessions=Actieve Sessies
+label.add.accounts.to=Voeg accounts toe aan
+label.add.accounts=Voeg accounts toe
+label.add.account.to.project=Voeg account aan project toe
+label.add.account=Voeg Account toe
+label.add.ACL=Voeg ACL toe
+label.add.BigSwitchVns.device=Voeg BigSwitch Vns Controller toe
+label.add.by.cidr=Voeg toe door middel van CIDR
+label.add.by.group=Voeg toe door middel van Groep
+label.add.by=Voeg toe door middel van
+label.add.cluster=Voeg Cluster toe
+label.add.compute.offering=Voeg Compute aanbieding toe
+label.add.direct.iprange=Voeg Direct IP Range toe
+label.add.disk.offering=Voeg Schijf Aanbieding toe
+label.add.domain=Voeg Domein toe
+label.add.egress.rule=Voeg uitgaande regel toe
+label.add.F5.device=Voeg F5 apparaat toe
+label.add.firewall=Voeg firewall regel toe
+label.add.guest.network=Gast netwerk toevoegen
+label.add.host=Host toevoegen
+label.adding.cluster=Bezig met toevoegen van Cluster
+label.adding.failed=Toevoegen mislukt
+label.adding.pod=Bezig met toevoegen van Pod
+label.adding.processing=Toevoegen....
+label.add.ingress.rule=Voeg inkomende regel toe
+label.adding.succeeded=Toevoegen geslaagd
+label.adding=Toevoegen
+label.adding.user=Bezig met toevoegen van Gebruiker
+label.adding.zone=Bezig met toevoegen van Zone
+label.add.ip.range=Voeg IP range toe
+label.additional.networks=Additioneele Netwerken
+label.add.load.balancer=Voeg Load Balancer toe
+label.add.more=Voeg meer toe
+label.add.netScaler.device=Voeg Netscaler apparaat toe
+label.add.network.ACL=Voeg netwerk ACL toe
+label.add.network.device=Voeg Netwerk Apparaat toe
+label.add.network.offering=Voeg netwerk aanbieding toe
+label.add.network=Voeg Netwerk toe
+label.add.new.F5=Voeg nieuwe F5 toe
+label.add.new.gateway=Voeg nieuwe gateway toe
+label.add.new.NetScaler=Voeg nieuwe Netscaler toe
+label.add.new.SRX=Voeg nieuwe SRX toe
+label.add.new.tier=Voeg nieuwe Tier toe
+label.add.NiciraNvp.device=Voeg NVP Controller toe
+label.add.physical.network=Voeg fysiek netwerk toe
+label.add.pod=Voeg Pod toe
+label.add.port.forwarding.rule=Voeg port forwarding regel toe
+label.add.primary.storage=Voeg Primaire Opslag toe
+label.add.region=Voeg Regio toe
+label.add.resources=Resources toevoegen
+label.add.route=Route toevoegen
+label.add.rule=Regel toevoegen
+label.add.secondary.storage=Secundaire Opslag toevoegen
+label.add.security.group=Security Group toevoegen
+label.add.service.offering=Service Aanbieding toevoegen
+label.add.SRX.device=SRX apparaat toevoegen
+label.add.static.nat.rule=Statische NAT regel toevoegen
+label.add.static.route=Statische route toevoegen
+label.add.system.service.offering=Systeem Service Aanbieding toevoegen
+label.add.template=Template toevoegen
+label.add.to.group=Toevoegen aan groep
+label.add.user=Gebruiker toevoegen
+label.add.vlan=VLAN toevoegen
+label.add.vms.to.lb=Voeg VM(s) toe aan load balancer regel
+label.add.vms=VMs toevoegen
+label.add.VM.to.tier=Voeg VM toe aan tier
+label.add.vm=VM toevoegen
+label.add=Voeg toe
+label.add.volume=Volume toevoegen
+label.add.vpc=VPC toevoegen
+label.add.vpn.customer.gateway=VPN Customer Gateway toevoegen
+label.add.VPN.gateway=VPN Gateway toevoegen
+label.add.vpn.user=VPN gebruiker toevoegen
+label.add.zone=Zone toevoegen
+label.admin.accounts=Beheer Accounts
+label.admin=Beheerder
+label.advanced=Geavanceerd
+label.advanced.mode=Geavanceerde Modus
+label.advanced.search=Geavanceerd zoeken
+label.agent.password=Agent wachtwoord
+label.agent.username=Agent Gebruikersnaam
+label.agree=Accepteren
+label.alert=Alarm
+label.algorithm=Algoritme
+label.allocated=Gebruikt
+label.allocation.state=Verbruik Staat
+label.api.key=API Sleutel
+label.apply=Uitvoeren
+label.assign=Toevoegen
+label.assign.to.load.balancer=Voeg instantie toe aan load balancer
+label.associated.network=Bijbehorend Netwerk
+label.associated.network.id=Bijbehorend Netwerk ID
+label.attached.iso=Gekoppelde ISO
+label.author.email=Auteur e-mail
+label.author.name=Auteur naam
+label.availability=Beschikbaarheid
+label.availability.zone=Beschikbaarheids-zone
+label.available=Beschikbaar
+label.available.public.ips=Beschikbare Publieke IP adressen
+label.back=Terug
+label.bandwidth=Bandbreedte
+label.basic=Basis
+label.basic.mode=Basis Modus
+label.bigswitch.controller.address=BigSwitch Vns Controller Adres
+label.bootable=Bootable
+label.broadcast.domain.range=Broadcast domain range
+label.broadcast.domain.type=Broadcast Domain Type
+label.broadcast.uri=Broadcast URI
+label.by.account=Op Account
+label.by.availability=Op Beschikbaarheid
+label.by.domain=Op Domein
+label.by.end.date=Op Eind Datum
+label.by.level=Op Level
+label.by.pod=Op Pod
+label.by.role=Op Rol
+label.by.start.date=Op Start Datum
+label.by.state=Op Staat
+label.bytes.received=Bytes Ontvangen
+label.bytes.sent=Bytes Verzonden
+label.by.traffic.type=Op Verkeerstype
+label.by.type.id=Op Type ID
+label.by.type=Op Type
+label.by.zone=Op Zone
+label.cancel=Annuleer
+label.capacity=Capaciteit
+label.certificate=Certificaat
+label.change.service.offering=Wijzig service aanbieding
+label.change.value=Wijzig waarde
+label.character=Karakter
+label.checksum=MD5 checksum
+label.cidr.account=CIDRN of Account/Security Group
+label.cidr=CIDR
+label.cidr.list=Bron CIDR
+label.CIDR.list=CIDR lijst
+label.CIDR.of.destination.network=CIDR van bestemmingsnetwerk
+label.clean.up=Opschonen
+label.clear.list=Schoon lijst op
+label.close=Sluiten
+label.cloud.console=Cloud Beheers Console
+label.cloud.managed=Cloud.com Managed
+label.cluster=Cluster
+label.cluster.name=Cluster Naam
+label.clusters=Clusters
+label.cluster.type=Cluster Type
+label.clvm=CLVM
+label.code=Code
+label.community=Community
+label.compute.and.storage=Compute en Opslag
+label.compute=Compute
+label.compute.offering=Compute aanbieding
+label.configuration=Configuratie
+label.configure=Configureer
+label.configure.network.ACLs=Configureer Netwerk ACLs
+label.configure.vpc=Configureer VPC
+label.confirmation=Bevestiging
+label.confirm.password=Bevestig wachtwoord
+label.congratulations=Gefeliciteerd\!
+label.conserve.mode=Conserveer modus
+label.console.proxy=Console proxy
+label.continue.basic.install=Ga door met basis installatie
+label.continue=Ga door
+label.corrections.saved=Correcties opgeslagen
+label.cpu.allocated=CPU gebruik
+label.cpu.allocated.for.VMs=CPU gebruikt voor VMs
+label.CPU.cap=CPU Cap
+label.cpu=CPU
+label.cpu.limits=CPU limieten
+label.cpu.mhz=CPU (in MHz)
+label.cpu.utilized=CPU Verbruik
+label.created=Aangemaakt
+label.created.by.system=Aangemaakt door systeem
+label.create.project=Nieuw project
+label.create.template=Nieuwe template
+label.create.VPN.connection=Nieuwe VPN connectie
+label.cross.zones=Over Zones
+label.custom.disk.size=Vrije schijf grootte
+label.daily=Dagelijkse
+label.data.disk.offering=Data Schijf Aanbieding
+label.date=Datum
+label.day.of.month=Dag van de Maand
+label.day.of.week=Dag van de Week
+label.dead.peer.detection=Dead Peer detectie
+label.decline.invitation=Sla uitnodiging af
+label.dedicated=Dedicated
+label.default=Standaard
+label.default.use=Standaard Gebruik
+label.default.view=Standaard Weergave
+label.delete.BigSwitchVns=Verwijder BigSwitch Vns Controller
+label.delete.F5=Verwijder F5
+label.delete.gateway=Verwijder gateway
+label.delete.NetScaler=Verwijder NetScaler
+label.delete.NiciraNvp=Verwijder Nvp Controller
+label.delete.project=Verwijder project
+label.delete.SRX=Verwijder SRX
+label.delete=Verwijder
+label.delete.VPN.connection=Verwijder VPN connectie
+label.delete.VPN.customer.gateway=Verwijder VPN Customer Gateway
+label.delete.VPN.gateway=Verwijder VPN Gateway
+label.delete.vpn.user=Verwijder VPN gebruiker
+label.deleting.failed=Verwijderen Mislukt
+label.deleting.processing=Verwijderen....
+label.description=Beschrijving
+label.destination.physical.network.id=Bestemming fysiek netwerk ID
+label.destination.zone=Bestemmingszone
+label.destroy.router=Verwijder router
+label.destroy=Verwijder
+label.detaching.disk=Ontkoppelen Schijf
+label.details=Details
+label.device.id=Apparaat ID
+label.devices=Apparaten
+label.dhcp=DHCP
+label.DHCP.server.type=DHCP Server Type
+label.direct.ips=Shared Netwerk IPs
+label.disabled=Uitgeschakeld
+label.disable.provider=Provider uitschakelen
+label.disable.vpn=VPN uitschakelen
+label.disabling.vpn.access=Uitschakelen van VPN Toegang
+label.disk.allocated=Schijfruimte gealloceerd
+label.disk.offering=Schijf Aanbieding
+label.disk.size.gb=Schijf Grootte (in GB)
+label.disk.size=Schijf Grootte
+label.disk.total=Schijf Totaal
+label.disk.volume=Schijf Volume
+label.display.name=Weergavenaam
+label.display.text=Weergavetekst
+label.dns.1=DNS 1
+label.dns.2=DNS 2
+label.dns=DNS
+label.DNS.domain.for.guest.networks=DNS domein voor Gast Netwerken
+label.domain.admin=Domein Beheerder
+label.domain=Domein
+label.domain.id=Domein ID
+label.domain.name=Domeinnaam
+label.domain.router=Domein router
+label.domain.suffix=DNS domein achtervoegsel (v.b., xyz.com)
+label.done=Klaar
+label.double.quotes.are.not.allowed=Aanhalingstekens zijn hier niet toegestaan
+label.download.progress=Download Voortgang
+label.drag.new.position=Sleep naar nieuwe positie
+label.edit.lb.rule=Wijzig LB regel
+label.edit.network.details=Wijzig netwerk details
+label.edit.project.details=Wijzig project details
+label.edit.tags=Wijzig tags
+label.edit.traffic.type=Wijzig traffic type
+label.edit.vpc=Wijzig VPC
+label.edit=Wijzig
+label.egress.rules=Uitgaande regels
+label.egress.rule=Uitgaande regel
+label.elastic=Elastisch
+label.elastic.IP=Elastisch IP
+label.elastic.LB=Elastisch LB
+label.email=Email
+label.enable.provider=Provider inschakelen
+label.enable.s3=S3-gebaseerde Secondary Storage inschakelen
+label.enable.swift=Swift inschakelen
+label.enable.vpn=VPN inschakelen
+label.enabling.vpn.access=VPN toegang inschakelen
+label.enabling.vpn=VPN inschakelen
+label.end.IP=Eind IP
+label.endpoint=Endpoint
+label.endpoint.or.operation=Endpoint or Operation
+label.end.port=Eind Poort
+label.end.reserved.system.IP=Einde gereserveerde systeem IP
+label.end.vlan=Einde Vlan
+label.enter.token=Voer token in
+label.error.code=Fout code
+label.error=Fout
+label.ESP.encryption=ESP Encryptie
+label.ESP.hash=ESP Hash
+label.ESP.lifetime=ESP Lifetime (secondes)
+label.ESP.policy=ESP policy
+label.esx.host=ESX/ESXi Host
+label.example=Voorbeeld
+label.external.link=Externe link
+label.f5=F5
+label.failed=Mislukt
+label.featured=Voorgesteld
+label.fetch.latest=Haal laatste op
+label.filterBy=Filter per
+label.firewall=Firewall
+label.first.name=Voornaam
+label.format=Formaat
+label.friday=Vrijdag
+label.full.path=Volledig pad
+label.full=Volledig
+label.gateway=Gateway
+label.general.alerts=Algemene Waarschuwingen
+label.generating.url=Generen van URL
+label.go.step.2=Ga naar Stap 2
+label.go.step.3=Ga naar Stap 3
+label.go.step.4=Ga naar Stap 4
+label.go.step.5=Ga naar Stap 5
+label.group=Groep
+label.group.optional=Groep (Optioneel)
+label.guest.cidr=Gast CIDR
+label.guest.end.ip=Gast eind IP
+label.guest=Gast
+label.guest.gateway=Gast Gateway
+label.guest.ip=Gast IP Adres
+label.guest.ip.range=Gast IP range
+label.guest.netmask=Gast Netmask
+label.guest.networks=Gast netwerken
+label.guest.start.ip=Gast start IP
+label.guest.traffic=Gast verkeer
+label.guest.type=Gast Type
+label.ha.enabled=HA ingeschakeld
+label.help=Help
+label.hide.ingress.rule=Verberg Inkomende Regel
+label.hints=Tips
+label.host.alerts=Host Waarschuwingen
+label.host=Host
+label.host.MAC=Host MAC
+label.host.name=Hostnaam
+label.hosts=Hosts
+label.host.tags=Host Tags
+label.hourly=Uurlijks
+label.hypervisor.capabilities=Hypervisor mogelijkheden
+label.hypervisor=Hypervisor
+label.hypervisor.type=Hypervisor Type
+label.hypervisor.version=Hypervisor versie
+label.id=ID
+label.IKE.DH=IKE DH
+label.IKE.encryption=IKE Encryptie
+label.IKE.hash=IKE Hash
+label.IKE.lifetime=IKE lifetime (secondes)
+label.IKE.policy=IKE policy
+label.info=Info
+label.ingress.rule=Inkomende Regel
+label.initiated.by=Ge\u00efnitieerd door
+label.installWizard.addClusterIntro.subtitle=Wat is een cluster?
+label.installWizard.addClusterIntro.title=Nu\: Cluster toevoegen
+label.installWizard.addHostIntro.subtitle=Wat is een host?
+label.installWizard.addHostIntro.title=Nu\: Host toevoegen
+label.installWizard.addPodIntro.subtitle=Wat is een pod?
+label.installWizard.addPodIntro.title=Nu\: Pod toevoegen
+label.installWizard.addPrimaryStorageIntro.subtitle=Wat is primary storage?
+label.installWizard.addPrimaryStorageIntro.title=Nu\: Primaire opslag toevoegen
+label.installWizard.addSecondaryStorageIntro.subtitle=Wat is secundaire opslag?
+label.installWizard.addSecondaryStorageIntro.title=Nu\: Secundaire opslag toevoegen
+label.installWizard.addZoneIntro.subtitle=Wat is een zone?
+label.installWizard.addZoneIntro.title=Nu\: Zone toevoegen
+label.installWizard.addZone.title=Zone toevoegen
+label.installWizard.click.launch=Klik op de lanceer knop.
+label.installWizard.subtitle=Deze rondleiding gaat je helpen met het uitvoeren van de CloudStack&\#8482 installatie
+label.installWizard.title=Hallo en welkom bij CloudStack&\#8482
+label.instance=Instantie
+label.instance.limits=Instantie Limieten
+label.instance.name=Instantie Naam
+label.instances=Instanties
+label.internal.dns.1=Interne DNS 1
+label.internal.dns.2=Interne DNS 2
+label.internal.name=Interne naam
+label.interval.type=Interval Type
+label.introduction.to.cloudstack=CloudStack&\#8482 Introductie
+label.invalid.integer=Onjuiste Waarde
+label.invalid.number=Onjuist nummer
+label.invitations=Uitnodigingen
+label.invited.accounts=Uitgenodigde accounts
+label.invite.to=Nodig uit voor
+label.invite=Uitnodigen
+label.ip.address=IP Adres
+label.ipaddress=IP Adres
+label.ip.allocations=IP Allocaties
+label.ip=IP
+label.ip.limits=Publieke IP Limieten
+label.ip.or.fqdn=IP of FQDN
+label.ip.range=IP Range
+label.ip.ranges=IP Ranges
+label.IPsec.preshared.key=IPsec Preshared-Key
+label.ips=IPs
+label.iscsi=iSCSI
+label.is.default=Is Standaard
+label.iso.boot=ISO Boot
+label.iso=ISO
+label.isolated.networks=Geisoleerde netwerken
+label.isolation.method=Isolatie methode
+label.isolation.mode=Isolatie Modus
+label.isolation.uri=Isolatie URI
+label.is.redundant.router=Redundant
+label.is.shared=Is Gedeeld
+label.is.system=Is Systeem
+label.item.listing=Items lijst
+label.keep=Bewaar
+label.keyboard.type=Toetsenbord type
+label.key=Sleutel
+label.kvm.traffic.label=KVM verkeer label
+label.label=Label
+label.lang.brportugese=Braziliaans Portgees
+label.lang.chinese=Chinees (Simplified)
+label.lang.english=Engels
+label.lang.french=Frans
+label.lang.japanese=Japans
+label.lang.korean=Koreans
+label.lang.russian=Russisch
+label.lang.spanish=Spaans
+label.last.disconnected=Laatse keer niet verbonden
+label.last.name=Achternaam
+label.latest.events=Laatste gebeurtenissen
+label.launch=Lanceer
+label.launch.vm=Lanceer VM
+label.launch.zone=Lanceer zone
+label.LB.isolation=LB isolatie
+label.least.connections=Minste connecties
+label.level=Level
+label.load.balancer=Load Balancer
+label.load.balancing=Load Balancing
+label.load.balancing.policies=Load balancing policies
+label.loading=Laden
+label.local=Lokaal
+label.local.storage.enabled=Lokale opslag ingeschakeld
+label.local.storage=Lokale Opslag
+label.login=Login
+label.logout=Log uit
+label.lun=LUN
+label.LUN.number=LUN \#
+label.make.project.owner=Maak account project eigenaar
+label.manage=Beheer
+label.management=Beheer
+label.management.ips=Beheers IP Adressen
+label.manage.resources=Beheer Resources
+label.max.cpus=Max. CPU cores
+label.max.guest.limit=Max. Instanties
+label.maximum=Maximaal
+label.max.memory=Max. geheugen (MiB)
+label.max.networks=Max. netwerken
+label.max.primary.storage=Max. primare opslag (GiB)
+label.max.public.ips=Max. publieke IPs
+label.max.secondary.storage=Max. secundaire opslag (GiB)
+label.max.snapshots=Max. snapshots
+label.max.templates=Max. templates
+label.max.vms=Max. VMs per gebruiker
+label.max.volumes=Max. volumes
+label.max.vpcs=Max. VPCs
+label.may.continue=U kunt nu verder gaan.
+label.memory.allocated=Geheugen Gealloceerd
+label.memory=Geheugen
+label.memory.limits=Geheugen limieten (MiB)
+label.memory.mb=Geheugen (in MB)
+label.memory.total=Totaal Geheugen
+label.memory.used=Geheugen gebruikt
+label.menu.accounts=Accounts
+label.menu.alerts=Waarschuwingen
+label.menu.all.accounts=Alle Accounts
+label.menu.all.instances=Alle Instanties
+label.menu.community.isos=Community ISOs
+label.menu.community.templates=Community Templates
+label.menu.configuration=Configuratie
+label.menu.dashboard=Dashboard
+label.menu.destroyed.instances=Vernietigde Instanties
+label.menu.disk.offerings=Schijf Aanbiedingen
+label.menu.domains=Domeinen
+label.menu.events=Gebeurtenissen
+label.menu.featured.isos=Voorgestelde ISOs
+label.menu.featured.templates=Voorgestelde Templates
+label.menu.global.settings=Algemene Instellingen
+label.menu.infrastructure=Infrastructuur
+label.menu.instances=Instanties
+label.menu.ipaddresses=IP Adressen
+label.menu.isos=ISOs
+label.menu.my.accounts=Mijn Accounts
+label.menu.my.instances=Mijn Instanties
+label.menu.my.isos=Mijn ISOs
+label.menu.my.templates=Mijn Templates
+label.menu.network=Netwerk
+label.menu.network.offerings=Netwerk Aanbiedingen
+label.menu.physical.resources=Fysieke Resources
+label.menu.regions=Regio\\'s
+label.menu.running.instances=Draaiende Instanties
+label.menu.security.groups=Security Groups
+label.menu.service.offerings=Service Aanbiedingen
+label.menu.snapshots=Snapshots
+label.menu.stopped.instances=Uitgeschakelde Instanties
+label.menu.storage=Opslag
+label.menu.system.service.offerings=Systeem Aanbiedingen
+label.menu.system=Systeem
+label.menu.system.vms=Systeem VMs
+label.menu.templates=Templates
+label.menu.virtual.appliances=Virtueele Appliances
+label.menu.virtual.resources=Virtuele Resources
+label.menu.volumes=Volumes
+label.migrate.instance.to.host=Migreer instantie naar andere host
+label.migrate.instance.to=Migreer instantie naar
+label.migrate.instance.to.ps=Migreer instantie naar andere primaire opslag
+label.migrate.router.to=Migreer Router naar
+label.migrate.systemvm.to=Migreer Systeem VM naar
+label.migrate.to.host=Migreer naar host
+label.migrate.to.storage=Migreer naar opslag
+label.migrate.volume=Migreer volume naar andere primaire opslag
+label.minimum=Minimum
+label.minute.past.hour=Minuten na het uur
+label.monday=Maandag
+label.monthly=Maandelijks
+label.more.templates=Meer Templates
+label.move.down.row=Verplaats \u00e9\u00e9n regel naar beneden
+label.move.to.bottom=Verplaats naar beneden
+label.move.to.top=Verplaats naar boven
+label.move.up.row=Verplaats \u00e9\u00e9n regel naar boven
+label.my.account=Mijn Account
+label.my.network=Mijn netwerk
+label.my.templates=Mijn templates
+label.name=Naam
+label.name.optional=Naam (Optioneel)
+label.nat.port.range=NAT Poort Range
+label.netmask=Netmask
+label.netScaler=NetScaler
+label.network.ACL=Netwerk ACL
+label.network.ACLs=Netwerk ACLs
+label.network.ACL.total=Netwerk ACL Totaal
+label.network.desc=Netwerk Beschr.
+label.network.device=Netwerk Apparaat
+label.network.device.type=Netwerk Apparaat Type
+label.network.domain=Netwerk Domein
+label.network.domain.text=Netwerk Domein
+label.network.id=Netwerk ID
+label.networking.and.security=Netwerken en beveiliging
+label.network.label.display.for.blank.value=Gebruik standaard gateway
+label.network.name=Netwerk Naam
+label.network=Netwerk
+label.network.offering.display.text=Netwerk Aanbieding Weergave Tekst
+label.network.offering.id=Netwerk Aanbieding ID
+label.network.offering.name=Netwerk Aanbieding Naam
+label.network.offering=Netwerk Aanbieding
+label.network.read=Netwerk gelezen
+label.network.service.providers=Netwerk Service Aanbieders
+label.networks=Netwerken
+label.network.type=Netwerk Type
+label.network.write=Netwerk geschreven
+label.new=Nieuw
+label.new.password=Nieuw wachtwoord
+label.new.project=Nieuw Project
+label.new.vm=Nieuwe VM
+label.next=Volgende
+label.nexusVswitch=Nexus 1000v
+label.nfs=NFS
+label.nfs.server=NFS Server
+label.nfs.storage=NFS Opslag
+label.nic.adapter.type=NIC adapter type
+label.nicira.controller.address=Controller Adres
+label.nicira.l3gatewayserviceuuid=L3 Gateway Service Uuid
+label.nicira.transportzoneuuid=Transport Zone Uuid
+label.nics=NICs
+label.no.actions=Geen Beschikbare Acties
+label.no.alerts=Geen Recente Waarschuwingen
+label.no.data=Geen data om weer te geven
+label.no.errors=Geen Recente Fouten
+label.no.isos=Geen beschikbare ISOs
+label.no.items=Geen Beschikbare Items
+label.no=Nee
+label.none=Geen
+label.no.security.groups=Geen Beschikbare Security Groups
+label.not.found=Niet gevonden
+label.no.thanks=Nee bedankt
+label.notifications=Notificaties
+label.number.of.clusters=Aantal Clusters
+label.number.of.hosts=Aantal Hosts
+label.number.of.pods=Aantal Pods
+label.number.of.system.vms=Aantal Systeem VMs
+label.number.of.virtual.routers=Aantal Virtual Routers
+label.number.of.zones=Aantal Zones
+label.num.cpu.cores=Aantal CPU Cores
+label.numretries=Keren opnieuw geprorbeerd
+label.ocfs2=OCFS2
+label.offer.ha=HA aanbieden
+label.ok=OK
+label.optional=Optioneel
+label.order=Volgorde
+label.os.preference=OS Voorkeur
+label.os.type=OS Type
+label.owned.public.ips=Publieke IP Adressen in beheer
+label.owner.account=Account Eigenaar
+label.owner.domain=Domein Eigenaar
+label.parent.domain=Bovenliggend Domein
+label.password.enabled=Wachtwoord Ingeschakeld
+label.password=Wachtwoord
+label.path=Pad
+label.perfect.forward.secrecy=Perfect Forward Secrecy
+label.physical.network=Fysiek Netwerk
+label.physical.network.ID=Fysiek netwerk ID
+label.PING.CIFS.password=PING CIFS wachtwoord
+label.PING.CIFS.username=PING CIFS gebruikersnaam
+label.PING.dir=PING Directory
+label.PING.storage.IP=PING opslag IP
+label.please.specify.netscaler.info=Geef hier informatie van de Netscaler op
+label.please.wait=Een ogenblik geduld a.u.b.
+label.plugin.details=Plugin details
+label.plugins=Plugins
+label.pod.name=Pod Naam
+label.pod=Pod
+label.pods=Pods
+label.port.forwarding.policies=Port forwarding policies
+label.port.forwarding=Port Forwarding
+label.port.range=Port Range
+label.PreSetup=PreSetup
+label.previous=Vorige
+label.prev=Terug
+label.primary.allocated=Primaire Opslag Gealloceerd
+label.primary.network=Primair Netwerk
+label.primary.storage.count=Primaire Opslag Pools
+label.primary.storage.limits=Primaire Opslag limieten (GiB)
+label.primary.storage=Primaire Opslag
+label.primary.used=Primaire Opslag Gebruikt
+label.private.Gateway=Priv\u00e9 Gateway
+label.private.interface=Priv\u00e9 Interface
+label.private.ip=Priv\u00e9 IP Adres
+label.private.ip.range=Priv\u00e9 IP Range
+label.private.ips=Priv\u00e9 IP adressen
+label.privatekey=PKCS\#8 Private Key
+label.private.network=Priv\u00e9 Netwerk
+label.private.port=Priv\u00e9 Port
+label.private.zone=Priv\u00e9 Zone
+label.project.dashboard=Project Dashboard
+label.project.id=Project ID
+label.project.invite=Nodig uit voor project
+label.project.name=Project naam
+label.project=Project
+label.projects=Projecten
+label.project.view=Project Weergave
+label.protocol=Protocol
+label.providers=Providers
+label.public.interface=Publieke Interface
+label.public.ip=Publiek IP Adres
+label.public.ips=Publieke IP Adressen
+label.public.network=Publiek netwerk
+label.public.port=Publieke Poort
+label.public=Publiek
+label.public.traffic=Publiek verkeer
+label.public.zone=Publieke Zone
+label.purpose=Doel
+label.Pxe.server.type=PXE Server Type
+label.quickview=Sneloverzicht
+label.reboot=Reboot
+label.recent.errors=Recente Fouten
+label.redundant.router.capability=Redundante router mogelijkheden
+label.redundant.router=Redundante Router
+label.redundant.state=Redundante staat
+label.refresh=Ververs
+label.region=Regio
+label.related=Samenhangend
+label.remind.later=Herinner me later
+label.remove.ACL=Verwijder ACL
+label.remove.egress.rule=Verwijder uitgaande regel
+label.remove.from.load.balancer=Verwijder Instantie van load balancer
+label.remove.ingress.rule=Verwijder inkomende regel
+label.remove.ip.range=Verwijder IP range
+label.remove.pf=Verwijder port forwarding regel
+label.remove.project.account=Verwijder account van project
+label.remove.region=Verwijder Regio
+label.remove.rule=Verwijder regel
+label.remove.static.nat.rule=Verwijder static NAT regel
+label.remove.static.route=Verwijder statische route
+label.remove.tier=Verwijder tier
+label.remove.vm.from.lb=Verwijder VM van load balancer regel
+label.remove.vpc=verwijder VPC
+label.removing.user=Verwijderen Gebruiker
+label.removing=Verwijderen
+label.required=Vereist
+label.reserved.system.gateway=Gereseveerde systeem gateway
+label.reserved.system.ip=Gereserveerd Systeem IP
+label.reserved.system.netmask=Gereserveerd systeem netmask
+label.reset.VPN.connection=Reset VPN verbinding
+label.resize.new.offering.id=Nieuwe Aanbieding
+label.resize.new.size=Nieuwe Grootte(GB)
+label.resize.shrink.ok=Verklein OK
+label.resource.limits=Verbruikslimieten
+label.resource.state=Verbruik staat
+label.resources=Verbruiken
+label.resource=Verbruik
+label.restart.network=Herstart netwerk
+label.restart.required=Herstart benodigd
+label.restart.vpc=herstart VPC
+label.restore=Herstel
+label.review=Beoordeel
+label.revoke.project.invite=Trek uitnodiging in
+label.role=Rol
+label.root.disk.controller=Root schijf controller
+label.root.disk.offering=Root Schijf Aanbieding
+label.round.robin=Round-robin
+label.rules=Regels
+label.running.vms=Draaiende VMs
+label.s3.access_key=Toegangssleutel
+label.s3.bucket=Bucket
+label.s3.connection_timeout=Connectie Timeout
+label.s3.endpoint=Endpoint
+label.s3.max_error_retry=Max. opnieuw proberen na Fout
+label.s3.secret_key=Geheime sleutel
+label.s3.socket_timeout=Socket Timeout
+label.s3.use_https=Gebruik HTTPS
+label.saturday=Zaterdag
+label.save.and.continue=Opslaan en verder gaan
+label.save=Opslaan
+label.saving.processing=Opslaan....
+label.scope=Scope
+label.search=Zoeken
+label.secondary.storage.count=Secundaire Opslag Pools
+label.secondary.storage.limits=Secundaire Opslag limieten (GiB)
+label.secondary.storage=Secundaire Opslag
+label.secondary.storage.vm=Secundaire Opslag VM
+label.secondary.used=Secundaire Opslag Gebruikt
+label.secret.key=Geheime sleutel
+label.security.group.name=Security Group Naam
+label.security.group=Security Group
+label.security.groups.enabled=Security Groups Ingeschakeld
+label.security.groups=Security Groups
+label.select.a.template=Selecteer een template
+label.select.a.zone=Selecteer een zone
+label.select.instance=Selecteer een instance
+label.select.instance.to.attach.volume.to=Selecteer een instance om het volume aan te koppelen
+label.select.iso.or.template=Selecteer een ISO of template
+label.select.offering=Selecteer Aanbieding
+label.select.project=Selecteer Project
+label.select=Selecteer
+label.select.tier=Selecteer Tier
+label.select-view=Selecteer Weergave
+label.select.vm.for.static.nat=Selecteer VM voor static NAT
+label.sent=Verstuurd
+label.server=Server
+label.service.capabilities=Service Mogelijkheden
+label.service.offering=Service Aanbieding
+label.session.expired=Sessie Verlopen
+label.setup=Instellen
+label.setup.network=Stel Netwerk in
+label.setup.zone=Stel Zone in
+label.set.up.zone.type=Stel zone type in
+label.shared=Gedeeld
+label.SharedMountPoint=SharedMountPoint
+label.show.ingress.rule=Toon Inkomende Regel
+label.shutdown.provider=Schakel provider uit
+label.site.to.site.VPN=Site-to-site VPN
+label.size=Grootte
+label.skip.guide=Ik heb CloudStack al eerder gebruikt, sla deze stap over
+label.snapshot.limits=Snapshot Limieten
+label.snapshot.name=Snapshot Naam
+label.snapshot.schedule=Stel herhalende Snapshot in
+label.snapshot=Snapshot
+label.snapshot.s=Snapshot (s)
+label.snapshots=Snapshots
+label.source=Bron
+label.source.nat=Source NAT
+label.specify.IP.ranges=Specificeer IP ranges
+label.specify.vlan=Specificeer VLAN
+label.SR.name = SR Name-Label
+label.srx=SRX
+label.start.IP=Start IP
+label.start.port=Start Poort
+label.start.reserved.system.IP=Start gereseveerd systeem IP
+label.start.vlan=Start VLAN
+label.state=Staat
+label.static.nat.enabled=Static NAT Ingeschakeld
+label.static.nat=Static NAT
+label.static.nat.to=Static NAT naar
+label.static.nat.vm.details=Static NAT VM Details
+label.statistics=Statistieken
+label.status=Status
+label.step.1=Stap 1
+label.step.1.title=Stap 1\: Selecteer een Template
+label.step.2=Stap 2
+label.step.2.title=Stap 2\: Service Aanbieding
+label.step.3=Stap 3
+label.step.3.title=Stap 4\: Selecteer een Schijf Aanbieding
+label.step.4=Stap 4
+label.step.4.title=Stap 4\: Netwerk
+label.step.5=Stap 5
+label.step.5.title=Stap 5\: Beoordeel
+label.stickiness=Stickiness
+label.sticky.cookie-name=Cookie naam
+label.sticky.domain=Domein
+label.sticky.expire=Verloopt
+label.sticky.holdtime=Wacht tijd
+label.sticky.indirect=Indirect
+label.sticky.length=Lengte
+label.sticky.mode=Modus
+label.sticky.nocache=Geen cache
+label.sticky.postonly=Alleen Post
+label.sticky.prefix=Prefix
+label.sticky.request-learn=Request learn
+label.sticky.tablesize=Tabel grootte
+label.stopped.vms=Uitgeschakelde VMs
+label.stop=Stop
+label.storage=Opslag
+label.storage.tags=Opslag Tags
+label.storage.traffic=Opslag Verkeer
+label.storage.type=Opslag Type
+label.subdomain.access=Subdomein Toegang
+label.submitted.by=[Verstuurd door\: ]
+label.submit=Verstuur
+label.succeeded=Geslaagd
+label.sunday=Zondag
+label.super.cidr.for.guest.networks=Super CIDR voor Gast Netwerken
+label.supported.services=Geondersteunde Diensten
+label.supported.source.NAT.type=Ondersteunde Source NAT type
+label.suspend.project=Pauzeer Project
+label.system.capacity=Systeem Capaciteit
+label.system.offering=Systeem Aanbieding
+label.system.service.offering=Systeem Service Aanbieding
+label.system.vms=Systeem VMs
+label.system.vm=Systeem VM
+label.system.vm.type=Systeem VM type
+label.system.wide.capacity=Systeembreede capaciteit
+label.tagged=Tagged
+label.tags=Tags
+label.target.iqn=Doel IQN
+label.task.completed=Taak uitgevoerd
+label.template.limits=Template Limieten
+label.template=Template
+label.TFTP.dir=TFTP Directory
+label.theme.default=Standaard Thema
+label.theme.grey=Aangepast - Grijs
+label.theme.lightblue=Aangepast - Licht Blauw
+label.thursday=Donderdag
+label.tier.details=Tier details
+label.tier=Tier
+label.timeout.in.second = Timeout(seconden)
+label.timeout=Timeout
+label.time=Tijd
+label.time.zone=Tijdzone
+label.timezone=Tijdzone
+label.token=Token
+label.total.cpu=Totaal CPU
+label.total.CPU=Totaal CPU
+label.total.hosts=Totaal Hosts
+label.total.memory=Totaal Geheugen
+label.total.of.ip=Totaal aantal IP Adressen
+label.total.of.vm=Totaal aantal VM
+label.total.storage=Totaal Opslag
+label.total.vms=Totaal VMs
+label.traffic.label=Verkeerslabel
+label.traffic.types=Verkeer Types
+label.traffic.type=Verkeer Type
+label.tuesday=Dinsdag
+label.type.id=Type ID
+label.type=Type
+label.unavailable=Niet beschikbaar
+label.unlimited=Ongelimiteerd
+label.untagged=Untagged
+label.update.project.resources=Update project verbruik
+label.update.ssl.cert= SSL Certificaat
+label.update.ssl= SSL Certificaat
+label.updating=Bezig met updaten
+label.upload=Upload
+label.upload.volume=Upload Volume
+label.url=URL
+label.usage.interface=Verbruik Interface
+label.used=Gebruikt
+label.user=Gebruiker
+label.username=Gebruikersnaam
+label.users=Gebruikers
+label.use.vm.ip=Gebruik VM IP\:
+label.value=Waarde
+label.vcdcname=vCenter DC naam
+label.vcenter.cluster=vCenter Cluster
+label.vcenter.datacenter=vCenter Datacenter
+label.vcenter.datastore=VCenter Datastore
+label.vcenter.host=vCenter Host
+label.vcenter.password=vCenter Wachtwoord
+label.vcenter.username=vCenter Gebruikersnaam
+label.vcipaddress=vCenter IP Adres
+label.version=Versie
+label.view.all=Toon alle
+label.view.console=Toon console
+label.viewing=Weergeven
+label.view.more=Toon meer
+label.view=Toon
+label.virtual.appliances=Virtueele Appliances
+label.virtual.appliance=Virtuele Appliance
+label.virtual.machines=Virtuele machines
+label.virtual.network=Virtueel Netwerk
+label.virtual.routers=Virtuele Routers
+label.virtual.router=Virtuele Router
+label.vm.add=Instantie Toevoegen
+label.vm.destroy=Verwijder
+label.vm.display.name=VM weergave naam
+label.VMFS.datastore=VMFS datastore
+label.vmfs=VMFS
+label.vm.name=VM naam
+label.vm.reboot=Reboot
+label.VMs.in.tier=VMs in tier
+label.vmsnapshot.current=isHuidige
+label.vmsnapshot.memory=Snapshot geheugen
+label.vmsnapshot.parentname=Bovenliggend
+label.vmsnapshot.type=Type
+label.vmsnapshot=VM Snapshots
+label.vm.start=Start
+label.vm.state=VM staat
+label.vm.stop=Stop
+label.vms=VMs
+label.vmware.traffic.label=VMware verkeerslabel
+label.volgroup=Volume Groep
+label.volume.limits=Volume Limieten
+label.volume.name=Volume Naam
+label.volumes=Volumes
+label.volume=Volume
+label.vpc.id=VPC ID
+label.VPC.router.details=VPC router details
+label.vpc=VPC
+label.VPN.connection=VPN Connectie
+label.vpn.customer.gateway=VPN Customer Gateway
+label.VPN.customer.gateway=VPN Customer Gateway
+label.VPN.gateway=VPN Gateway
+label.vpn=VPN
+label.vsmctrlvlanid=Controle VLAN ID
+label.vsmpktvlanid=Pakket VLAN ID
+label.vsmstoragevlanid=Opslag VLAN ID
+label.vsphere.managed=vSphere beheerd
+label.waiting=Wachten
+label.warn=Waarschuwing
+label.wednesday=Woensdag
+label.weekly=Wekelijks
+label.welcome.cloud.console=Welkom op de Management Console
+label.welcome=Welkom
+label.what.is.cloudstack=Wat is CloudStack&\#8482?
+label.xen.traffic.label=XenServer verkeerslabel
+label.yes=Ja
+label.zone.details=Zone details
+label.zone.id=Zone ID
+label.zone.name=Zone naam
+label.zone.step.1.title=Stap 1\: Selecteer een Netwerk
+label.zone.step.2.title=Stap 2\: Zone toevoegen
+label.zone.step.3.title=Stap 3\: Pod toevoegen
+label.zone.step.4.title=Step 4\: IP range toevoegen
+label.zones=Zones
+label.zone.type=Type Zone
+label.zone.wide=Zone breed
+label.zoneWizard.trafficType.guest=Gast\: Verkeer tussen virtuele machines van de eindgebruiker
+label.zoneWizard.trafficType.public=Publiek\: Verkeer tussen het internet en virtueele machines in de cloud.
+label.zoneWizard.trafficType.storage=Opslag\: Verkeer tussen de primaire en secundaire opslag servers zoals VM templates en snapshots
+label.zone=Zone
+managed.state=Beheersstaat
+message.acquire.new.ip=Bevestigen dat je een nieuw IP voor dit netwerk wilt verkrijgen.
+message.acquire.new.ip.vpc=Bevestig dat u een nieuw IP wilt verkrijgen voor deze VPC.
+message.acquire.public.ip=Selecteer de zone waarvan u een nieuw IP wenst te verkrijgen.
+message.action.cancel.maintenance=Het onderhoud voor de host is succesvol geannuleerd. Het daadwerkelijke proces kan echter enkele minuten duren.
+message.action.cancel.maintenance.mode=Bevestig dat u het onderhoud wilt annuleren.
+message.action.change.service.warning.for.instance=Uw instantie moet uitgeschakeld zijn voordat u de service aanbieding kunt wijzigen.
+message.action.change.service.warning.for.router=Uw router moet uitgeschakeld zijn voordat u de service aanbieding kunt wijzigen.
+message.action.delete.cluster=Bevestig dat u dit cluster wilt verwijderen.
+message.action.delete.disk.offering=Bevestig dat u deze schijf aanbieding wilt verwijderen.
+message.action.delete.domain=Bevestig dat u dit domein wilt verwijderen.
+message.action.delete.external.firewall=Bevestig dat u deze externe firewall wilt verwijderen. Waarschuwing\: Als u van plan bent dezelfde firewall opnieuw toe te voegen, dient u de verbruiksstatistieken eerst te resetten.
+message.action.delete.external.load.balancer=Bevestig dat u deze externe loadbalancer wilt verwijderen. Waarschuwing\: Als u van plan bent dezelfde loadbalancer opnieuw toe te voegen, dient u de verbruiksstatistieken eerst te resetten.
+message.action.delete.ingress.rule=Bevestig dat u deze inkomende regel wilt verwijderen.
+message.action.delete.ISO=Bevestig dat u deze ISO wilt verwijderen.
+message.action.delete.ISO.for.all.zones=Deze ISO wordt gebruikt door alle zones. Bevestig dat u deze wilt verwijderen van alle zones.
+message.action.delete.network=Bevestig dat u dit netwerk wilt verwijderen.
+message.action.delete.nexusVswitch=Bevestig dat u deze nexus 1000v wilt verwijderen
+message.action.delete.physical.network=Bevestig dat u dit fysieke netwerk wilt verwijderen.
+message.action.delete.pod=Bevestig dat u deze pod wilt verwijderen.
+message.action.delete.primary.storage=Bevestig dat u deze primaire opslag wilt verwijderen.
+message.action.delete.secondary.storage=Bevestig dat u deze secudaire opslag wilt verwijderen.
+message.action.delete.security.group=Bevestig dat u deze security group wilt verwijderen.
+message.action.delete.service.offering=Bevestig dat u deze service aanbieding wilt verwijderen.
+message.action.delete.snapshot=Bevestig dat u deze snapshot wilt verwijderen.
+message.action.delete.system.service.offering=Bevestig dat u deze systeem service aanbieding wilt verwijderen.
+message.action.delete.template=Bevestig dat u deze template wilt verwijderen
+message.action.delete.template.for.all.zones=Deze template wordt gebruikt door alle zones. Bevestig dat u deze wilt verwijderen van alle zones.
+message.action.delete.volume=Bevestig dat u dit volume wilt verwijderen
+message.action.delete.zone=Bevestig dat u deze zone wilt verwijderen
+message.action.destroy.instance=Bevestig dat u deze instantie wilt vernietigen
+message.action.destroy.systemvm=Bevestig dat u deze Systeem VM wilt vernietigen
+message.action.disable.cluster=Bevestig dat u dit cluster wilt uitschakelen.
+message.action.disable.nexusVswitch=Bevestig dat u deze nexus 1000v wilt uitschakelen.
+message.action.disable.physical.network=Bevestig dat u dit fysieke netwerk wilt uitschakelen.
+message.action.disable.pod=Bevestig dat u deze pod wilt uitschakelen.
+message.action.disable.static.NAT=Bevestig dat u static NAT wilt uitschakelen.
+message.action.disable.zone=Bevestig dat u deze zone wilt uitschakelen.
+message.action.download.iso=Bevestig dat u deze ISO wilt downloaden.
+message.action.download.template=Bevestig dat u deze template wilt downloaden.
+message.action.enable.cluster=Bevestig dat u dit cluster wilt inschakelen.
+message.action.enable.maintenance=Uw host is succesvol voorbereid op onderhoud. Het proces kan echter een paar minuten duren afhankelijk van de hoeveelheid VMs op de host.
+message.action.enable.nexusVswitch=Bevestig dat u deze nexus 1000v wilt inschakelen
+message.action.enable.physical.network=Bevestig dat u dit fysieke netwerk wilt inschakelen.
+message.action.enable.pod=Bevestigd dat u deze pod wilt inschakelen.
+message.action.enable.zone=Bevestig dat u deze zone wilt inschakelen.
+message.action.force.reconnect=De host is succesvol geforceerd om opnieuw te verbinden. Dit proces kan echter enkele minuten duren.
+message.action.host.enable.maintenance.mode=Het inschakelen van de onderhoudsmodus zorgt ervoor dat alle draaiende instanties worden gemigreerd naar andere beschikbare hosts.
+message.step.2.desc=
+message.step.3.desc=
+mode=Modus
+notification.reboot.instance=Herstart instantie
+state.Allocated=Gebruikt
+state.Disabled=Uitgeschakeld
+state.Error=Fout
diff --git a/client/WEB-INF/classes/resources/messages_pl.properties b/client/WEB-INF/classes/resources/messages_pl.properties
new file mode 100644
index 00000000000..9024030f51e
--- /dev/null
+++ b/client/WEB-INF/classes/resources/messages_pl.properties
@@ -0,0 +1,469 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+error.invalid.username.password=B\u0142\u0119dna nazwa u\u017cytkownika lub has\u0142o
+label.account.id=ID konta
+label.account=Konto
+label.account.name=Nazwa konta
+label.accounts=Konta
+label.action.attach.disk=Dodaj dysk
+label.action.attach.disk.processing=Dodawanie dysku
+label.action.attach.iso=Dodaj obraz ISO
+label.action.attach.iso.processing=Dodawanie obrazu ISO
+label.action.change.password=Zmie\u0144 has\u0142o
+label.action.copy.ISO=Kopiuj ISO
+label.action.copy.ISO.processing=Kopiuj ISO....
+label.action.copy.template=Kopij szablon
+label.action.copy.template.processing=Kopije szablon....
+label.action.create.template.from.vm=Utw\u00f3rz szablon z VM
+label.action.create.template.from.volume=Utw\u00f3rz Szablon z wolumenu
+label.action.create.template.processing=Tworz\u0119 szablon
+label.action.create.template=Utw\u00f3rz szablon
+label.action.create.vm.processing=Tworz\u0119 VM....
+label.action.create.vm=Utw\u00f3rz VM
+label.action.create.volume.processing=Tworz\u0119 wolumen....
+label.action.create.volume=Utw\u00f3rz wolumen
+label.action.delete.account.processing=Usuwanie dost\u0119pu....
+label.action.delete.account=Usu\u0144 dost\u0119p
+label.action.delete.cluster.processing=Usuwam klaster....
+label.action.delete.cluster=Usu\u0144 klaster
+label.action.delete.domain.processing=Usuwam domen\u0119....
+label.action.delete.domain=Usu\u0144 domen\u0119
+label.action.delete.firewall.processing=Usuwam Firewall
+label.action.delete.firewall=Usu\u0144 regu\u0142\u0119 Firewall
+label.action.delete.ISO.processing=Usuwam ISO....
+label.action.delete.ISO=Usu\u0144 ISO
+label.action.delete.network.processing=Usuwam sie\u0107....
+label.action.delete.network=Usu\u0144 sie\u0107
+label.action.delete.nexusVswitch=Usu\u0144 Nexus 1000v
+label.action.delete.physical.network=Usu\u0144 fizyczn\u0105 sie\u0107
+label.action.delete.user.processing=Usuwam u\u017cytkownika....
+label.action.delete.user=Usu\u0144 u\u017cytkownika
+label.action.delete.volume.processing=Usuwam wolumen....
+label.action.delete.volume=Usu\u0144 wolumen
+label.action.delete.zone.processing=Usuwam stref\u0119....
+label.action.delete.zone=Usu\u0144 stref\u0119
+label.action.destroy.instance.processing=Usuwam instancj\u0119
+label.action.destroy.instance=Usu\u0144 instancj\u0119
+label.action.detach.disk=Od\u0142\u0105cz dysk
+label.action.detach.disk.processing=Od\u0142\u0105czanie dysku....
+label.action.detach.iso=Od\u0142\u0105cz obraz ISO
+label.action.detach.iso.processing=Od\u0142\u0105czanie obrazu ISO
+label.action.disable.account.processing=Wy\u0142\u0105czam dost\u0119p....
+label.action.disable.account=Wy\u0142\u0105cz dost\u0119p
+label.action.disable.cluster.processing=Wy\u0142\u0105czam klaster....
+label.action.disable.cluster=Wy\u0142\u0105cz klaster
+label.action.disable.nexusVswitch=Wy\u0142\u0105cz Nexus 1000v
+label.action.disable.physical.network=Wy\u0142\u0105cz fizyczn\u0105 sie\u0107
+label.action.disable.user.processing=Wy\u0142\u0105czam u\u017cytkownika
+label.action.disable.user=Wy\u0142\u0105cz u\u017cytkownika
+label.action.disable.zone.processing=Wy\u0142\u0105czam stref\u0119....
+label.action.disable.zone=Wy\u0142\u0105cz stref\u0119
+label.action.download.ISO=Pobierz ISO
+label.action.download.template=Pobierz szablon
+label.action.download.volume=Pobierz wolumen
+label.action.download.volume.processing=Pobieram wolumen....
+label.action.edit.account=Edytuj dost\u0119p
+label.action.edit.domain=Edytuj domen\u0119
+label.action.edit.global.setting=Edytuj Globalne ustawienia
+label.action.edit.host=Edytuj host
+label.action.edit.instance=Edytuj instancj\u0119
+label.action.edit.ISO=Edytuj ISO
+label.action.edit.network=Edytuj sie\u0107
+label.action.edit.network.processing=Zmieniam sie\u0107....
+label.action.edit.template=Edytuj szablon
+label.action.edit.user=Edytuj u\u017cytkownika
+label.action.edit.zone=Edytuj stref\u0119
+label.action.enable.account.processing=W\u0142\u0105czam dost\u0119p....
+label.action.enable.account=W\u0142\u0105cz dost\u0119p
+label.action.enable.cluster.processing=W\u0142\u0105czam klaster....
+label.action.enable.cluster=W\u0142\u0105cz klaster
+label.action.enable.nexusVswitch=W\u0142\u0105cz Nexus 1000v
+label.action.enable.physical.network=W\u0142\u0105cz fizyczn\u0105 sie\u0107
+label.action.enable.user.processing=W\u0142\u0105czam u\u017cytkownika....
+label.action.enable.user=W\u0142\u0105cz u\u017cytkownika
+label.action.enable.zone.processing=W\u0142\u0105czam stref\u0119....
+label.action.enable.zone=W\u0142\u0105cz stref\u0119
+label.action.generate.keys=Generuj klucze
+label.action.generate.keys.processing=Generuj\u0119 klucze....
+label.action.list.nexusVswitch=Kista Nexus 1000v
+label.action.lock.account.processing=Blokuj\u0119 dost\u0119p....
+label.action.lock.account=Zablokuj dost\u0119p
+label.action.manage.cluster.processing=Zarz\u0105dzam klastrem....
+label.action.manage.cluster=Zarz\u0105dzaj klastrem
+label.action.migrate.instance=Migruj instancj\u0119
+label.action.migrate.instance.processing=Migruj\u0119 instancj\u0119....
+label.action.migrate.router=Migruj router
+label.action.migrate.router.processing=Migruje router....
+label.action.migrate.systemvm=Migruj system VM
+label.action.migrate.systemvm.processing=Migruj\u0119 system VM....
+label.action.reboot.instance.processing=Restartuje instancj\u0119
+label.action.reboot.instance=Restartuj instancj\u0119
+label.action.reboot.router.processing=Restartuje router.....
+label.action.reboot.router=Restartuj router
+label.action.reboot.systemvm.processing=Restartuje system VM....
+label.action.reboot.systemvm=Restartuj system VM
+label.action.register.iso=Rejestruj ISO
+label.action.register.template=Rejestruj szablon
+label.action.remove.host.processing=Usuwam host....
+label.action.remove.host=Usu\u0144 host
+label.action.reset.password.processing=Resetuj\u0119 has\u0142o....
+label.action.reset.password=Resetuj has\u0142o
+label.action.resize.volume.processing=Zmieniam wielko\u015b\u0107 wolumenu....
+label.action.resize.volume=Zmie\u0144 wielko\u015b\u0107 wolumenu
+label.action.restore.instance=Przywr\u00f3\u0107 instancj\u0119
+label.actions=Akcje
+label.action.start.instance.processing=Uruchamiam instancj\u0119....
+label.action.start.instance=Uruchom instancj\u0119
+label.action.start.router.processing=Uruchamiam router....
+label.action.start.router=Uruchom router
+label.action.start.systemvm.processing=Uruchamiam system VM...
+label.action.start.systemvm=Uruchom system VM
+label.action.stop.instance.processing=Zatrzymuj\u0119 instancj\u0119....
+label.action.stop.instance=Zatrzymaj instancj\u0119
+label.action.stop.router.processing=Zatrzymuj\u0119 router...
+label.action.stop.router=Zatrzymaj router
+label.action.stop.systemvm.processing=Zatrzymuj\u0119 system VM....
+label.action.stop.systemvm=Zatrzymaj system VM
+label.action.take.snapshot.processing=Tworz\u0119 snapshot....
+label.action.take.snapshot=Zr\u00f3b snapshot
+label.activate.project=Aktywuj projekt
+label.add.account=Dodaj konto
+label.add.accounts=Dodaj konta
+label.add.accounts.to=Dodaj konto do
+label.add.account.to.project=Dodaj konto do projektu
+label.add.ACL=Dodaj ACL
+label.add.by.cidr=Dodaj przez CIDR
+label.add.by=Dodaj przez
+label.add.by.group=Dodaj przez grup\u0119
+label.add.cluster=Dodaj klaster
+label.add=Dodaj
+label.add.domain=Dodaj domen\u0119
+label.add.firewall=Dodaj regu\u0142\u0119 firewall
+label.add.host=Dodaj host
+label.adding=Dodawanie
+label.adding.failed=Dodanie nieudane
+label.adding.processing=Dodawanie
+label.adding.succeeded=Dodanie udane
+label.add.more=Dodaj wi\u0119cej
+label.add.network.device=Dodaj urz\u0105dzenie sieciowe
+label.add.network=Dodaj sie\u0107
+label.add.new.F5=Dodaj nowy F5
+label.add.new.SRX=Dodaj nowy SRX
+label.add.region=Dodaj region
+label.add.rule=Dodaj regu\u0142\u0119
+label.add.to.group=Dodaj do grupy
+label.add.user=Dodaj u\u017cytkownika
+label.add.vlan=Dodaj VLAN
+label.add.vm=Dodaj VM
+label.add.vms=Dodaj VM-ny
+label.add.volume=Dodaj wolumen
+label.add.vpc=Dodaj VPC
+label.add.zone=Dodaj stref\u0119
+label.admin=Admin
+label.api.key=Klucz API
+label.apply=Zastosuj
+label.author.name=Imi\u0119 autora
+label.available=Dost\u0119pne
+label.available.public.ips=Dost\u0119pne publiczne adresy IP
+label.back=Wstecz
+label.bandwidth=Przepustowo\u015b\u0107
+label.cancel=Zako\u0144cz
+label.certificate=Certyfikat
+label.cidr=CIDR
+label.CIDR.list=Lista CIDR
+label.clean.up=Wyczy\u015b\u0107
+label.clear.list=Wyczy\u015b\u0107 list\u0119
+label.close=Zamknij
+label.clvm=CLVM
+label.code=Kod
+label.community=Spo\u0142eczno\u015b\u0107
+label.configuration=Konfiguracja
+label.configure=Konfiguruj
+label.configure.vpc=Konfiguruj VPC
+label.confirmation=Potwierdzenie
+label.confirm.password=Potwierd\u017a has\u0142o
+label.congratulations=Gratulacje\!
+label.continue=Kontynuuj
+label.corrections.saved=Poprawka zapisana
+label.cpu=CPU
+label.cpu.limits=Limit CPU
+label.cpu.mhz=CPU (w MHz)
+label.created.by.system=Utworzono przez system
+label.created=Utworzono
+label.create.project=Stw\u00f3rz projekt
+label.daily=Dziennie
+label.date=Data
+label.day.of.month=Dzie\u0144 miesi\u0105ca
+label.day.of.week=Dzie\u0144 tygodnia
+label.dedicated=Dedykowany
+label.default=Domy\u015blnie
+label.default.view=Widok domy\u015blny
+label.delete.F5=Usu\u0144 F5
+label.delete.project=Usu\u0144 projekt
+label.delete.SRX=Usu\u0144 SRX
+label.delete=Usu\u0144
+label.deleting.failed=Usuwanie nieudane
+label.deleting.processing=Usuwanie....
+label.destroy.router=Zniszcz router
+label.destroy=Zniszcz
+label.detaching.disk=Od\u0142\u0105czanie dysku
+label.details=Szczeg\u00f3\u0142y
+label.disabled=Wy\u0142\u0105czony
+label.disable.vpn=Wy\u0142\u0105cz VPN
+label.disk.size.gb=Wielko\u015b\u0107 dysku (w GB)
+label.disk.size=Wielko\u015b\u0107 dysku
+label.display.name=Wy\u015bwietlana nazwa
+label.domain.admin=Administrator domeny
+label.domain=Domena
+label.domain.id=ID domeny
+label.domain.name=Nazwa domeny
+label.done=Sko\u0144czono
+label.download.progress=Post\u0119p w pobieraniu
+label.drag.new.position=Przenie\u015b w nowe miejsce
+label.edit=Edytuj
+label.edit.network.details=Edytuj szczeg\u00f3\u0142y sieci
+label.edit.project.details=Zmie\u0144 szczeg\u00f3\u0142y projektu
+label.edit.vpc=Edytuj VPC
+label.elastic=Elastyczny
+label.elastic.IP=Zmienne IP
+label.email=Poczta
+label.enable.vpn=W\u0142\u0105cz VPN
+label.error=B\u0142\u0105d
+label.f5=F5
+label.featured=Polecane
+label.filterBy=Filtrowanie wg
+label.firewall=Zapora
+label.first.name=Pierwsza nazwa
+label.format=Format
+label.friday=Pi\u0105tek
+label.full.path=Pe\u0142na \u015bcie\u017cka
+label.go.step.2=Id\u017a do punktu 2
+label.go.step.3=Id\u017a do punktu 3
+label.go.step.4=Id\u017a do punktu 4
+label.go.step.5=Id\u017a do punktu 5
+label.group=Grupa
+label.group.optional=Grupa (opcjonalnie)
+label.guest=Go\u015b\u0107
+label.guest.type=Rodzaj go\u015bci
+label.help=Pomoc
+label.hints=Podpowiedzi
+label.id=ID
+label.info=Informacje
+label.instances=Instancje
+label.invitations=Zaproszenia
+label.invited.accounts=Zaproszone konta
+label.invite.to=Zapro\u015b do
+label.invite=Zapro\u015b
+label.ip=IP
+label.iso=ISO
+label.keep=Zostaw
+label.key=Klucz
+label.lang.english=Angielski
+label.lang.french=Francuski
+label.lang.japanese=Japo\u0144ski
+label.lang.korean=Korea\u0144ski
+label.lang.russian=Rosyjski
+label.lang.spanish=Hiszpia\u0144ski
+label.last.name=Nazwisko
+label.least.connections=Ostatnie po\u0142\u0105czenie
+label.level=Poziom
+label.loading=Wczytywanie
+label.local=Lokalne
+label.local.storage.enabled=Pami\u0119\u0107 lokalna w\u0142\u0105czona
+label.local.storage=Pami\u0119\u0107 lokalna
+label.login=Zaloguj
+label.logout=Wyloguj
+label.lun=LUN
+label.LUN.number=LUN \#
+label.max.guest.limit=Maksymalna liczba go\u015bci
+label.maximum=Maksimum
+label.max.public.ips=Maksymalna liczba publicznych adres\u00f3w IP
+label.memory.limits=Limit pami\u0119ci (MiB)
+label.memory.mb=Pami\u0119\u0107 (w MB)
+label.memory=Pami\u0119\u0107
+label.menu.accounts=Konta
+label.menu.alerts=Alarmy
+label.menu.all.accounts=Wszystkie konta
+label.menu.all.instances=Wszystkie instancje
+label.menu.configuration=Konfiguracja
+label.menu.domains=Domeny
+label.menu.infrastructure=Infrastruktura
+label.menu.instances=Instancje
+label.menu.ipaddresses=Adresy IP
+label.menu.isos=ISO
+label.menu.my.accounts=Moje konta
+label.menu.my.instances=Moje instancje
+label.menu.my.isos=Moje ISO
+label.menu.network=Sie\u0107
+label.menu.regions=Regiony
+label.menu.system=System
+label.minimum=Minimum
+label.monday=Poniedzia\u0142ek
+label.monthly=Miesi\u0119cznie
+label.move.down.row=Jeden rz\u0105d na d\u00f3\u0142
+label.move.to.top=Przenie\u015b na sam\u0105 g\u00f3r\u0119
+label.move.up.row=Jeden rz\u0105d do g\u00f3ry
+label.my.account=Moje konto
+label.my.network=Moja sie\u0107
+label.name=Nazwa
+label.name.optional=Nazwa (opcjonalnie)
+label.network.id=ID sieci
+label.network.name=Nazwa sieci
+label.network=Sie\u0107
+label.networks=Sieci
+label.new=Nowy
+label.new.project=Nowy projekt
+label.next=Nast\u0119pny
+label.nfs=NFS
+label.nfs.server=Serwer NFS
+label.no.data=Brak danych
+label.none=Brak
+label.no=Nie
+label.no.thanks=Nie dzi\u0119kuj\u0119
+label.notifications=Przypomnienia
+label.number.of.hosts=Liczba host\u00f3w
+label.ok=OK
+label.order=Zadanie
+label.password=Has\u0142o
+label.path=\u015acie\u017cka
+label.please.wait=Prosz\u0119 czeka\u0107
+label.plugin.details=Szczeg\u00f3\u0142y wtyczki
+label.plugins=Wtyczki
+label.previous=Wstecz
+label.private.network=Sie\u0107 prywatna
+label.project.id=Nazwa ID projektu
+label.project.invite=Zapro\u015b do projektu
+label.project.name=Nazwa projektu
+label.project=Projekt
+label.projects=Projekty
+label.protocol=Protok\u00f3\u0142
+label.providers=Dostawcy
+label.public.ip=Publiczny adres IP
+label.public.ips=Publiczne adresy IP
+label.public.network=Sie\u0107 publiczna
+label.public=Pobliczny
+label.public.port=Publiczny port
+label.reboot=Uruchom ponownie
+label.refresh=Od\u015bwie\u017c
+label.region=Region
+label.remind.later=Przypomnij p\u00f3\u017aniej
+label.remove.rule=Usu\u0144 regu\u0142\u0119
+label.remove.vpc=Usu\u0144 VPC
+label.removing.user=Usu\u0144 u\u017cytkownika
+label.removing=Usuwanie
+label.required=Wymagane
+label.resource.limits=Limit zasob\u00f3w
+label.resources=Zasoby
+label.resource=Zas\u00f3b
+label.restart.required=Wymagany restart
+label.rules=Zasady
+label.saturday=Sobota
+label.save.and.continue=Zapisz i kontynuuj
+label.save=Zapisz
+label.saving.processing=Zapisywanie....
+label.search=Szukaj
+label.select.instance=Wybierz instancj\u0119
+label.select.project=Wybierz projekt
+label.select=Wybierz
+label.sent=Wys\u0142ano
+label.server=Serwer
+label.size=Wielko\u015bc
+label.specify.IP.ranges=Wyszczeg\u00f3lnij zasi\u0119g adres\u00f3w IP
+label.srx=SRX
+label.statistics=Statystyki
+label.status=Status
+label.step.1=Krok 1
+label.step.2=Krok 2
+label.step.3=Krok 3
+label.step.4=Krok 4
+label.step.5=Krok 5
+label.sticky.domain=Domena
+label.sticky.expire=Wygasa
+label.sticky.length=D\u0142ugo\u015b\u0107
+label.sticky.mode=Tryb
+label.sticky.prefix=Prefiks
+label.stop=Stop
+label.sunday=Niedziela
+label.suspend.project=Zawie\u015b projekt
+label.tagged=Otagowany
+label.tags=Tagi
+label.task.completed=Zadania uko\u0144czone
+label.time=Czas
+label.time.zone=Strefa czasowa
+label.timezone=Strefa czasowa
+label.type.id=Wpisz ID
+label.type=Wpisz
+label.unavailable=Niedost\u0119pny
+label.unlimited=Nieograniczony
+label.untagged=Nieotagowany
+label.updating=Aktualizowanie
+label.url=URL
+label.used=U\u017cyte
+label.username=Nazwa u\u017cytkownika
+label.users=U\u017cytkownicy
+label.user=U\u017cytkowni
+label.version=Wersja
+label.view.all=Zobacz wszystko
+label.view=Zobacz
+label.vm.add=Dodaj instancj\u0119
+label.vm.destroy=Zniszcz
+label.vmfs=VMFS
+label.vm.name=Nazwa VM
+label.vm.reboot=Uruchom ponownie
+label.vmsnapshot.type=Wpisz
+label.vm.start=Rozpocznij
+label.vm.stop=Stop
+label.vms=VMs
+label.vpc=VPC
+label.vpn=VPN
+label.waiting=Czekanie
+label.warn=Ostrze\u017cenie
+label.wednesday=\u015aroda
+label.weekly=Tygodniowo
+label.welcome=Witaj
+label.what.is.cloudstack=Czym jest CloudStack&\#8482?
+label.yes=Tak
+message.action.delete.nexusVswitch=Potwierd\u017a, \u017ce chcesz usun\u0105\u0107\: nexus 1000v
+message.action.download.iso=Potwierd\u017a, \u017ce chcesz pobra\u0107 ten obraz ISO.
+message.activate.project=Czy na pewno chcesz aktywowa\u0107 ten projekt?
+message.confirm.delete.F5=Czy na pewno chcesz usun\u0105\u0107 F5?
+message.confirm.delete.SRX=Czy na pewno chcesz usun\u0105\u0107 SRX?
+message.delete.project=Czy na pewno chcesz usun\u0105\u0107 ten projekt?
+message.disable.vpn=Czy na pewno chcesz wy\u0142\u0105czy\u0107 VPN?
+message.no.projects=Nie posiadasz \u017cadnych projekt\u00f3w.
Utw\u00f3rz nowy projekt w zak\u0142adce projekty
+message.please.proceed=Przejd\u017a do nast\u0119pnego punktu
+message.step.2.desc=
+message.step.3.desc=
+message.suspend.project=Czy na pewno chcesz zawiesi\u0107 ten projekt
+mode=Tryb
+state.Accepted=Akceptowano
+state.Active=Aktywny
+state.Completed=Uko\u0144czono
+state.Creating=Tworzenie
+state.Declined=Odrzucono
+state.Destroyed=Zniszczono
+state.Disabled=Wy\u0142\u0105czony
+state.enabled=W\u0142\u0105czone
+state.Enabled=W\u0142\u0105czone
+state.Error=B\u0142\u0105d
+state.ready=Gotowe
+state.Ready=Gotowe
+state.Starting=Rozpoczynanie
+state.Stopped=Zatrzymano
+state.Suspended=Zawieszono
+ui.listView.filters.all=Wszystko
diff --git a/client/WEB-INF/classes/resources/messages_pt_BR.properties b/client/WEB-INF/classes/resources/messages_pt_BR.properties
index 86bb83177a8..07fd3f42d76 100644
--- a/client/WEB-INF/classes/resources/messages_pt_BR.properties
+++ b/client/WEB-INF/classes/resources/messages_pt_BR.properties
@@ -373,6 +373,7 @@ label.compute.and.storage=Processamento e Armazenamento
label.compute.offering=Oferta de Computa\u00e7\u00e3o
label.configuration=Configura\u00e7\u00e3o
label.configure=Configurar
+label.configure.ldap=Configurar LDAP
label.configure.network.ACLs=Configure ACLs de rede
label.configure.vpc=Configurar VPC
label.confirmation=Confirma\u00e7\u00e3o
@@ -390,6 +391,7 @@ label.cpu.mhz=CPU (em MHz)
label.cpu.utilized=CPU Utilizada
label.created.by.system=Criado pelo sistema
label.created=Criado
+label.create.nfs.secondary.staging.store=Criar storage staging secund\u00e1rio NFS
label.create.project=Criar um projeto
label.create.template=Criar template
label.create.VPN.connection=Criar uma conex\u00e3o VPN
@@ -418,6 +420,7 @@ label.delete.VPN.gateway=deletar um gateway de VPN
label.delete.vpn.user=Deletar usu\u00e1rio VPN
label.deleting.failed=Falha ao remover
label.deleting.processing=Removendo....
+label.deployment.planner=Deployment planejado
label.description=Descri\u00e7\u00e3o
label.destination.physical.network.id=ID de destino da rede f\u00edsica
label.destination.zone=Zona de Destino
@@ -617,6 +620,9 @@ label.launch=Executar
label.launch.vm=Executar VM
label.launch.zone=Executar zona.
label.LB.isolation=Isolamento de LB
+label.ldap.configuration=Configura\u00e7\u00e3o do LDAP
+label.ldap.group.name=Grupo LDAP
+label.ldap.port=Porta do LDAP
label.least.connections=Least connections
label.level=N\u00edvel
label.load.balancer=Load Balancer
@@ -784,6 +790,7 @@ label.PING.CIFS.password=PING CIFS password
label.PING.CIFS.username=PING CIFS username
label.PING.dir=PING Directory
label.PING.storage.IP=Disparar PING para IP do Storage
+label.planner.mode=Modo planejado
label.please.specify.netscaler.info=Por favor especifique as informa\u00e7\u00f5es do Netscaler
label.please.wait=Por Favor Aguarde
label.pod.name=Nome do Pod
@@ -791,6 +798,7 @@ label.pod=POD
label.pods=Pods
label.port.forwarding=Encaminhamento de Porta
label.port.forwarding.policies=Pol\u00edticas de redirecionamento de portas
+label.port=Porta
label.port.range=Range de Porta
label.PreSetup=PreSetup
label.previous=Anterior
@@ -829,6 +837,15 @@ label.public.zone=Zona P\u00fablica
label.purpose=Prop\u00f3sito
label.Pxe.server.type=Tipo de Servidor PXE
label.quickview=Visualiza\u00e7\u00e3o r\u00e1pida
+<<<<<<< HEAD
+=======
+label.quiesce.vm=Quiesce VM
+label.rbd.id=Usu\u00e1rio Ceph
+label.rbd.monitor=Monitor Ceph
+label.rbd.pool=Pool Ceph
+label.rbd=RDB
+label.rbd.secret=Cephx secret
+>>>>>>> 4e449ff... Add Dutch (Netherlands, Polish languages in Web UI Change Japanese code (ja -> ja_JP) Update transifex sync config
label.reboot=Reiniciar
label.recent.errors=Erros Recentes
label.redundant.router.capability=Recurso de roteador redundante
@@ -841,6 +858,7 @@ label.remove.egress.rule=Remover regra egress
label.remove.from.load.balancer=Removendo Cloud Server do Load Balancer
label.remove.ingress.rule=Remover regra ingress
label.remove.ip.range=Remover range de IP
+label.remove.ldap=Remover LDAP
label.remove.pf=Remover regra de redirecionamento de porta
label.remove.project.account=Remover conta de projeto
label.remove.rule=Remover regra
@@ -924,6 +942,9 @@ label.show.ingress.rule=Mostrar Regra de Entrada
label.site.to.site.VPN=Site-to-site VPN
label.size=Tamanho
label.skip.guide=Eu utilizei o CloudStack antes, pular este guia
+label.smb.domain=Dom\u00ednio SMB
+label.smb.password=Senha SMB
+label.smb.username=Usu\u00e1rio SMB
label.snapshot.limits=Limites de Snapshot
label.snapshot.name=Nome do Snapshot
label.snapshot=Snapshot
@@ -1080,6 +1101,12 @@ label.vm.state=Estado da VM
label.vm.stop=Parar
label.vms=VMs
label.vmware.traffic.label=Etiqueta de tr\u00e1fego VMware
+<<<<<<< HEAD
+=======
+label.vnet.id=VLAN ID
+label.vnet=VLAN
+label.volatile=Vol\u00e1til
+>>>>>>> 4e449ff... Add Dutch (Netherlands, Polish languages in Web UI Change Japanese code (ja -> ja_JP) Update transifex sync config
label.volgroup=Grupo de Volume
label.volume=Disco
label.volume.limits=Limites de Disco
@@ -1230,6 +1257,7 @@ message.basic.mode.desc=Escolha este modelo de rede se voc\u00ea *n\u00e3o
message.change.offering.confirm=Confirme que voc\u00ea deseja mudar o plano deste Cloud Server.
message.change.password=Por favor, troque sua senha.
message.configure.all.traffic.types=Voc\u00ea tem m\u00faltiplas redes f\u00edsicas; favor configurar etiquetas para cada tipo de tr\u00e1fego clicando no bot\u00e3o Edit.
+message.configure.ldap=Por favor, confirme que voc\u00ea deseja configurar o LDAP.
message.configuring.guest.traffic=Configurando tr\u00e1fego do guest
message.configuring.physical.networks=Configurando redes f\u00edsicas
message.configuring.public.traffic=Configurando tr\u00e1fego p\u00fablico
@@ -1355,6 +1383,14 @@ message.please.select.a.different.public.and.management.network.before.removing=
message.please.select.networks=Por favor selecione as redes para sua m\u00e1quina virtual.
message.please.wait.while.zone.is.being.created=Por favor, espere enquanto sua zona est\u00e1 sendo criada; isto pode demorar um pouco...
message.project.invite.sent=Convite enviado para o usu\u00e1rio; Eles ser\u00e3o adicionados ao projeto ap\u00f3s aceitarem o convite
+<<<<<<< HEAD
+=======
+message.public.traffic.in.advanced.zone=O tr\u00e1fego p\u00fablico \u00e9 gerado quando as VMs na nuvem acessam a internet. Os IPs acess\u00edveis ao p\u00fablico devem ser alocados para essa finalidade. Os usu\u00e1rios finais podem usar a interface do usu\u00e1rio CloudStack para adquirir esses IPs afim de implementar NAT entre a sua rede de guests e sua rede p\u00fablica.
Forne\u00e7a pelo menos um intervalo de endere\u00e7os IP para o tr\u00e1fego de internet.
+message.public.traffic.in.basic.zone=O tr\u00e1fego p\u00fablico \u00e9 gerado quando as VMs na nuvem acessam a Internet ou prestam servi\u00e7os aos clientes atrav\u00e9s da Internet. Os IPs acess\u00edveis ao p\u00fablico devem ser alocados para essa finalidade. Quando uma inst\u00e2ncia \u00e9 criada, um IP a partir deste conjunto de IPs p\u00fablicos ser\u00e3o destinados \u00e0 inst\u00e2ncia, al\u00e9m do endere\u00e7o IP guest. Um NAT est\u00e1tico 1-1 ser\u00e1 criada automaticamente entre o IP p\u00fablico e IP guest. Os usu\u00e1rios finais tamb\u00e9m podem usar a interface de usu\u00e1rio CloudStack para adquirir IPs adicionais afim de se implementar NAT est\u00e1tico entre suas inst\u00e2ncias e o IP p\u00fablico.
+message.redirecting.region=Redirecionando para regi\u00e3o...
+message.remove.ldap=Voc\u00ea tem certeza que deseja deletar a configura\u00e7\u00e3o LDAP?
+message.remove.region=Voc\u00ea tem certeza que deseja remover esta regi\u00e3o deste servidor de gerenciamento?
+>>>>>>> 4e449ff... Add Dutch (Netherlands, Polish languages in Web UI Change Japanese code (ja -> ja_JP) Update transifex sync config
message.remove.vpc=Favor confirmar que voc\u00ea deseja remover a VPC
message.remove.vpn.access=Confirme se voc\u00ea deseja remover acesso VPN do seguinte Usu\u00e1rio.
message.reset.password.warning.notPasswordEnabled=O template desta inst\u00e2ncia foi criado sem senha habilitada
diff --git a/client/pom.xml b/client/pom.xml
index fc01113c7a0..5215e0cd90e 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -130,6 +130,11 @@
cloud-plugin-network-vxlan
${project.version}
+
+ org.apache.cloudstack
+ cloud-plugin-network-opendaylight
+ ${project.version}
+
org.apache.cloudstack
cloud-plugin-hypervisor-xen
@@ -176,6 +181,11 @@
cloud-plugin-planner-user-dispersing
${project.version}
+
+ org.apache.cloudstack
+ cloud-plugin-planner-skip-heurestics
+ ${project.version}
+
org.apache.cloudstack
cloud-plugin-planner-user-concentrated-pod
@@ -201,6 +211,11 @@
cloud-mom-rabbitmq
${project.version}
+
+ org.apache.cloudstack
+ cloud-mom-inmemory
+ ${project.version}
+
mysql
mysql-connector-java
@@ -547,36 +562,6 @@
-
-
-
-
- org.eclipse.m2e
- lifecycle-mapping
- 1.0.0
-
-
-
-
-
- org.apache.maven.plugins
- maven-antrun-plugin
- [1.7,)
-
- run
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/client/tomcatconf/commands.properties.in b/client/tomcatconf/commands.properties.in
index a05310bff77..4f38c317bdd 100644
--- a/client/tomcatconf/commands.properties.in
+++ b/client/tomcatconf/commands.properties.in
@@ -72,6 +72,7 @@ migrateVirtualMachine=1
migrateVirtualMachineWithVolume=1
recoverVirtualMachine=7
expungeVirtualMachine=7
+getVirtualMachineUserData=15
#### snapshot commands
createSnapshot=15
@@ -266,7 +267,7 @@ deleteImageStore=1
createSecondaryStagingStore=1
listSecondaryStagingStores=1
deleteSecondaryStagingStore=1
-prepareSecondaryStorageForMigration=1
+updateCloudToUseObjectStore=1
#### host commands
addHost=3
@@ -706,3 +707,8 @@ importLdapUsers=3
#### juniper-contrail commands
createServiceInstance=1
+
+### OpenDaylight plugin commands
+addOpenDaylightController=1
+deleteOpenDaylightController=1
+listOpenDaylightControllers=1
diff --git a/core/pom.xml b/core/pom.xml
index cdcfd536b93..975e9f64072 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -36,6 +36,11 @@
cloud-engine-api
${project.version}
+
+ org.apache.cloudstack
+ cloud-framework-security
+ ${project.version}
+
commons-codec
commons-codec
diff --git a/core/resources/META-INF/cloudstack/core/spring-core-registry-core-context.xml b/core/resources/META-INF/cloudstack/core/spring-core-registry-core-context.xml
index be11a1f711f..5e799c06483 100644
--- a/core/resources/META-INF/cloudstack/core/spring-core-registry-core-context.xml
+++ b/core/resources/META-INF/cloudstack/core/spring-core-registry-core-context.xml
@@ -77,6 +77,11 @@
+
+
+
+
diff --git a/core/resources/META-INF/cloudstack/planner/spring-core-lifecycle-planner-context-inheritable.xml b/core/resources/META-INF/cloudstack/planner/spring-core-lifecycle-planner-context-inheritable.xml
index 715f86d9c28..80779e43466 100644
--- a/core/resources/META-INF/cloudstack/planner/spring-core-lifecycle-planner-context-inheritable.xml
+++ b/core/resources/META-INF/cloudstack/planner/spring-core-lifecycle-planner-context-inheritable.xml
@@ -38,4 +38,9 @@
value="org.apache.cloudstack.affinity.AffinityGroupProcessor" />
+
+
+
+
+
diff --git a/core/src/com/cloud/agent/api/AttachVolumeCommand.java b/core/src/com/cloud/agent/api/AttachVolumeCommand.java
index 911ff543bf9..a0ee4199156 100644
--- a/core/src/com/cloud/agent/api/AttachVolumeCommand.java
+++ b/core/src/com/cloud/agent/api/AttachVolumeCommand.java
@@ -84,7 +84,7 @@ public class AttachVolumeCommand extends Command {
}
public String getVolumeName() {
- return volumeName;
+ return volumeName;
}
public Long getVolumeSize() {
diff --git a/core/src/com/cloud/agent/api/ComputeChecksumCommand.java b/core/src/com/cloud/agent/api/ComputeChecksumCommand.java
index aec244b1e4e..8c654d71ec5 100755
--- a/core/src/com/cloud/agent/api/ComputeChecksumCommand.java
+++ b/core/src/com/cloud/agent/api/ComputeChecksumCommand.java
@@ -16,10 +16,10 @@
// under the License.
package com.cloud.agent.api;
-import com.cloud.agent.api.storage.ssCommand;
+import com.cloud.agent.api.storage.SsCommand;
import com.cloud.agent.api.to.DataStoreTO;
-public class ComputeChecksumCommand extends ssCommand {
+public class ComputeChecksumCommand extends SsCommand {
private DataStoreTO store;
private String templatePath;
diff --git a/core/src/com/cloud/agent/api/CreatePrivateTemplateFromVolumeCommand.java b/core/src/com/cloud/agent/api/CreatePrivateTemplateFromVolumeCommand.java
index 84f50af4bef..7880554478d 100644
--- a/core/src/com/cloud/agent/api/CreatePrivateTemplateFromVolumeCommand.java
+++ b/core/src/com/cloud/agent/api/CreatePrivateTemplateFromVolumeCommand.java
@@ -79,8 +79,8 @@ public class CreatePrivateTemplateFromVolumeCommand extends SnapshotCommand {
}
@Override
- public void setVolumePath(String _volumePath) {
- this._volumePath = _volumePath;
+ public void setVolumePath(String volumePath) {
+ this._volumePath = volumePath;
}
@Override
diff --git a/core/src/com/cloud/agent/api/GetVmConfigAnswer.java b/core/src/com/cloud/agent/api/GetVmConfigAnswer.java
new file mode 100644
index 00000000000..46e003ecae3
--- /dev/null
+++ b/core/src/com/cloud/agent/api/GetVmConfigAnswer.java
@@ -0,0 +1,68 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package com.cloud.agent.api;
+
+import java.util.List;
+
+public class GetVmConfigAnswer extends Answer {
+
+ String vmName;
+ List nics;
+
+ protected GetVmConfigAnswer() {
+ }
+
+ public GetVmConfigAnswer(String vmName, List nics) {
+ this.vmName = vmName;
+ this.nics = nics;
+ }
+
+ public String getVmName() {
+ return vmName;
+ }
+
+ public List getNics() {
+ return nics;
+ }
+
+ public class NicDetails {
+ String macAddress;
+ int vlanid;
+
+ public NicDetails() {
+ }
+
+ public NicDetails(String macAddress, int vlanid) {
+ this.macAddress = macAddress;
+ this.vlanid = vlanid;
+ }
+
+ public String getMacAddress() {
+ return macAddress;
+ }
+
+ public int getVlanid() {
+ return vlanid;
+ }
+
+ }
+
+ @Override
+ public boolean executeInSequence() {
+ return false;
+ }
+}
\ No newline at end of file
diff --git a/core/src/com/cloud/agent/api/GetVmConfigCommand.java b/core/src/com/cloud/agent/api/GetVmConfigCommand.java
new file mode 100644
index 00000000000..9133bd6b2c3
--- /dev/null
+++ b/core/src/com/cloud/agent/api/GetVmConfigCommand.java
@@ -0,0 +1,46 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package com.cloud.agent.api;
+
+
+import java.util.List;
+
+import com.cloud.agent.api.to.NicTO;
+
+public class GetVmConfigCommand extends Command {
+ String vmName;
+ List nics;
+ protected GetVmConfigCommand() {
+ }
+
+ public GetVmConfigCommand(String vmName) {
+ this.vmName = vmName;
+ }
+
+ public String getVmName() {
+ return vmName;
+ }
+
+ public void setNics(List nics){
+ this.nics = nics;
+ }
+
+ @Override
+ public boolean executeInSequence() {
+ return false;
+ }
+}
diff --git a/core/src/com/cloud/agent/api/ManageSnapshotCommand.java b/core/src/com/cloud/agent/api/ManageSnapshotCommand.java
index e3abb503294..fb2d0d52803 100644
--- a/core/src/com/cloud/agent/api/ManageSnapshotCommand.java
+++ b/core/src/com/cloud/agent/api/ManageSnapshotCommand.java
@@ -22,8 +22,8 @@ import com.cloud.storage.StoragePool;
public class ManageSnapshotCommand extends Command {
// XXX: Should be an enum
// XXX: Anyway there is something called inheritance in Java
- public static String CREATE_SNAPSHOT = "-c";
- public static String DESTROY_SNAPSHOT = "-d";
+ public static final String CREATE_SNAPSHOT = "-c";
+ public static final String DESTROY_SNAPSHOT = "-d";
private String _commandSwitch;
diff --git a/core/src/com/cloud/agent/api/ModifyVmNicConfigAnswer.java b/core/src/com/cloud/agent/api/ModifyVmNicConfigAnswer.java
new file mode 100644
index 00000000000..1140485c67c
--- /dev/null
+++ b/core/src/com/cloud/agent/api/ModifyVmNicConfigAnswer.java
@@ -0,0 +1,36 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package com.cloud.agent.api;
+
+public class ModifyVmNicConfigAnswer extends Answer {
+ String vmName;
+ protected ModifyVmNicConfigAnswer() {
+ }
+
+ public ModifyVmNicConfigAnswer(String vmName) {
+ this.vmName = vmName;
+ }
+
+ public String getVmName() {
+ return vmName;
+ }
+
+ @Override
+ public boolean executeInSequence() {
+ return false;
+ }
+}
diff --git a/core/src/com/cloud/agent/api/ModifyVmNicConfigCommand.java b/core/src/com/cloud/agent/api/ModifyVmNicConfigCommand.java
new file mode 100644
index 00000000000..0230beca732
--- /dev/null
+++ b/core/src/com/cloud/agent/api/ModifyVmNicConfigCommand.java
@@ -0,0 +1,42 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package com.cloud.agent.api;
+
+
+public class ModifyVmNicConfigCommand extends Command {
+ String vmName;
+ int vlan;
+ String macAddress;
+ protected ModifyVmNicConfigCommand() {
+ }
+
+ public ModifyVmNicConfigCommand(String vmName, int vlan, String macAddress) {
+ this.vmName = vmName;
+ this.vlan = vlan;
+ this.macAddress = macAddress;
+ }
+
+ public String getVmName() {
+ return vmName;
+ }
+
+
+ @Override
+ public boolean executeInSequence() {
+ return false;
+ }
+}
diff --git a/core/src/com/cloud/agent/api/PerformanceMonitorAnswer.java b/core/src/com/cloud/agent/api/PerformanceMonitorAnswer.java
index 10f4185719d..f8ec05dfd72 100644
--- a/core/src/com/cloud/agent/api/PerformanceMonitorAnswer.java
+++ b/core/src/com/cloud/agent/api/PerformanceMonitorAnswer.java
@@ -17,11 +17,11 @@
package com.cloud.agent.api;
public class PerformanceMonitorAnswer extends Answer {
- public PerformanceMonitorAnswer() {
- }
+ public PerformanceMonitorAnswer() {
+ }
- public PerformanceMonitorAnswer(PerformanceMonitorCommand cmd,
- boolean result, String details) {
- super(cmd, result, details);
- }
+ public PerformanceMonitorAnswer(PerformanceMonitorCommand cmd,
+ boolean result, String details) {
+ super(cmd, result, details);
+ }
}
diff --git a/core/src/com/cloud/agent/api/PerformanceMonitorCommand.java b/core/src/com/cloud/agent/api/PerformanceMonitorCommand.java
index 882d7b18763..d0a6eb1f714 100644
--- a/core/src/com/cloud/agent/api/PerformanceMonitorCommand.java
+++ b/core/src/com/cloud/agent/api/PerformanceMonitorCommand.java
@@ -21,26 +21,26 @@ import java.util.Map;
public class PerformanceMonitorCommand extends Command {
- Map params = new HashMap();
+ Map params = new HashMap();
- public PerformanceMonitorCommand() {
- }
+ public PerformanceMonitorCommand() {
+ }
- public PerformanceMonitorCommand(Map params, int wait) {
- setWait(wait);
- this.params = params;
- }
+ public PerformanceMonitorCommand(Map params, int wait) {
+ setWait(wait);
+ this.params = params;
+ }
- @Override
- public boolean executeInSequence() {
- return false;
- }
+ @Override
+ public boolean executeInSequence() {
+ return false;
+ }
- public Map getParams() {
- return params;
- }
+ public Map getParams() {
+ return params;
+ }
- public void setParams(Map params) {
- this.params = params;
- }
+ public void setParams(Map params) {
+ this.params = params;
+ }
}
diff --git a/core/src/com/cloud/agent/api/SecStorageSetupCommand.java b/core/src/com/cloud/agent/api/SecStorageSetupCommand.java
index 3c8d7300064..18710320dc8 100644
--- a/core/src/com/cloud/agent/api/SecStorageSetupCommand.java
+++ b/core/src/com/cloud/agent/api/SecStorageSetupCommand.java
@@ -16,50 +16,21 @@
// under the License.
package com.cloud.agent.api;
-import com.cloud.agent.api.LogLevel.Log4jLevel;
+import org.apache.cloudstack.framework.security.keystore.KeystoreManager;
+
import com.cloud.agent.api.to.DataStoreTO;
public class SecStorageSetupCommand extends Command {
private DataStoreTO store;
private String secUrl;
- private Certificates certs;
+ private KeystoreManager.Certificates certs;
- public static class Certificates {
- @LogLevel(Log4jLevel.Off)
- private String privKey;
- @LogLevel(Log4jLevel.Off)
- private String privCert;
- @LogLevel(Log4jLevel.Off)
- private String certChain;
-
- public Certificates() {
-
- }
-
- public Certificates(String prvKey, String privCert, String certChain) {
- this.privKey = prvKey;
- this.privCert = privCert;
- this.certChain = certChain;
- }
-
- public String getPrivKey() {
- return this.privKey;
- }
-
- public String getPrivCert() {
- return this.privCert;
- }
-
- public String getCertChain() {
- return this.certChain;
- }
- }
public SecStorageSetupCommand() {
super();
}
- public SecStorageSetupCommand(DataStoreTO store, String secUrl, Certificates certs) {
+ public SecStorageSetupCommand(DataStoreTO store, String secUrl, KeystoreManager.Certificates certs) {
super();
this.secUrl = secUrl;
this.certs = certs;
@@ -75,8 +46,8 @@ public class SecStorageSetupCommand extends Command {
return secUrl;
}
- public Certificates getCerts() {
- return this.certs;
+ public KeystoreManager.Certificates getCerts() {
+ return certs;
}
public void setSecUrl(String secUrl) {
diff --git a/core/src/com/cloud/agent/api/SetupCommand.java b/core/src/com/cloud/agent/api/SetupCommand.java
index 65700e9453c..ee43c5933da 100644
--- a/core/src/com/cloud/agent/api/SetupCommand.java
+++ b/core/src/com/cloud/agent/api/SetupCommand.java
@@ -23,8 +23,6 @@ public class SetupCommand extends Command {
HostEnvironment env;
boolean multipath;
boolean needSetup;
- String secondaryStorage;
- String systemVmIso;
public boolean needSetup() {
return needSetup;
@@ -38,8 +36,6 @@ public class SetupCommand extends Command {
this.env = env;
this.multipath = false;
this.needSetup = false;
- secondaryStorage = null;
- systemVmIso = null;
}
public HostEnvironment getEnvironment() {
@@ -57,22 +53,6 @@ public class SetupCommand extends Command {
return multipath;
}
- public void setSecondaryStorage(String secondaryStorage) {
- this.secondaryStorage = secondaryStorage;
- }
-
- public String getSecondaryStorage() {
- return this.secondaryStorage;
- }
-
- public void setSystemVmIso(String systemVmIso) {
- this.systemVmIso = systemVmIso;
- }
-
- public String getSystemVmIso() {
- return this.systemVmIso;
- }
-
@Override
public boolean executeInSequence() {
return true;
diff --git a/core/src/com/cloud/agent/api/StartAnswer.java b/core/src/com/cloud/agent/api/StartAnswer.java
index 92dce84b6df..3bd7bff65db 100644
--- a/core/src/com/cloud/agent/api/StartAnswer.java
+++ b/core/src/com/cloud/agent/api/StartAnswer.java
@@ -22,7 +22,7 @@ import com.cloud.agent.api.to.VirtualMachineTO;
public class StartAnswer extends Answer {
VirtualMachineTO vm;
- String host_guid;
+ String hostGuid;
Map _iqnToPath;
protected StartAnswer() {
@@ -41,13 +41,13 @@ public class StartAnswer extends Answer {
public StartAnswer(StartCommand cmd) {
super(cmd, true, null);
this.vm = cmd.getVirtualMachine();
- this.host_guid = null;
+ this.hostGuid = null;
}
public StartAnswer(StartCommand cmd, String msg, String guid) {
super(cmd, true, msg);
this.vm = cmd.getVirtualMachine();
- this.host_guid = guid;
+ this.hostGuid = guid;
}
public VirtualMachineTO getVirtualMachine() {
@@ -55,7 +55,7 @@ public class StartAnswer extends Answer {
}
public String getHost_guid() {
- return host_guid;
+ return hostGuid;
}
public void setIqnToPath(Map iqnToPath) {
diff --git a/core/src/com/cloud/agent/api/StartCommand.java b/core/src/com/cloud/agent/api/StartCommand.java
index 308730ab5b7..88810c6ba5d 100644
--- a/core/src/com/cloud/agent/api/StartCommand.java
+++ b/core/src/com/cloud/agent/api/StartCommand.java
@@ -25,6 +25,7 @@ public class StartCommand extends Command {
VirtualMachineTO vm;
String hostIp;
boolean executeInSequence = false;
+ String secondaryStorage;
public VirtualMachineTO getVirtualMachine() {
return vm;
@@ -42,9 +43,18 @@ public class StartCommand extends Command {
this.vm = vm;
this.hostIp = host.getPrivateIpAddress();
this.executeInSequence = executeInSequence;
+ this.secondaryStorage = null;
}
public String getHostIp() {
return this.hostIp;
}
+
+ public String getSecondaryStorage() {
+ return this.secondaryStorage;
+ }
+
+ public void setSecondaryStorage(String secondary) {
+ this.secondaryStorage = secondary;
+ }
}
diff --git a/core/src/com/cloud/agent/api/StopAnswer.java b/core/src/com/cloud/agent/api/StopAnswer.java
index b5931747175..ff2cd191899 100755
--- a/core/src/com/cloud/agent/api/StopAnswer.java
+++ b/core/src/com/cloud/agent/api/StopAnswer.java
@@ -24,12 +24,12 @@ public class StopAnswer extends RebootAnswer {
}
public StopAnswer(StopCommand cmd, String details, String platform, boolean success) {
- super(cmd, details, success);
+ super(cmd, details, success);
this.platform = platform;
}
public StopAnswer(StopCommand cmd, String details, boolean success) {
- super(cmd, details, success);
+ super(cmd, details, success);
this.platform = null;
}
diff --git a/core/src/com/cloud/agent/api/UpdateHostPasswordCommand.java b/core/src/com/cloud/agent/api/UpdateHostPasswordCommand.java
index 6e448eeade4..15fb7140e9c 100644
--- a/core/src/com/cloud/agent/api/UpdateHostPasswordCommand.java
+++ b/core/src/com/cloud/agent/api/UpdateHostPasswordCommand.java
@@ -20,24 +20,24 @@ import com.cloud.agent.api.LogLevel.Log4jLevel;
public class UpdateHostPasswordCommand extends Command {
@LogLevel(Log4jLevel.Off)
- protected String _username;
+ protected String username;
@LogLevel(Log4jLevel.Off)
- protected String _new_password;
+ protected String newPassword;
protected UpdateHostPasswordCommand() {
}
- public UpdateHostPasswordCommand(String username, String new_password) {
- this._username = username;
- this._new_password = new_password;
+ public UpdateHostPasswordCommand(String username, String newPassword) {
+ this.username = username;
+ this.newPassword = newPassword;
}
public String getNewPassword() {
- return _new_password;
+ return newPassword;
}
public String getUsername() {
- return _username;
+ return username;
}
@Override
diff --git a/core/src/com/cloud/agent/api/baremetal/prepareCreateTemplateCommand.java b/core/src/com/cloud/agent/api/baremetal/PrepareCreateTemplateCommand.java
similarity index 93%
rename from core/src/com/cloud/agent/api/baremetal/prepareCreateTemplateCommand.java
rename to core/src/com/cloud/agent/api/baremetal/PrepareCreateTemplateCommand.java
index b18742055df..f88526a8250 100644
--- a/core/src/com/cloud/agent/api/baremetal/prepareCreateTemplateCommand.java
+++ b/core/src/com/cloud/agent/api/baremetal/PrepareCreateTemplateCommand.java
@@ -18,7 +18,7 @@ package com.cloud.agent.api.baremetal;
import com.cloud.agent.api.Command;
-public class prepareCreateTemplateCommand extends Command {
+public class PrepareCreateTemplateCommand extends Command {
String ip;
String mac;
String netMask;
@@ -31,7 +31,7 @@ public class prepareCreateTemplateCommand extends Command {
return true;
}
- public prepareCreateTemplateCommand(String ip, String mac, String netMask, String gateway, String dns, String template) {
+ public PrepareCreateTemplateCommand(String ip, String mac, String netMask, String gateway, String dns, String template) {
this.ip = ip;
this.mac = mac;
this.netMask = netMask;
diff --git a/core/src/com/cloud/agent/api/routing/IpAliasTO.java b/core/src/com/cloud/agent/api/routing/IpAliasTO.java
index fac3ed5af8f..3876e148dbe 100644
--- a/core/src/com/cloud/agent/api/routing/IpAliasTO.java
+++ b/core/src/com/cloud/agent/api/routing/IpAliasTO.java
@@ -19,12 +19,12 @@ package com.cloud.agent.api.routing;
public class IpAliasTO {
String routerip;
String netmask;
- String alias_count;
+ String aliasCount;
- public IpAliasTO(String routerip, String netmask, String alias_count) {
+ public IpAliasTO(String routerip, String netmask, String aliasCount) {
this.routerip = routerip;
this.netmask = netmask;
- this.alias_count = alias_count;
+ this.aliasCount = aliasCount;
}
public String getRouterip() {
@@ -36,6 +36,6 @@ public class IpAliasTO {
}
public String getAlias_count() {
- return alias_count;
+ return aliasCount;
}
}
diff --git a/core/src/com/cloud/agent/api/routing/LoadBalancerConfigCommand.java b/core/src/com/cloud/agent/api/routing/LoadBalancerConfigCommand.java
index 5c54375dba6..06ef62b104f 100644
--- a/core/src/com/cloud/agent/api/routing/LoadBalancerConfigCommand.java
+++ b/core/src/com/cloud/agent/api/routing/LoadBalancerConfigCommand.java
@@ -46,12 +46,12 @@ public class LoadBalancerConfigCommand extends NetworkElementCommand {
this.vpcId = vpcId;
}
- public LoadBalancerConfigCommand(LoadBalancerTO[] loadBalancers, String PublicIp, String GuestIp, String PrivateIp, NicTO nic, Long vpcId, String maxconn,
+ public LoadBalancerConfigCommand(LoadBalancerTO[] loadBalancers, String publicIp, String guestIp, String privateIp, NicTO nic, Long vpcId, String maxconn,
boolean keepAliveEnabled) {
this.loadBalancers = loadBalancers;
- this.lbStatsPublicIP = PublicIp;
- this.lbStatsPrivateIP = PrivateIp;
- this.lbStatsGuestIP = GuestIp;
+ this.lbStatsPublicIP = publicIp;
+ this.lbStatsPrivateIP = privateIp;
+ this.lbStatsGuestIP = guestIp;
this.nic = nic;
this.vpcId = vpcId;
this.maxconn = maxconn;
diff --git a/core/src/com/cloud/agent/api/routing/NetworkElementCommand.java b/core/src/com/cloud/agent/api/routing/NetworkElementCommand.java
index 9a2bea875b4..217e962d18a 100644
--- a/core/src/com/cloud/agent/api/routing/NetworkElementCommand.java
+++ b/core/src/com/cloud/agent/api/routing/NetworkElementCommand.java
@@ -16,10 +16,10 @@
// under the License.
package com.cloud.agent.api.routing;
-import java.util.HashMap;
-
import com.cloud.agent.api.Command;
+import java.util.HashMap;
+
public abstract class NetworkElementCommand extends Command {
HashMap accessDetails = new HashMap(0);
@@ -35,6 +35,8 @@ public abstract class NetworkElementCommand extends Command {
public static final String VPC_PRIVATE_GATEWAY = "vpc.gateway.private";
public static final String FIREWALL_EGRESS_DEFAULT = "firewall.egress.default";
+ private String routerAccessIp;
+
protected NetworkElementCommand() {
super();
}
@@ -52,4 +54,11 @@ public abstract class NetworkElementCommand extends Command {
return false;
}
+ public String getRouterAccessIp() {
+ return routerAccessIp;
+ }
+
+ public void setRouterAccessIp(String routerAccessIp) {
+ this.routerAccessIp = routerAccessIp;
+ }
}
diff --git a/core/src/com/cloud/agent/api/storage/AbstractDownloadCommand.java b/core/src/com/cloud/agent/api/storage/AbstractDownloadCommand.java
index 097717503a7..097af66ad00 100644
--- a/core/src/com/cloud/agent/api/storage/AbstractDownloadCommand.java
+++ b/core/src/com/cloud/agent/api/storage/AbstractDownloadCommand.java
@@ -18,7 +18,7 @@ package com.cloud.agent.api.storage;
import com.cloud.storage.Storage.ImageFormat;
-public abstract class AbstractDownloadCommand extends ssCommand {
+public abstract class AbstractDownloadCommand extends SsCommand {
private String url;
private ImageFormat format;
diff --git a/core/src/com/cloud/agent/api/storage/CreatePrivateTemplateAnswer.java b/core/src/com/cloud/agent/api/storage/CreatePrivateTemplateAnswer.java
index 56d9c30912c..250405eedb2 100644
--- a/core/src/com/cloud/agent/api/storage/CreatePrivateTemplateAnswer.java
+++ b/core/src/com/cloud/agent/api/storage/CreatePrivateTemplateAnswer.java
@@ -61,8 +61,8 @@ public class CreatePrivateTemplateAnswer extends Answer {
_virtualSize = virtualSize;
}
- public void setphysicalSize(long _physicalSize) {
- this._physicalSize = _physicalSize;
+ public void setphysicalSize(long physicalSize) {
+ this._physicalSize = physicalSize;
}
public long getphysicalSize() {
diff --git a/core/src/com/cloud/agent/api/storage/MigrateVolumeCommand.java b/core/src/com/cloud/agent/api/storage/MigrateVolumeCommand.java
index b82d8481f2c..b73a48a1b37 100644
--- a/core/src/com/cloud/agent/api/storage/MigrateVolumeCommand.java
+++ b/core/src/com/cloud/agent/api/storage/MigrateVolumeCommand.java
@@ -25,6 +25,7 @@ public class MigrateVolumeCommand extends Command {
long volumeId;
String volumePath;
StorageFilerTO pool;
+ String attachedVmName;
public MigrateVolumeCommand(long volumeId, String volumePath, StoragePool pool) {
this.volumeId = volumeId;
@@ -32,6 +33,13 @@ public class MigrateVolumeCommand extends Command {
this.pool = new StorageFilerTO(pool);
}
+ public MigrateVolumeCommand(long volumeId, String volumePath, StoragePool pool, String attachedVmName) {
+ this.volumeId = volumeId;
+ this.volumePath = volumePath;
+ this.pool = new StorageFilerTO(pool);
+ this.attachedVmName = attachedVmName;
+ }
+
@Override
public boolean executeInSequence() {
return true;
@@ -48,4 +56,8 @@ public class MigrateVolumeCommand extends Command {
public StorageFilerTO getPool() {
return pool;
}
+
+ public String getAttachedVmName() {
+ return attachedVmName;
+ }
}
\ No newline at end of file
diff --git a/core/src/com/cloud/agent/api/storage/ssCommand.java b/core/src/com/cloud/agent/api/storage/SsCommand.java
similarity index 88%
rename from core/src/com/cloud/agent/api/storage/ssCommand.java
rename to core/src/com/cloud/agent/api/storage/SsCommand.java
index 939e394705f..d4a6e5b73cd 100644
--- a/core/src/com/cloud/agent/api/storage/ssCommand.java
+++ b/core/src/com/cloud/agent/api/storage/SsCommand.java
@@ -18,17 +18,17 @@ package com.cloud.agent.api.storage;
import com.cloud.agent.api.Command;
-public abstract class ssCommand extends Command {
+public abstract class SsCommand extends Command {
private String secUrl;
- public ssCommand() {
+ public SsCommand() {
}
- protected ssCommand(ssCommand that) {
+ protected SsCommand(SsCommand that) {
this.secUrl = that.secUrl;
}
- public ssCommand(String secUrl) {
+ public SsCommand(String secUrl) {
this.secUrl = secUrl;
}
diff --git a/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRouterDeployer.java b/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRouterDeployer.java
new file mode 100644
index 00000000000..243098abeab
--- /dev/null
+++ b/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRouterDeployer.java
@@ -0,0 +1,27 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package com.cloud.agent.resource.virtualnetwork;
+
+import com.cloud.agent.api.routing.NetworkElementCommand;
+import com.cloud.utils.ExecutionResult;
+
+public interface VirtualRouterDeployer {
+ ExecutionResult executeInVR(String routerIp, String script, String args);
+ ExecutionResult createFileInVR(String routerIp, String path, String filename, String content);
+ ExecutionResult prepareCommand(NetworkElementCommand cmd);
+ ExecutionResult cleanupCommand(NetworkElementCommand cmd);
+}
diff --git a/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java b/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
index 34450fe1601..1ed38644536 100755
--- a/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
+++ b/core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
@@ -16,30 +16,6 @@
// under the License.
package com.cloud.agent.resource.virtualnetwork;
-import java.io.BufferedReader;
-import java.io.BufferedWriter;
-import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.PrintWriter;
-import java.net.InetSocketAddress;
-import java.net.URL;
-import java.net.URLConnection;
-import java.nio.channels.SocketChannel;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.ejb.Local;
-import javax.naming.ConfigurationException;
-
-import org.apache.commons.codec.binary.Base64;
-import org.apache.log4j.Logger;
-
-import com.google.gson.Gson;
-
import com.cloud.agent.api.Answer;
import com.cloud.agent.api.BumpUpPriorityCommand;
import com.cloud.agent.api.CheckRouterAnswer;
@@ -49,9 +25,8 @@ import com.cloud.agent.api.CheckS2SVpnConnectionsCommand;
import com.cloud.agent.api.Command;
import com.cloud.agent.api.GetDomRVersionAnswer;
import com.cloud.agent.api.GetDomRVersionCmd;
-import com.cloud.agent.api.proxy.CheckConsoleProxyLoadCommand;
-import com.cloud.agent.api.proxy.ConsoleProxyLoadAnswer;
-import com.cloud.agent.api.proxy.WatchConsoleProxyLoadCommand;
+import com.cloud.agent.api.SetupGuestNetworkAnswer;
+import com.cloud.agent.api.SetupGuestNetworkCommand;
import com.cloud.agent.api.routing.CreateIpAliasCommand;
import com.cloud.agent.api.routing.DeleteIpAliasCommand;
import com.cloud.agent.api.routing.DhcpEntryCommand;
@@ -59,15 +34,21 @@ import com.cloud.agent.api.routing.DnsMasqConfigCommand;
import com.cloud.agent.api.routing.IpAliasTO;
import com.cloud.agent.api.routing.IpAssocAnswer;
import com.cloud.agent.api.routing.IpAssocCommand;
+import com.cloud.agent.api.routing.IpAssocVpcCommand;
import com.cloud.agent.api.routing.LoadBalancerConfigCommand;
import com.cloud.agent.api.routing.NetworkElementCommand;
import com.cloud.agent.api.routing.RemoteAccessVpnCfgCommand;
import com.cloud.agent.api.routing.SavePasswordCommand;
import com.cloud.agent.api.routing.SetFirewallRulesAnswer;
import com.cloud.agent.api.routing.SetFirewallRulesCommand;
+import com.cloud.agent.api.routing.SetMonitorServiceCommand;
+import com.cloud.agent.api.routing.SetNetworkACLAnswer;
+import com.cloud.agent.api.routing.SetNetworkACLCommand;
import com.cloud.agent.api.routing.SetPortForwardingRulesAnswer;
import com.cloud.agent.api.routing.SetPortForwardingRulesCommand;
import com.cloud.agent.api.routing.SetPortForwardingRulesVpcCommand;
+import com.cloud.agent.api.routing.SetSourceNatAnswer;
+import com.cloud.agent.api.routing.SetSourceNatCommand;
import com.cloud.agent.api.routing.SetStaticNatRulesAnswer;
import com.cloud.agent.api.routing.SetStaticNatRulesCommand;
import com.cloud.agent.api.routing.SetStaticRouteAnswer;
@@ -78,19 +59,26 @@ import com.cloud.agent.api.routing.VpnUsersCfgCommand;
import com.cloud.agent.api.to.DhcpTO;
import com.cloud.agent.api.to.FirewallRuleTO;
import com.cloud.agent.api.to.IpAddressTO;
+import com.cloud.agent.api.to.NicTO;
import com.cloud.agent.api.to.PortForwardingRuleTO;
import com.cloud.agent.api.to.StaticNatRuleTO;
-import com.cloud.exception.InternalErrorException;
import com.cloud.network.HAProxyConfigurator;
import com.cloud.network.LoadBalancerConfigurator;
import com.cloud.network.rules.FirewallRule;
+import com.cloud.utils.ExecutionResult;
import com.cloud.utils.NumbersUtil;
-import com.cloud.utils.component.ComponentLifecycle;
-import com.cloud.utils.component.Manager;
import com.cloud.utils.net.NetUtils;
-import com.cloud.utils.script.OutputInterpreter;
-import com.cloud.utils.script.Script;
-import com.cloud.utils.ssh.SshHelper;
+import com.google.gson.Gson;
+import org.apache.commons.codec.binary.Base64;
+import org.apache.log4j.Logger;
+
+import javax.naming.ConfigurationException;
+import java.io.IOException;
+import java.net.InetSocketAddress;
+import java.nio.channels.SocketChannel;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
/**
* VirtualNetworkResource controls and configures virtual networking
@@ -100,31 +88,27 @@ import com.cloud.utils.ssh.SshHelper;
* || Param Name | Description | Values | Default ||
* }
**/
-@Local(value = {VirtualRoutingResource.class})
-public class VirtualRoutingResource implements Manager {
+public class VirtualRoutingResource {
private static final Logger s_logger = Logger.getLogger(VirtualRoutingResource.class);
- private String _publicIpAddress;
- private String _firewallPath;
- private String _loadbPath;
- private String _dhcpEntryPath;
- private String _publicEthIf;
- private String _privateEthIf;
- private String _bumpUpPriorityPath;
- private String _routerProxyPath;
- private String _createIpAliasPath;
- private String _deleteIpAliasPath;
- private String _callDnsMasqPath;
+ private VirtualRouterDeployer _vrDeployer;
- private int _timeout;
- private int _startTimeout;
- private String _scriptsDir;
private String _name;
private int _sleep;
private int _retry;
private int _port;
+ public VirtualRoutingResource(VirtualRouterDeployer deployer) {
+ this._vrDeployer = deployer;
+ }
+
public Answer executeRequest(final Command cmd) {
try {
+ ExecutionResult rc = _vrDeployer.prepareCommand((NetworkElementCommand)cmd);
+ if (!rc.isSuccess()) {
+ s_logger.error("Failed to prepare VR command due to " + rc.getDetails());
+ return new Answer(cmd, false, rc.getDetails());
+ }
+
if (cmd instanceof SetPortForwardingRulesVpcCommand) {
return execute((SetPortForwardingRulesVpcCommand)cmd);
} else if (cmd instanceof SetPortForwardingRulesCommand) {
@@ -135,12 +119,6 @@ public class VirtualRoutingResource implements Manager {
return execute((SetStaticNatRulesCommand)cmd);
} else if (cmd instanceof LoadBalancerConfigCommand) {
return execute((LoadBalancerConfigCommand)cmd);
- } else if (cmd instanceof IpAssocCommand) {
- return execute((IpAssocCommand)cmd);
- } else if (cmd instanceof CheckConsoleProxyLoadCommand) {
- return execute((CheckConsoleProxyLoadCommand)cmd);
- } else if (cmd instanceof WatchConsoleProxyLoadCommand) {
- return execute((WatchConsoleProxyLoadCommand)cmd);
} else if (cmd instanceof SavePasswordCommand) {
return execute((SavePasswordCommand)cmd);
} else if (cmd instanceof DhcpEntryCommand) {
@@ -169,11 +147,28 @@ public class VirtualRoutingResource implements Manager {
return execute((Site2SiteVpnCfgCommand)cmd);
} else if (cmd instanceof CheckS2SVpnConnectionsCommand) {
return execute((CheckS2SVpnConnectionsCommand)cmd);
+ } else if (cmd instanceof SetMonitorServiceCommand) {
+ return execute((SetMonitorServiceCommand)cmd);
+ } else if (cmd instanceof SetupGuestNetworkCommand) {
+ return execute((SetupGuestNetworkCommand)cmd);
+ } else if (cmd instanceof SetNetworkACLCommand) {
+ return execute((SetNetworkACLCommand)cmd);
+ } else if (cmd instanceof SetSourceNatCommand) {
+ return execute((SetSourceNatCommand)cmd);
+ } else if (cmd instanceof IpAssocVpcCommand) {
+ return execute((IpAssocVpcCommand)cmd);
+ } else if (cmd instanceof IpAssocCommand) {
+ return execute((IpAssocCommand)cmd);
} else {
return Answer.createUnsupportedCommandAnswer(cmd);
}
} catch (final IllegalArgumentException e) {
return new Answer(cmd, false, e.getMessage());
+ } finally {
+ ExecutionResult rc = _vrDeployer.cleanupCommand((NetworkElementCommand)cmd);
+ if (!rc.isSuccess()) {
+ s_logger.error("Failed to cleanup VR command due to " + rc.getDetails());
+ }
}
}
@@ -187,9 +182,9 @@ public class VirtualRoutingResource implements Manager {
args += "-u ";
args += userpwd.getUsernamePassword();
}
- String result = routerProxy("vpn_l2tp.sh", cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP), args);
- if (result != null) {
- return new Answer(cmd, false, "Configure VPN user failed for user " + userpwd.getUsername());
+ ExecutionResult result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "vpn_l2tp.sh", args);
+ if (!result.isSuccess()) {
+ return new Answer(cmd, false, "Configure VPN user failed for user " + userpwd.getUsername() + ":" + result.getDetails());
}
}
return new Answer(cmd);
@@ -214,22 +209,16 @@ public class VirtualRoutingResource implements Manager {
}
args += " -C " + cmd.getLocalCidr();
args += " -i " + cmd.getPublicInterface();
- String result = routerProxy("vpn_l2tp.sh", cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP), args);
- if (result != null) {
- return new Answer(cmd, false, "Configure VPN failed");
- }
- return new Answer(cmd);
+ ExecutionResult result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "vpn_l2tp.sh", args);
+ return new Answer(cmd, result.isSuccess(), result.getDetails());
}
private Answer execute(SetFirewallRulesCommand cmd) {
String[] results = new String[cmd.getRules().length];
- for (int i = 0; i < cmd.getRules().length; i++) {
- results[i] = "Failed";
- }
- String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
+ String routerAccessIp = cmd.getRouterAccessIp();
String egressDefault = cmd.getAccessDetail(NetworkElementCommand.FIREWALL_EGRESS_DEFAULT);
- if (routerIp == null) {
+ if (routerAccessIp == null) {
return new SetFirewallRulesAnswer(cmd, false, results);
}
@@ -237,18 +226,16 @@ public class VirtualRoutingResource implements Manager {
FirewallRule.TrafficType trafficType = allrules[0].getTrafficType();
String[][] rules = cmd.generateFwRules();
- final Script command = new Script(_firewallPath, _timeout, s_logger);
- command.add(routerIp);
- command.add("-F");
+ String args = " -F";
if (trafficType == FirewallRule.TrafficType.Egress) {
- command.add("-E");
+ args += " -E";
if (egressDefault.equals("true")) {
- command.add("-P ", "1");
+ args += " -P 1";
} else if (egressDefault.equals("System")) {
- command.add("-P ", "2");
+ args += " -P 2";
} else {
- command.add("-P ", "0");
+ args += " -P 0";
}
}
@@ -258,47 +245,55 @@ public class VirtualRoutingResource implements Manager {
for (int i = 0; i < fwRules.length; i++) {
sb.append(fwRules[i]).append(',');
}
- command.add("-a", sb.toString());
+ args += " -a " + sb.toString();
}
- String result = command.execute();
- if (result != null) {
+ ExecutionResult result;
+
+ if (trafficType == FirewallRule.TrafficType.Egress) {
+ result = _vrDeployer.executeInVR(routerAccessIp, "firewall_egress.sh", args);
+ } else {
+ result = _vrDeployer.executeInVR(routerAccessIp, "firewall_ingress.sh", args);
+ }
+
+ if (!result.isSuccess()) {
+ //FIXME - in the future we have to process each rule separately; now we temporarily set every rule to be false if single rule fails
+ for (int i = 0; i < results.length; i++) {
+ results[i] = "Failed: " + result.getDetails();
+ }
return new SetFirewallRulesAnswer(cmd, false, results);
}
- return new SetFirewallRulesAnswer(cmd, true, null);
+ return new SetFirewallRulesAnswer(cmd, true, results);
}
private Answer execute(SetPortForwardingRulesCommand cmd) {
- String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
String[] results = new String[cmd.getRules().length];
int i = 0;
boolean endResult = true;
for (PortForwardingRuleTO rule : cmd.getRules()) {
- String result = null;
- final Script command = new Script(_firewallPath, _timeout, s_logger);
+ StringBuilder args = new StringBuilder();
+ args.append(rule.revoked() ? " -D " : " -A ");
+ args.append(" -P ").append(rule.getProtocol().toLowerCase());
+ args.append(" -l ").append(rule.getSrcIp());
+ args.append(" -p ").append(rule.getStringSrcPortRange());
+ args.append(" -r ").append(rule.getDstIp());
+ args.append(" -d ").append(rule.getStringDstPortRange());
- command.add(routerIp);
- command.add(rule.revoked() ? "-D" : "-A");
- command.add("-P ", rule.getProtocol().toLowerCase());
- command.add("-l ", rule.getSrcIp());
- command.add("-p ", rule.getStringSrcPortRange());
- command.add("-r ", rule.getDstIp());
- command.add("-d ", rule.getStringDstPortRange());
- result = command.execute();
- if (result == null) {
- results[i++] = null;
- } else {
+ ExecutionResult result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "firewall_nat.sh", args.toString());
+
+ if (!result.isSuccess()) {
results[i++] = "Failed";
endResult = false;
+ } else {
+ results[i++] = null;
}
}
return new SetPortForwardingRulesAnswer(cmd, results, endResult);
}
- protected Answer SetVPCStaticNatRules(SetStaticNatRulesCommand cmd) {
- String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
+ protected SetStaticNatRulesAnswer SetVPCStaticNatRules(SetStaticNatRulesCommand cmd) {
String[] results = new String[cmd.getRules().length];
int i = 0;
boolean endResult = true;
@@ -308,9 +303,9 @@ public class VirtualRoutingResource implements Manager {
args += " -l " + rule.getSrcIp();
args += " -r " + rule.getDstIp();
- String result = routerProxy("vpc_staticnat.sh", routerIp, args);
+ ExecutionResult result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "vpc_staticnat.sh", args);
- if (result == null) {
+ if (!result.isSuccess()) {
results[i++] = null;
} else {
results[i++] = "Failed";
@@ -321,44 +316,41 @@ public class VirtualRoutingResource implements Manager {
}
- private Answer execute(SetStaticNatRulesCommand cmd) {
+ private SetStaticNatRulesAnswer execute(SetStaticNatRulesCommand cmd) {
if (cmd.getVpcId() != null) {
return SetVPCStaticNatRules(cmd);
}
- String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
String[] results = new String[cmd.getRules().length];
int i = 0;
boolean endResult = true;
for (StaticNatRuleTO rule : cmd.getRules()) {
- String result = null;
- final Script command = new Script(_firewallPath, _timeout, s_logger);
- command.add(routerIp);
- command.add(rule.revoked() ? "-D" : "-A");
-
//1:1 NAT needs instanceip;publicip;domrip;op
- command.add(" -l ", rule.getSrcIp());
- command.add(" -r ", rule.getDstIp());
+ StringBuilder args = new StringBuilder();
+ args.append(rule.revoked() ? " -D " : " -A ");
+ args.append(" -l ").append(rule.getSrcIp());
+ args.append(" -r ").append(rule.getDstIp());
if (rule.getProtocol() != null) {
- command.add(" -P ", rule.getProtocol().toLowerCase());
+ args.append(" -P ").append(rule.getProtocol().toLowerCase());
}
- command.add(" -d ", rule.getStringSrcPortRange());
- command.add(" -G ");
+ args.append(" -d ").append(rule.getStringSrcPortRange());
+ args.append(" -G ");
- result = command.execute();
- if (result == null) {
- results[i++] = null;
- } else {
+ ExecutionResult result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "firewall_nat.sh", args.toString());
+
+ if (!result.isSuccess()) {
results[i++] = "Failed";
endResult = false;
+ } else {
+ results[i++] = null;
}
}
return new SetStaticNatRulesAnswer(cmd, results, endResult);
}
- protected Answer VPCLoadBalancerConfig(final LoadBalancerConfigCommand cmd) {
+ private Answer execute(LoadBalancerConfigCommand cmd) {
String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
if (routerIp == null) {
@@ -372,96 +364,61 @@ public class VirtualRoutingResource implements Manager {
tmpCfgFileContents += config[i];
tmpCfgFileContents += "\n";
}
- File permKey = new File("/root/.ssh/id_rsa.cloud");
- try {
- SshHelper.scpTo(routerIp, 3922, "root", permKey, null, "/etc/haproxy/", tmpCfgFileContents.getBytes(), "haproxy.cfg.new", null);
+ String tmpCfgFilePath = "/etc/haproxy/";
+ String tmpCfgFileName = "haproxy.cfg.new";
+ ExecutionResult result = _vrDeployer.createFileInVR(cmd.getRouterAccessIp(), tmpCfgFilePath, tmpCfgFileName, tmpCfgFileContents);
- String[][] rules = cfgtr.generateFwRules(cmd);
-
- String[] addRules = rules[LoadBalancerConfigurator.ADD];
- String[] removeRules = rules[LoadBalancerConfigurator.REMOVE];
- String[] statRules = rules[LoadBalancerConfigurator.STATS];
-
- String ip = cmd.getNic().getIp();
- String args = " -i " + ip;
- StringBuilder sb = new StringBuilder();
- if (addRules.length > 0) {
- for (int i = 0; i < addRules.length; i++) {
- sb.append(addRules[i]).append(',');
- }
-
- args += " -a " + sb.toString();
- }
-
- sb = new StringBuilder();
- if (removeRules.length > 0) {
- for (int i = 0; i < removeRules.length; i++) {
- sb.append(removeRules[i]).append(',');
- }
-
- args += " -d " + sb.toString();
- }
-
- sb = new StringBuilder();
- if (statRules.length > 0) {
- for (int i = 0; i < statRules.length; i++) {
- sb.append(statRules[i]).append(',');
- }
-
- args += " -s " + sb.toString();
- }
-
- String result = routerProxy("vpc_loadbalancer.sh", routerIp, args);
-
- if (result != null) {
- return new Answer(cmd, false, "LoadBalancerConfigCommand failed");
- }
- return new Answer(cmd);
-
- } catch (Exception e) {
- return new Answer(cmd, e);
+ if (!result.isSuccess()) {
+ return new Answer(cmd, false, "Fail to copy LB config file to VR");
}
+
+ String[][] rules = cfgtr.generateFwRules(cmd);
+
+ String[] addRules = rules[LoadBalancerConfigurator.ADD];
+ String[] removeRules = rules[LoadBalancerConfigurator.REMOVE];
+ String[] statRules = rules[LoadBalancerConfigurator.STATS];
+
+ String args = "";
+ StringBuilder sb = new StringBuilder();
+ if (addRules.length > 0) {
+ for (int i = 0; i < addRules.length; i++) {
+ sb.append(addRules[i]).append(',');
+ }
+ args += " -a " + sb.toString();
+ }
+
+ sb = new StringBuilder();
+ if (removeRules.length > 0) {
+ for (int i = 0; i < removeRules.length; i++) {
+ sb.append(removeRules[i]).append(',');
+ }
+
+ args += " -d " + sb.toString();
+ }
+
+ sb = new StringBuilder();
+ if (statRules.length > 0) {
+ for (int i = 0; i < statRules.length; i++) {
+ sb.append(statRules[i]).append(',');
+ }
+
+ args += " -s " + sb.toString();
+ }
+
+ if (cmd.getVpcId() == null) {
+ args = " -i " + routerIp + args;
+ result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "loadbalancer.sh", args);
+ } else {
+ args = " -i " + cmd.getNic().getIp() + args;
+ result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "vpc_loadbalancer.sh", args);
+ }
+
+ return new Answer(cmd, result.isSuccess(), result.getDetails());
}
- private Answer execute(LoadBalancerConfigCommand cmd) {
- if (cmd.getVpcId() != null) {
- return VPCLoadBalancerConfig(cmd);
- }
-
- String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
- File tmpCfgFile = null;
- try {
- String cfgFilePath = "";
- LoadBalancerConfigurator cfgtr = new HAProxyConfigurator();
- String[] config = cfgtr.generateConfiguration(cmd);
- String[][] rules = cfgtr.generateFwRules(cmd);
- if (routerIp != null) {
- tmpCfgFile = File.createTempFile(routerIp.replace('.', '_'), "cfg");
- final PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(tmpCfgFile)));
- for (int i = 0; i < config.length; i++) {
- out.println(config[i]);
- }
- out.close();
- cfgFilePath = tmpCfgFile.getAbsolutePath();
- }
-
- final String result =
- setLoadBalancerConfig(cfgFilePath, rules[LoadBalancerConfigurator.ADD], rules[LoadBalancerConfigurator.REMOVE], rules[LoadBalancerConfigurator.STATS],
- routerIp);
-
- return new Answer(cmd, result == null, result);
- } catch (final IOException e) {
- return new Answer(cmd, false, e.getMessage());
- } finally {
- if (tmpCfgFile != null) {
- tmpCfgFile.delete();
- }
- }
- }
protected Answer execute(VmDataCommand cmd) {
- String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
Map> data = new HashMap>();
data.put(cmd.getVmIpAddress(), cmd.getVmData());
@@ -472,186 +429,88 @@ public class VirtualRoutingResource implements Manager {
String args = "-d " + json;
- final String result = routerProxy("vmdata.py", routerIp, args);
- if (result != null) {
- return new Answer(cmd, false, "VmDataCommand failed, check agent logs");
- }
- return new Answer(cmd);
- }
-
- protected Answer execute(final IpAssocCommand cmd) {
- IpAddressTO[] ips = cmd.getIpAddresses();
- String[] results = new String[cmd.getIpAddresses().length];
- int i = 0;
- String result = null;
- String routerName = cmd.getAccessDetail(NetworkElementCommand.ROUTER_NAME);
- String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
- for (IpAddressTO ip : ips) {
- result =
- assignPublicIpAddress(routerName, routerIp, ip.getPublicIp(), ip.isAdd(), ip.isFirstIP(), ip.isSourceNat(), ip.getBroadcastUri(), ip.getVlanGateway(),
- ip.getVlanNetmask(), ip.getVifMacAddress(), 2, false);
- if (result != null) {
- results[i++] = IpAssocAnswer.errorResult;
- } else {
- results[i++] = ip.getPublicIp() + " - success";
- ;
- }
- }
- return new IpAssocAnswer(cmd, results);
- }
-
- private String setLoadBalancerConfig(final String cfgFile, final String[] addRules, final String[] removeRules, final String[] statsRules, String routerIp) {
-
- if (routerIp == null) {
- routerIp = "none";
- }
-
- final Script command = new Script(_loadbPath, _timeout, s_logger);
-
- command.add("-i", routerIp);
- command.add("-f", cfgFile);
-
- StringBuilder sb = new StringBuilder();
- if (addRules.length > 0) {
- for (int i = 0; i < addRules.length; i++) {
- sb.append(addRules[i]).append(',');
- }
- command.add("-a", sb.toString());
- }
-
- sb = new StringBuilder();
- if (removeRules.length > 0) {
- for (int i = 0; i < removeRules.length; i++) {
- sb.append(removeRules[i]).append(',');
- }
- command.add("-d", sb.toString());
- }
-
- sb = new StringBuilder();
- if (statsRules.length > 0) {
- for (int i = 0; i < statsRules.length; i++) {
- sb.append(statsRules[i]).append(',');
- }
- command.add("-s", sb.toString());
- }
-
- return command.execute();
+ final ExecutionResult result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "vmdata.py", args);
+ return new Answer(cmd, result.isSuccess(), result.getDetails());
}
protected Answer execute(final SavePasswordCommand cmd) {
final String password = cmd.getPassword();
final String routerPrivateIPAddress = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
- final String vmName = cmd.getVmName();
final String vmIpAddress = cmd.getVmIpAddress();
- final String local = vmName;
String args = "-v " + vmIpAddress;
args += " -p " + password;
- String result = routerProxy("savepassword.sh", routerPrivateIPAddress, args);
- if (result != null) {
- return new Answer(cmd, false, "Unable to save password to DomR.");
- }
- return new Answer(cmd);
+ ExecutionResult result = _vrDeployer.executeInVR(routerPrivateIPAddress, "savepassword.sh", args);
+ return new Answer(cmd, result.isSuccess(), result.getDetails());
}
protected Answer execute(final DhcpEntryCommand cmd) {
- final Script command = new Script(_dhcpEntryPath, _timeout, s_logger);
- command.add("-r", cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP));
+ String args = " -m " + cmd.getVmMac();
if (cmd.getVmIpAddress() != null) {
- command.add("-v", cmd.getVmIpAddress());
+ args += " -4 " + cmd.getVmIpAddress();
}
- command.add("-m", cmd.getVmMac());
- command.add("-n", cmd.getVmName());
+ args += " -h " + cmd.getVmName();
if (cmd.getDefaultRouter() != null) {
- command.add("-d", cmd.getDefaultRouter());
- }
- if (cmd.getStaticRoutes() != null) {
- command.add("-s", cmd.getStaticRoutes());
+ args += " -d " + cmd.getDefaultRouter();
}
if (cmd.getDefaultDns() != null) {
- command.add("-N", cmd.getDefaultDns());
+ args += " -n " + cmd.getDefaultDns();
+ }
+
+ if (cmd.getStaticRoutes() != null) {
+ args += " -s " + cmd.getStaticRoutes();
}
if (cmd.getVmIp6Address() != null) {
- command.add("-6", cmd.getVmIp6Address());
- command.add("-u", cmd.getDuid());
+ args += " -6 " + cmd.getVmIp6Address();
+ args += " -u " + cmd.getDuid();
}
if (!cmd.isDefault()) {
- command.add("-z");
+ args += " -N";
}
- final String result = command.execute();
- return new Answer(cmd, result == null, result);
+ final ExecutionResult result = _vrDeployer.executeInVR(cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP), "edithosts.sh", args);
+ return new Answer(cmd, result.isSuccess(), result.getDetails());
}
protected Answer execute(final CreateIpAliasCommand cmd) {
- String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
- final Script command = new Script(_createIpAliasPath, _timeout, s_logger);
List ipAliasTOs = cmd.getIpAliasList();
String args = "";
- command.add(routerIp);
for (IpAliasTO ipaliasto : ipAliasTOs) {
args = args + ipaliasto.getAlias_count() + ":" + ipaliasto.getRouterip() + ":" + ipaliasto.getNetmask() + "-";
}
- command.add(args);
- final String result = command.execute();
- return new Answer(cmd, result == null, result);
+ final ExecutionResult result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "createipAlias.sh", args);
+ return new Answer(cmd, result.isSuccess(), result.getDetails());
}
protected Answer execute(final DeleteIpAliasCommand cmd) {
- final Script command = new Script(_deleteIpAliasPath, _timeout, s_logger);
- String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
String args = "";
- command.add(routerIp);
List revokedIpAliasTOs = cmd.getDeleteIpAliasTos();
for (IpAliasTO ipAliasTO : revokedIpAliasTOs) {
args = args + ipAliasTO.getAlias_count() + ":" + ipAliasTO.getRouterip() + ":" + ipAliasTO.getNetmask() + "-";
}
+ //this is to ensure that thre is some argument passed to the deleteipAlias script when there are no revoked rules.
args = args + "- ";
List activeIpAliasTOs = cmd.getCreateIpAliasTos();
for (IpAliasTO ipAliasTO : activeIpAliasTOs) {
args = args + ipAliasTO.getAlias_count() + ":" + ipAliasTO.getRouterip() + ":" + ipAliasTO.getNetmask() + "-";
}
- command.add(args);
- final String result = command.execute();
- return new Answer(cmd, result == null, result);
+ final ExecutionResult result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "deleteipAlias.sh", args);
+ return new Answer(cmd, result.isSuccess(), result.getDetails());
}
protected Answer execute(final DnsMasqConfigCommand cmd) {
- final Script command = new Script(_callDnsMasqPath, _timeout, s_logger);
- String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
List dhcpTos = cmd.getIps();
String args = "";
for (DhcpTO dhcpTo : dhcpTos) {
args = args + dhcpTo.getRouterIp() + ":" + dhcpTo.getGateway() + ":" + dhcpTo.getNetmask() + ":" + dhcpTo.getStartIpOfSubnet() + "-";
}
- command.add(routerIp);
- command.add(args);
- final String result = command.execute();
- return new Answer(cmd, result == null, result);
- }
-
- public String getRouterStatus(String routerIP) {
- return routerProxyWithParser("checkrouter.sh", routerIP, null);
- }
-
- public String routerProxyWithParser(String script, String routerIP, String args) {
- final Script command = new Script(_routerProxyPath, _timeout, s_logger);
- final OutputInterpreter.OneLineParser parser = new OutputInterpreter.OneLineParser();
- command.add(script);
- command.add(routerIP);
- if (args != null) {
- command.add(args);
- }
- String result = command.execute(parser);
- if (result == null) {
- return parser.getLine();
- }
- return null;
+ final ExecutionResult result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "dnsmasq.sh", args);
+ return new Answer(cmd, result.isSuccess(), result.getDetails());
}
private CheckS2SVpnConnectionsAnswer execute(CheckS2SVpnConnectionsCommand cmd) {
@@ -659,78 +518,46 @@ public class VirtualRoutingResource implements Manager {
String args = "";
for (String ip : cmd.getVpnIps()) {
- args += " " + ip;
+ args += ip + " ";
}
- final String result = routerProxy("checkbatchs2svpn.sh", routerIP, args);
- if (result != null) {
- return new CheckS2SVpnConnectionsAnswer(cmd, false, "CheckS2SVpnConneciontsCommand failed");
- }
- return new CheckS2SVpnConnectionsAnswer(cmd, true, result);
- }
-
- public String routerProxy(String script, String routerIP, String args) {
- final Script command = new Script(_routerProxyPath, _timeout, s_logger);
- command.add(script);
- command.add(routerIP);
- if (args != null) {
- command.add(args);
- }
- return command.execute();
+ ExecutionResult result = _vrDeployer.executeInVR(routerIP, "checkbatchs2svpn.sh", args);
+ return new CheckS2SVpnConnectionsAnswer(cmd, result.isSuccess(), result.getDetails());
}
protected Answer execute(CheckRouterCommand cmd) {
final String routerPrivateIPAddress = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
- final String result = getRouterStatus(routerPrivateIPAddress);
- if (result == null || result.isEmpty()) {
- return new CheckRouterAnswer(cmd, "CheckRouterCommand failed");
+ final ExecutionResult result = _vrDeployer.executeInVR(routerPrivateIPAddress, "checkrouter.sh", null);
+ if (!result.isSuccess()) {
+ return new CheckRouterAnswer(cmd, result.getDetails());
}
- return new CheckRouterAnswer(cmd, result, true);
+ return new CheckRouterAnswer(cmd, result.getDetails(), true);
}
protected Answer execute(BumpUpPriorityCommand cmd) {
- final String routerPrivateIPAddress = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
- final Script command = new Script(_bumpUpPriorityPath, _timeout, s_logger);
- final OutputInterpreter.OneLineParser parser = new OutputInterpreter.OneLineParser();
- command.add(routerPrivateIPAddress);
- String result = command.execute(parser);
- if (result != null) {
- return new Answer(cmd, false, "BumpUpPriorityCommand failed: " + result);
- }
- return new Answer(cmd, true, null);
- }
-
- protected String getDomRVersion(String routerIP) {
- return routerProxyWithParser("get_template_version.sh", routerIP, null);
+ ExecutionResult result = _vrDeployer.executeInVR(cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP), "bumpup_priority.sh", null);
+ return new Answer(cmd, result.isSuccess(), result.getDetails());
}
protected Answer execute(GetDomRVersionCmd cmd) {
final String routerPrivateIPAddress = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
- final String result = getDomRVersion(routerPrivateIPAddress);
- if (result == null || result.isEmpty()) {
+ final ExecutionResult result = _vrDeployer.executeInVR(routerPrivateIPAddress, "get_template_version.sh", null);
+ if (!result.isSuccess()) {
return new GetDomRVersionAnswer(cmd, "GetDomRVersionCmd failed");
}
- String[] lines = result.split("&");
+ String[] lines = result.getDetails().split("&");
if (lines.length != 2) {
- return new GetDomRVersionAnswer(cmd, result);
+ return new GetDomRVersionAnswer(cmd, result.getDetails());
}
- return new GetDomRVersionAnswer(cmd, result, lines[0], lines[1]);
- }
-
- protected Answer execute(final CheckConsoleProxyLoadCommand cmd) {
- return executeProxyLoadScan(cmd, cmd.getProxyVmId(), cmd.getProxyVmName(), cmd.getProxyManagementIp(), cmd.getProxyCmdPort());
- }
-
- protected Answer execute(final WatchConsoleProxyLoadCommand cmd) {
- return executeProxyLoadScan(cmd, cmd.getProxyVmId(), cmd.getProxyVmName(), cmd.getProxyManagementIp(), cmd.getProxyCmdPort());
+ return new GetDomRVersionAnswer(cmd, result.getDetails(), lines[0], lines[1]);
}
protected Answer execute(Site2SiteVpnCfgCommand cmd) {
- String args;
+ String args = "";
if (cmd.isCreate()) {
- args = "-A";
+ args += "-A";
args += " -l ";
args += cmd.getLocalPublicIp();
args += " -n ";
@@ -761,7 +588,7 @@ public class VirtualRoutingResource implements Manager {
args += " -p ";
}
} else {
- args = "-D";
+ args += "-D";
args += " -r ";
args += cmd.getPeerGatewayIp();
args += " -n ";
@@ -769,59 +596,45 @@ public class VirtualRoutingResource implements Manager {
args += " -N ";
args += cmd.getPeerGuestCidrList();
}
- String result = routerProxy("ipsectunnel.sh", cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP), args);
- if (result != null) {
- return new Answer(cmd, false, "Configure site to site VPN failed due to " + result);
+ ExecutionResult result = _vrDeployer.executeInVR(cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP), "ipsectunnel.sh", args);
+ if (!result.isSuccess()) {
+ return new Answer(cmd, false, "Configure site to site VPN failed due to " + result.getDetails());
}
return new Answer(cmd);
}
- private Answer executeProxyLoadScan(final Command cmd, final long proxyVmId, final String proxyVmName, final String proxyManagementIp, final int cmdPort) {
- String result = null;
-
- final StringBuffer sb = new StringBuffer();
- sb.append("http://").append(proxyManagementIp).append(":" + cmdPort).append("/cmd/getstatus");
-
- boolean success = true;
- try {
- final URL url = new URL(sb.toString());
- final URLConnection conn = url.openConnection();
-
- final InputStream is = conn.getInputStream();
- final BufferedReader reader = new BufferedReader(new InputStreamReader(is));
- final StringBuilder sb2 = new StringBuilder();
- String line = null;
- try {
- while ((line = reader.readLine()) != null) {
- sb2.append(line + "\n");
- }
- result = sb2.toString();
- } catch (final IOException e) {
- success = false;
- } finally {
- try {
- is.close();
- } catch (final IOException e) {
- s_logger.warn("Exception when closing , console proxy address : " + proxyManagementIp);
- success = false;
- }
- }
- } catch (final IOException e) {
- s_logger.warn("Unable to open console proxy command port url, console proxy address : " + proxyManagementIp);
- success = false;
- }
-
- return new ConsoleProxyLoadAnswer(cmd, proxyVmId, proxyVmName, success, result);
- }
-
- public String configureMonitor(final String routerIP, final String config) {
+ protected Answer execute(SetMonitorServiceCommand cmd) {
+ String config = cmd.getConfiguration();
String args = " -c " + config;
- return routerProxy("monitor_service.sh", routerIP, args);
+ ExecutionResult result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "monitor_service.sh", args);
+
+ if (!result.isSuccess()) {
+ return new Answer(cmd, false, result.getDetails());
+ }
+ return new Answer(cmd);
}
- public String assignGuestNetwork(final String dev, final String routerIP, final String routerGIP, final String gateway, final String cidr, final String netmask,
- final String dns, final String domainName) {
+ protected SetupGuestNetworkAnswer execute(SetupGuestNetworkCommand cmd) {
+ NicTO nic = cmd.getNic();
+ String routerIP = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
+ String routerGIP = cmd.getAccessDetail(NetworkElementCommand.ROUTER_GUEST_IP);
+ String gateway = cmd.getAccessDetail(NetworkElementCommand.GUEST_NETWORK_GATEWAY);
+ String cidr = Long.toString(NetUtils.getCidrSize(nic.getNetmask()));
+ String domainName = cmd.getNetworkDomain();
+ String dns = cmd.getDefaultDns1();
+
+ if (dns == null || dns.isEmpty()) {
+ dns = cmd.getDefaultDns2();
+ } else {
+ String dns2 = cmd.getDefaultDns2();
+ if (dns2 != null && !dns2.isEmpty()) {
+ dns += "," + dns2;
+ }
+ }
+
+ String dev = "eth" + nic.getDeviceId();
+ String netmask = NetUtils.getSubNet(routerGIP, nic.getNetmask());
String args = " -C";
args += " -d " + dev;
@@ -835,33 +648,74 @@ public class VirtualRoutingResource implements Manager {
if (domainName != null && !domainName.isEmpty()) {
args += " -e " + domainName;
}
- return routerProxy("vpc_guestnw.sh", routerIP, args);
+ ExecutionResult result = _vrDeployer.executeInVR(routerIP, "vpc_guestnw.sh", args);
+
+ if (!result.isSuccess()) {
+ return new SetupGuestNetworkAnswer(cmd, false, "Creating guest network failed due to " + result.getDetails());
+ }
+ return new SetupGuestNetworkAnswer(cmd, true, "success");
}
- public String assignNetworkACL(final String routerIP, final String dev, final String routerGIP, final String netmask, final String rule, String privateGw) {
- String args = " -d " + dev;
- if (privateGw != null) {
- args += " -a " + rule;
- return routerProxy("vpc_privategw_acl.sh", routerIP, args);
- } else {
- args += " -i " + routerGIP;
- args += " -m " + netmask;
- args += " -a " + rule;
- return routerProxy("vpc_acl.sh", routerIP, args);
+ private SetNetworkACLAnswer execute(SetNetworkACLCommand cmd) {
+ String[] results = new String[cmd.getRules().length];
+
+ String privateGw = cmd.getAccessDetail(NetworkElementCommand.VPC_PRIVATE_GATEWAY);
+
+ try {
+ String[][] rules = cmd.generateFwRules();
+ String[] aclRules = rules[0];
+ NicTO nic = cmd.getNic();
+ String dev = "eth" + nic.getDeviceId();
+ String netmask = Long.toString(NetUtils.getCidrSize(nic.getNetmask()));
+ StringBuilder sb = new StringBuilder();
+
+ for (int i = 0; i < aclRules.length; i++) {
+ sb.append(aclRules[i]).append(',');
+ }
+
+ String rule = sb.toString();
+ ExecutionResult result;
+
+ String args = " -d " + dev;
+ if (privateGw != null) {
+ args += " -a " + rule;
+ result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "vpc_privategw_acl.sh", args);
+ } else {
+ args += " -i " + nic.getIp();
+ args += " -m " + netmask;
+ args += " -a " + rule;
+ result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "vpc_acl.sh", args);
+ }
+
+ if (!result.isSuccess()) {
+ for (int i = 0; i < results.length; i++) {
+ results[i] = "Failed";
+ }
+ return new SetNetworkACLAnswer(cmd, false, results);
+ }
+
+ return new SetNetworkACLAnswer(cmd, true, results);
+ } catch (Exception e) {
+ String msg = "SetNetworkACL failed due to " + e.toString();
+ s_logger.error(msg, e);
+ return new SetNetworkACLAnswer(cmd, false, results);
}
}
- public String assignSourceNat(final String routerIP, final String pubIP, final String dev) {
+ protected SetSourceNatAnswer execute(SetSourceNatCommand cmd) {
+ String routerIP = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
+ IpAddressTO pubIP = cmd.getIpAddress();
+ String dev = "eth" + pubIP.getNicDevId();
String args = " -A ";
args += " -l ";
- args += pubIP;
+ args += pubIP.getPublicIp();
args += " -c ";
args += dev;
- return routerProxy("vpc_snat.sh", routerIP, args);
+ ExecutionResult result = _vrDeployer.executeInVR(routerIP, "vpc_snat.sh", args);
+ return new SetSourceNatAnswer(cmd, result.isSuccess(), result.getDetails());
}
private SetPortForwardingRulesAnswer execute(SetPortForwardingRulesVpcCommand cmd) {
- String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
String[] results = new String[cmd.getRules().length];
int i = 0;
@@ -874,9 +728,9 @@ public class VirtualRoutingResource implements Manager {
args += " -r " + rule.getDstIp();
args += " -d " + rule.getStringDstPortRange().replace(":", "-");
- String result = routerProxy("vpc_portforwarding.sh", routerIp, args);
+ ExecutionResult result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "vpc_portforwarding.sh", args);
- if (result != null) {
+ if (!result.isSuccess()) {
results[i++] = "Failed";
endResult = false;
} else {
@@ -886,44 +740,56 @@ public class VirtualRoutingResource implements Manager {
return new SetPortForwardingRulesAnswer(cmd, results, endResult);
}
- public void assignVpcIpToRouter(final String routerIP, final boolean add, final String pubIP, final String nicname, final String gateway, final String netmask,
- final String subnet, boolean sourceNat) throws InternalErrorException {
+ public IpAssocAnswer execute(IpAssocVpcCommand cmd) {
+ String routerIP = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
+ String[] results = new String[cmd.getIpAddresses().length];
String args = "";
String snatArgs = "";
-
- if (add) {
- args += " -A ";
- snatArgs += " -A ";
- } else {
- args += " -D ";
- snatArgs += " -D ";
+ for (int i = 0; i < cmd.getIpAddresses().length; i ++) {
+ results[i] = "Failed";
}
- args += " -l ";
- args += pubIP;
- args += " -c ";
- args += nicname;
- args += " -g ";
- args += gateway;
- args += " -m ";
- args += netmask;
- args += " -n ";
- args += subnet;
-
- String result = routerProxy("vpc_ipassoc.sh", routerIP, args);
- if (result != null) {
- throw new InternalErrorException("KVM plugin \"vpc_ipassoc\" failed:" + result);
- }
- if (sourceNat) {
- snatArgs += " -l " + pubIP;
- snatArgs += " -c " + nicname;
-
- result = routerProxy("vpc_privateGateway.sh", routerIP, snatArgs);
- if (result != null) {
- throw new InternalErrorException("KVM plugin \"vpc_privateGateway\" failed:" + result);
+ int i = 0;
+ for (IpAddressTO ip : cmd.getIpAddresses()) {
+ if (ip.isAdd()) {
+ args += " -A ";
+ snatArgs += " -A ";
+ } else {
+ args += " -D ";
+ snatArgs += " -D ";
}
+ args += " -l ";
+ args += ip.getPublicIp();
+ String nicName = "eth" + ip.getNicDevId();
+ args += " -c ";
+ args += nicName;
+ args += " -g ";
+ args += ip.getVlanGateway();
+ args += " -m ";
+ args += Long.toString(NetUtils.getCidrSize(ip.getVlanNetmask()));
+ args += " -n ";
+ args += NetUtils.getSubNet(ip.getPublicIp(), ip.getVlanNetmask());
+
+ ExecutionResult result = _vrDeployer.executeInVR(routerIP, "vpc_ipassoc.sh", args);
+ if (!result.isSuccess()) {
+ results[i++] = ip.getPublicIp() + " - vpc_ipassoc failed:" + result.getDetails();
+ break;
+ }
+
+ if (ip.isSourceNat()) {
+ snatArgs += " -l " + ip.getPublicIp();
+ snatArgs += " -c " + nicName;
+
+ result = _vrDeployer.executeInVR(routerIP, "vpc_privateGateway.sh", snatArgs);
+ if (result != null) {
+ results[i++] = ip.getPublicIp() + " - vpc_privateGateway failed:" + result.getDetails();
+ break;
+ }
+ }
+ results[i++] = ip.getPublicIp() + " - success ";
}
+ return new IpAssocAnswer(cmd, results);
}
private SetStaticRouteAnswer execute(SetStaticRouteCommand cmd) {
@@ -939,9 +805,9 @@ public class VirtualRoutingResource implements Manager {
}
String args = " -a " + sb.toString();
- String result = routerProxy("vpc_staticroute.sh", routerIP, args);
+ ExecutionResult result = _vrDeployer.executeInVR(routerIP, "vpc_staticroute.sh", args);
- if (result != null) {
+ if (!result.isSuccess()) {
for (int i = 0; i < results.length; i++) {
results[i] = "Failed";
}
@@ -956,147 +822,56 @@ public class VirtualRoutingResource implements Manager {
}
}
- public String assignPublicIpAddress(final String vmName, final String privateIpAddress, final String publicIpAddress, final boolean add, final boolean firstIP,
- final boolean sourceNat, final String broadcastUri, final String vlanGateway, final String vlanNetmask, final String vifMacAddress, int nicNum, boolean newNic) {
-
- String args = "";
- if (add) {
- args += "-A";
- } else {
- args += "-D";
- }
- String cidrSize = Long.toString(NetUtils.getCidrSize(vlanNetmask));
- if (sourceNat) {
- args += " -s";
- }
- if (firstIP) {
- args += " -f";
- }
- args += " -l ";
- args += publicIpAddress + "/" + cidrSize;
-
- String publicNic = "eth" + nicNum;
- args += " -c ";
- args += publicNic;
-
- args += " -g ";
- args += vlanGateway;
-
- if (newNic) {
- args += " -n";
+ public Answer execute(IpAssocCommand cmd) {
+ String[] results = new String[cmd.getIpAddresses().length];
+ for (int i = 0; i < results.length; i++) {
+ results[i] = IpAssocAnswer.errorResult;
}
- return routerProxy("ipassoc.sh", privateIpAddress, args);
- }
+ int i = 0;
+ for (IpAddressTO ip: cmd.getIpAddresses()) {
+ String args = "";
+ if (ip.isAdd()) {
+ args += "-A";
+ } else {
+ args += "-D";
+ }
+ String cidrSize = Long.toString(NetUtils.getCidrSize(ip.getVlanNetmask()));
+ if (ip.isSourceNat()) {
+ args += " -s";
+ }
+ if (ip.isFirstIP()) {
+ args += " -f";
+ }
+ args += " -l ";
+ args += ip.getPublicIp() + "/" + cidrSize;
- private void deleteBridge(String brName) {
- Script cmd = new Script("/bin/sh", _timeout);
- cmd.add("-c");
- cmd.add("ifconfig " + brName + " down;brctl delbr " + brName);
- cmd.execute();
- }
+ String publicNic = "eth" + ip.getNicDevId();
+ args += " -c ";
+ args += publicNic;
- private boolean isDNSmasqRunning(String dnsmasqName) {
- Script cmd = new Script("/bin/sh", _timeout);
- cmd.add("-c");
- cmd.add("ls -l /var/run/libvirt/network/" + dnsmasqName + ".pid");
- String result = cmd.execute();
- if (result != null) {
- return false;
- } else {
- return true;
+ args += " -g ";
+ args += ip.getVlanGateway();
+
+ if (ip.isNewNic()) {
+ args += " -n";
+ }
+
+ ExecutionResult result = _vrDeployer.executeInVR(cmd.getRouterAccessIp(), "ipassoc.sh", args);
+ if (result.isSuccess()) {
+ results[i++] = ip.getPublicIp() + " - success";
+ } else {
+ results[i++] = ip.getPublicIp() + " - failed:" + result.getDetails();
+ break;
+ }
}
+ return new IpAssocAnswer(cmd, results);
}
- private void stopDnsmasq(String dnsmasqName) {
- Script cmd = new Script("/bin/sh", _timeout);
- cmd.add("-c");
- cmd.add("kill -9 `cat /var/run/libvirt/network/" + dnsmasqName + ".pid`");
- cmd.execute();
- }
-
- // protected Answer execute(final SetFirewallRuleCommand cmd) {
- // String args;
- // if(cmd.getProtocol().toLowerCase().equals(NetUtils.NAT_PROTO)){
- // //1:1 NAT needs instanceip;publicip;domrip;op
- // if(cmd.isCreate()) {
- // args = "-A";
- // } else {
- // args = "-D";
- // }
- //
- // args += " -l " + cmd.getPublicIpAddress();
- // args += " -i " + cmd.getRouterIpAddress();
- // args += " -r " + cmd.getPrivateIpAddress();
- // args += " -G " + cmd.getProtocol();
- // }else{
- // if (cmd.isEnable()) {
- // args = "-A";
- // } else {
- // args = "-D";
- // }
- //
- // args += " -P " + cmd.getProtocol().toLowerCase();
- // args += " -l " + cmd.getPublicIpAddress();
- // args += " -p " + cmd.getPublicPort();
- // args += " -n " + cmd.getRouterName();
- // args += " -i " + cmd.getRouterIpAddress();
- // args += " -r " + cmd.getPrivateIpAddress();
- // args += " -d " + cmd.getPrivatePort();
- // args += " -N " + cmd.getVlanNetmask();
- //
- // String oldPrivateIP = cmd.getOldPrivateIP();
- // String oldPrivatePort = cmd.getOldPrivatePort();
- //
- // if (oldPrivateIP != null) {
- // args += " -w " + oldPrivateIP;
- // }
- //
- // if (oldPrivatePort != null) {
- // args += " -x " + oldPrivatePort;
- // }
- // }
- //
- // final Script command = new Script(_firewallPath, _timeout, s_logger);
- // String [] argsArray = args.split(" ");
- // for (String param : argsArray) {
- // command.add(param);
- // }
- // String result = command.execute();
- // return new Answer(cmd, result == null, result);
- // }
-
- protected String getDefaultScriptsDir() {
- return "scripts/network/domr/dom0";
- }
-
- protected String findScript(final String script) {
- return Script.findScript(_scriptsDir, script);
- }
-
- @Override
public boolean configure(final String name, final Map params) throws ConfigurationException {
_name = name;
- _scriptsDir = (String)params.get("domr.scripts.dir");
- if (_scriptsDir == null) {
- if (s_logger.isInfoEnabled()) {
- s_logger.info("VirtualRoutingResource _scriptDir can't be initialized from domr.scripts.dir param, use default");
- }
- _scriptsDir = getDefaultScriptsDir();
- }
-
- if (s_logger.isInfoEnabled()) {
- s_logger.info("VirtualRoutingResource _scriptDir to use: " + _scriptsDir);
- }
-
- String value = (String)params.get("scripts.timeout");
- _timeout = NumbersUtil.parseInt(value, 120) * 1000;
-
- value = (String)params.get("start.script.timeout");
- _startTimeout = NumbersUtil.parseInt(value, 360) * 1000;
-
- value = (String)params.get("ssh.sleep");
+ String value = (String)params.get("ssh.sleep");
_sleep = NumbersUtil.parseInt(value, 10) * 1000;
value = (String)params.get("ssh.retry");
@@ -1105,60 +880,9 @@ public class VirtualRoutingResource implements Manager {
value = (String)params.get("ssh.port");
_port = NumbersUtil.parseInt(value, 3922);
- _publicIpAddress = (String)params.get("public.ip.address");
- if (_publicIpAddress != null) {
- s_logger.warn("Incoming public ip address is overriden. Will always be using the same ip address: " + _publicIpAddress);
+ if (_vrDeployer == null) {
+ throw new ConfigurationException("Unable to find the resource for VirtualRouterDeployer!");
}
-
- _firewallPath = findScript("call_firewall.sh");
- if (_firewallPath == null) {
- throw new ConfigurationException("Unable to find the call_firewall.sh");
- }
-
- _loadbPath = findScript("call_loadbalancer.sh");
- if (_loadbPath == null) {
- throw new ConfigurationException("Unable to find the call_loadbalancer.sh");
- }
-
- _dhcpEntryPath = findScript("dhcp_entry.sh");
- if (_dhcpEntryPath == null) {
- throw new ConfigurationException("Unable to find dhcp_entry.sh");
- }
-
- _publicEthIf = (String)params.get("public.network.device");
- if (_publicEthIf == null) {
- _publicEthIf = "xenbr1";
- }
- _publicEthIf = _publicEthIf.toLowerCase();
-
- _privateEthIf = (String)params.get("private.network.device");
- if (_privateEthIf == null) {
- _privateEthIf = "xenbr0";
- }
- _privateEthIf = _privateEthIf.toLowerCase();
-
- _bumpUpPriorityPath = findScript("bumpUpPriority.sh");
- if (_bumpUpPriorityPath == null) {
- throw new ConfigurationException("Unable to find bumpUpPriority.sh");
- }
-
- _routerProxyPath = findScript("router_proxy.sh");
- if (_routerProxyPath == null) {
- throw new ConfigurationException("Unable to find router_proxy.sh");
- }
- _createIpAliasPath = findScript("createipAlias.sh");
- if (_createIpAliasPath == null) {
- throw new ConfigurationException("unable to find createipAlias.sh");
- }
- _deleteIpAliasPath = findScript("deleteipAlias.sh");
- if (_deleteIpAliasPath == null) {
- throw new ConfigurationException("unable to find deleteipAlias.sh");
- }
- _callDnsMasqPath = findScript("call_dnsmasq.sh");
- if (_callDnsMasqPath == null) {
- throw new ConfigurationException("unable to find call_dnsmasq.sh");
- }
-
return true;
}
@@ -1237,50 +961,4 @@ public class VirtualRoutingResource implements Manager {
return false;
}
-
- @Override
- public String getName() {
- return _name;
- }
-
- @Override
- public void setName(String name) {
- _name = name;
- }
-
- @Override
- public boolean start() {
- return true;
- }
-
- @Override
- public boolean stop() {
- return true;
- }
-
- @Override
- public int getRunLevel() {
- return ComponentLifecycle.RUN_LEVEL_COMPONENT;
- }
-
- public void setRunLevel() {
- }
-
- @Override
- public void setConfigParams(Map params) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public Map getConfigParams() {
- // TODO Auto-generated method stub
- return null;
- }
-
- @Override
- public void setRunLevel(int level) {
- // TODO Auto-generated method stub
-
- }
}
diff --git a/core/src/com/cloud/agent/transport/Request.java b/core/src/com/cloud/agent/transport/Request.java
index f4ed5c4b6e6..b5890d90451 100755
--- a/core/src/com/cloud/agent/transport/Request.java
+++ b/core/src/com/cloud/agent/transport/Request.java
@@ -23,6 +23,7 @@ import java.io.StringReader;
import java.lang.reflect.Type;
import java.nio.ByteBuffer;
import java.util.ArrayList;
+import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.zip.GZIPInputStream;
@@ -49,6 +50,7 @@ import com.cloud.exception.UnsupportedVersionException;
import com.cloud.serializer.GsonHelper;
import com.cloud.utils.NumbersUtil;
import com.cloud.utils.Pair;
+import com.cloud.utils.StringUtils;
import com.cloud.utils.exception.CloudRuntimeException;
/**
@@ -436,11 +438,35 @@ public class Request {
}
buf.append(", Ver: ").append(_ver.toString());
buf.append(", Flags: ").append(Integer.toBinaryString(getFlags())).append(", ");
- buf.append(content);
+ String cleanContent = content.toString();
+ if(cleanContent.contains("password")) {
+ buf.append(cleanPassword(cleanContent));
+ } else {
+ buf.append(content);
+ }
buf.append(" }");
return buf.toString();
}
+ public static String cleanPassword(String logString) {
+ String cleanLogString = null;
+ if (logString != null) {
+ cleanLogString = logString;
+ String[] temp = logString.split(",");
+ int i = 0;
+ if (temp != null) {
+ while (i < temp.length) {
+ temp[i] = StringUtils.cleanString(temp[i]);
+ i++;
+ }
+ List stringList = new ArrayList();
+ Collections.addAll(stringList, temp);
+ cleanLogString = StringUtils.join(stringList, ",");
+ }
+ }
+ return cleanLogString;
+ }
+
/**
* Factory method for Request and Response. It expects the bytes to be
* correctly formed so it's possible that it throws underflow exceptions
diff --git a/core/src/com/cloud/host/HostInfo.java b/core/src/com/cloud/host/HostInfo.java
index 89fb8061aa0..4a95aa8d862 100644
--- a/core/src/com/cloud/host/HostInfo.java
+++ b/core/src/com/cloud/host/HostInfo.java
@@ -21,5 +21,6 @@ public final class HostInfo {
public static final String HOST_OS = "Host.OS"; //Fedora, XenServer, Ubuntu, etc
public static final String HOST_OS_VERSION = "Host.OS.Version"; //12, 5.5, 9.10, etc
public static final String HOST_OS_KERNEL_VERSION = "Host.OS.Kernel.Version"; //linux-2.6.31 etc
-
+ public static final String XS620_SNAPSHOT_HOTFIX = "xs620_snapshot_hotfix";
}
+
diff --git a/core/src/com/cloud/info/RunningHostInfoAgregator.java b/core/src/com/cloud/info/RunningHostInfoAgregator.java
index 689cdeb66e9..cec8037ccc9 100644
--- a/core/src/com/cloud/info/RunningHostInfoAgregator.java
+++ b/core/src/com/cloud/info/RunningHostInfoAgregator.java
@@ -24,9 +24,9 @@ import com.cloud.host.Host;
public class RunningHostInfoAgregator {
public static class ZoneHostInfo {
- public static int ROUTING_HOST_MASK = 2;
- public static int STORAGE_HOST_MASK = 4;
- public static int ALL_HOST_MASK = ROUTING_HOST_MASK | STORAGE_HOST_MASK;
+ public static final int ROUTING_HOST_MASK = 2;
+ public static final int STORAGE_HOST_MASK = 4;
+ public static final int ALL_HOST_MASK = ROUTING_HOST_MASK | STORAGE_HOST_MASK;
private long dcId;
@@ -51,7 +51,7 @@ public class RunningHostInfoAgregator {
}
}
- private Map zoneHostInfoMap = new HashMap();
+ private final Map zoneHostInfoMap = new HashMap();
public RunningHostInfoAgregator() {
}
diff --git a/core/src/com/cloud/network/LoadBalancerValidator.java b/core/src/com/cloud/network/LoadBalancerValidator.java
index 3fb8a2f89ab..f3188999f4e 100644
--- a/core/src/com/cloud/network/LoadBalancerValidator.java
+++ b/core/src/com/cloud/network/LoadBalancerValidator.java
@@ -16,7 +16,6 @@
// under the License.
package com.cloud.network;
-import com.cloud.exception.ResourceUnavailableException;
import com.cloud.network.lb.LoadBalancingRule;
public interface LoadBalancerValidator {
@@ -24,7 +23,6 @@ public interface LoadBalancerValidator {
* Validate rules
* @param rule
* @return true/false. If there are no validation then true should be return.
- * @throws ResourceUnavailableException
*/
public boolean validateLBRule(LoadBalancingRule rule);
}
diff --git a/core/src/com/cloud/network/resource/TrafficSentinelResource.java b/core/src/com/cloud/network/resource/TrafficSentinelResource.java
index ada5f5e1d6d..67c0dd42f86 100644
--- a/core/src/com/cloud/network/resource/TrafficSentinelResource.java
+++ b/core/src/com/cloud/network/resource/TrafficSentinelResource.java
@@ -243,11 +243,11 @@ public class TrafficSentinelResource implements ServerResource {
return answer;
}
- private String getScript(List Ips, Date start, Date end) {
+ private String getScript(List ips, Date start, Date end) {
String IpAddresses = "";
- for (int i = 0; i < Ips.size(); i++) {
- IpAddresses += Ips.get(i);
- if (i != (Ips.size() - 1)) {
+ for (int i = 0; i < ips.size(); i++) {
+ IpAddresses += ips.get(i);
+ if (i != (ips.size() - 1)) {
// Append comma for all Ips except the last Ip
IpAddresses += ",";
}
diff --git a/core/src/com/cloud/storage/template/HttpTemplateDownloader.java b/core/src/com/cloud/storage/template/HttpTemplateDownloader.java
index f3d34b06c96..b57f6d40c67 100644
--- a/core/src/com/cloud/storage/template/HttpTemplateDownloader.java
+++ b/core/src/com/cloud/storage/template/HttpTemplateDownloader.java
@@ -72,7 +72,7 @@ public class HttpTemplateDownloader extends ManagedContextRunnable implements Te
boolean inited = true;
private String toDir;
- private long MAX_TEMPLATE_SIZE_IN_BYTES;
+ private long maxTemplateSizeInBytes;
private ResourceType resourceType = ResourceType.TEMPLATE;
private final HttpMethodRetryHandler myretryhandler;
@@ -83,7 +83,7 @@ public class HttpTemplateDownloader extends ManagedContextRunnable implements Te
setToDir(toDir);
status = TemplateDownloader.Status.NOT_STARTED;
this.resourceType = resourceType;
- MAX_TEMPLATE_SIZE_IN_BYTES = maxTemplateSizeInBytes;
+ this.maxTemplateSizeInBytes = maxTemplateSizeInBytes;
totalBytes = 0;
client = new HttpClient(s_httpClientManager);
@@ -217,15 +217,15 @@ public class HttpTemplateDownloader extends ManagedContextRunnable implements Te
remoteSize = remoteSize2;
}
- if (remoteSize > MAX_TEMPLATE_SIZE_IN_BYTES) {
- s_logger.info("Remote size is too large: " + remoteSize + " , max=" + MAX_TEMPLATE_SIZE_IN_BYTES);
+ if (remoteSize > maxTemplateSizeInBytes) {
+ s_logger.info("Remote size is too large: " + remoteSize + " , max=" + maxTemplateSizeInBytes);
status = Status.UNRECOVERABLE_ERROR;
errorString = "Download file size is too large";
return 0;
}
if (remoteSize == 0) {
- remoteSize = MAX_TEMPLATE_SIZE_IN_BYTES;
+ remoteSize = maxTemplateSizeInBytes;
}
InputStream in = !chunked ? new BufferedInputStream(request.getResponseBodyAsStream()) : new ChunkedInputStream(request.getResponseBodyAsStream());
@@ -233,7 +233,7 @@ public class HttpTemplateDownloader extends ManagedContextRunnable implements Te
RandomAccessFile out = new RandomAccessFile(file, "rwd");
out.seek(localFileSize);
- s_logger.info("Starting download from " + getDownloadUrl() + " to " + toFile + " remoteSize=" + remoteSize + " , max size=" + MAX_TEMPLATE_SIZE_IN_BYTES);
+ s_logger.info("Starting download from " + getDownloadUrl() + " to " + toFile + " remoteSize=" + remoteSize + " , max size=" + maxTemplateSizeInBytes);
byte[] block = new byte[CHUNK_SIZE];
long offset = 0;
@@ -387,7 +387,7 @@ public class HttpTemplateDownloader extends ManagedContextRunnable implements Te
@Override
public long getMaxTemplateSizeInBytes() {
- return MAX_TEMPLATE_SIZE_IN_BYTES;
+ return maxTemplateSizeInBytes;
}
public static void main(String[] args) {
diff --git a/core/src/com/cloud/storage/template/OVAProcessor.java b/core/src/com/cloud/storage/template/OVAProcessor.java
new file mode 100644
index 00000000000..0db3bb00e0a
--- /dev/null
+++ b/core/src/com/cloud/storage/template/OVAProcessor.java
@@ -0,0 +1,158 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package com.cloud.storage.template;
+
+import java.io.File;
+import java.util.Map;
+
+import javax.ejb.Local;
+import javax.naming.ConfigurationException;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.apache.log4j.Logger;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+
+import com.cloud.exception.InternalErrorException;
+import com.cloud.storage.Storage.ImageFormat;
+import com.cloud.storage.StorageLayer;
+import com.cloud.utils.component.AdapterBase;
+import com.cloud.utils.script.Script;
+
+@Local(value = Processor.class)
+public class OVAProcessor extends AdapterBase implements Processor {
+ private static final Logger s_logger = Logger.getLogger(OVAProcessor.class);
+
+ StorageLayer _storage;
+
+ @Override
+ public FormatInfo process(String templatePath, ImageFormat format, String templateName) throws InternalErrorException {
+ if (format != null) {
+ if (s_logger.isInfoEnabled()) {
+ s_logger.info("We currently don't handle conversion from " + format + " to OVA.");
+ }
+ return null;
+ }
+
+ s_logger.info("Template processing. templatePath: " + templatePath + ", templateName: " + templateName);
+ String templateFilePath = templatePath + File.separator + templateName + "." + ImageFormat.OVA.getFileExtension();
+ if (!_storage.exists(templateFilePath)) {
+ if (s_logger.isInfoEnabled()) {
+ s_logger.info("Unable to find the vmware template file: " + templateFilePath);
+ }
+ return null;
+ }
+
+ s_logger.info("Template processing - untar OVA package. templatePath: " + templatePath + ", templateName: " + templateName);
+ String templateFileFullPath = templatePath + File.separator + templateName + "." + ImageFormat.OVA.getFileExtension();
+ File templateFile = new File(templateFileFullPath);
+
+ Script command = new Script("tar", 0, s_logger);
+ command.add("--no-same-owner");
+ command.add("-xf", templateFileFullPath);
+ command.setWorkDir(templateFile.getParent());
+ String result = command.execute();
+ if (result != null) {
+ s_logger.info("failed to untar OVA package due to " + result + ". templatePath: " + templatePath + ", templateName: " + templateName);
+ return null;
+ }
+
+ FormatInfo info = new FormatInfo();
+ info.format = ImageFormat.OVA;
+ info.filename = templateName + "." + ImageFormat.OVA.getFileExtension();
+ info.size = _storage.getSize(templateFilePath);
+ info.virtualSize = getTemplateVirtualSize(templatePath, info.filename);
+
+ // delete original OVA file
+ // templateFile.delete();
+ return info;
+ }
+
+ @Override
+ public Long getVirtualSize(File file) {
+ try {
+ long size = getTemplateVirtualSize(file.getParent(), file.getName());
+ return size;
+ } catch (Exception e) {
+
+ }
+ return file.length();
+ }
+
+ public long getTemplateVirtualSize(String templatePath, String templateName) throws InternalErrorException {
+ // get the virtual size from the OVF file meta data
+ long virtualSize = 0;
+ String templateFileFullPath = templatePath.endsWith(File.separator) ? templatePath : templatePath + File.separator;
+ templateFileFullPath += templateName.endsWith(ImageFormat.OVA.getFileExtension()) ? templateName : templateName + "." + ImageFormat.OVA.getFileExtension();
+ String ovfFileName = getOVFFilePath(templateFileFullPath);
+ if (ovfFileName == null) {
+ String msg = "Unable to locate OVF file in template package directory: " + templatePath;
+ s_logger.error(msg);
+ throw new InternalErrorException(msg);
+ }
+ try {
+ Document ovfDoc = null;
+ ovfDoc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new File(ovfFileName));
+ Element disk = (Element)ovfDoc.getElementsByTagName("Disk").item(0);
+ virtualSize = Long.parseLong(disk.getAttribute("ovf:capacity"));
+ String allocationUnits = disk.getAttribute("ovf:capacityAllocationUnits");
+ if ((virtualSize != 0) && (allocationUnits != null)) {
+ long units = 1;
+ if (allocationUnits.equalsIgnoreCase("KB") || allocationUnits.equalsIgnoreCase("KiloBytes") || allocationUnits.equalsIgnoreCase("byte * 2^10")) {
+ units = 1024;
+ } else if (allocationUnits.equalsIgnoreCase("MB") || allocationUnits.equalsIgnoreCase("MegaBytes") || allocationUnits.equalsIgnoreCase("byte * 2^20")) {
+ units = 1024 * 1024;
+ } else if (allocationUnits.equalsIgnoreCase("GB") || allocationUnits.equalsIgnoreCase("GigaBytes") || allocationUnits.equalsIgnoreCase("byte * 2^30")) {
+ units = 1024 * 1024 * 1024;
+ }
+ virtualSize = virtualSize * units;
+ } else {
+ throw new InternalErrorException("Failed to read capacity and capacityAllocationUnits from the OVF file: " + ovfFileName);
+ }
+ return virtualSize;
+ } catch (Exception e) {
+ String msg = "Unable to parse OVF XML document to get the virtual disk size due to" + e;
+ s_logger.error(msg);
+ throw new InternalErrorException(msg);
+ }
+ }
+
+ private String getOVFFilePath(String srcOVAFileName) {
+ File file = new File(srcOVAFileName);
+ assert (_storage != null);
+ String[] files = _storage.listFiles(file.getParent());
+ if (files != null) {
+ for (String fileName : files) {
+ if (fileName.toLowerCase().endsWith(".ovf")) {
+ File ovfFile = new File(fileName);
+ return file.getParent() + File.separator + ovfFile.getName();
+ }
+ }
+ }
+ return null;
+ }
+
+ @Override
+ public boolean configure(String name, Map params) throws ConfigurationException {
+ _storage = (StorageLayer)params.get(StorageLayer.InstanceConfigKey);
+ if (_storage == null) {
+ throw new ConfigurationException("Unable to get storage implementation");
+ }
+
+ return true;
+ }
+}
diff --git a/core/src/com/cloud/storage/template/TemplateDownloaderBase.java b/core/src/com/cloud/storage/template/TemplateDownloaderBase.java
index 7eb0b5fa669..e3fec8ee5a4 100644
--- a/core/src/com/cloud/storage/template/TemplateDownloaderBase.java
+++ b/core/src/com/cloud/storage/template/TemplateDownloaderBase.java
@@ -40,7 +40,7 @@ public abstract class TemplateDownloaderBase extends ManagedContextRunnable impl
protected long _start;
protected StorageLayer _storage;
protected boolean _inited = false;
- private long MAX_TEMPLATE_SIZE_IN_BYTES;
+ private long maxTemplateSizeInBytes;
public TemplateDownloaderBase(StorageLayer storage, String downloadUrl, String toDir, long maxTemplateSizeInBytes, DownloadCompleteCallback callback) {
_storage = storage;
@@ -49,7 +49,7 @@ public abstract class TemplateDownloaderBase extends ManagedContextRunnable impl
_callback = callback;
_inited = true;
- this.MAX_TEMPLATE_SIZE_IN_BYTES = maxTemplateSizeInBytes;
+ this.maxTemplateSizeInBytes = maxTemplateSizeInBytes;
}
@Override
@@ -122,7 +122,7 @@ public abstract class TemplateDownloaderBase extends ManagedContextRunnable impl
@Override
public long getMaxTemplateSizeInBytes() {
- return this.MAX_TEMPLATE_SIZE_IN_BYTES;
+ return this.maxTemplateSizeInBytes;
}
@Override
diff --git a/core/src/com/cloud/storage/template/VhdProcessor.java b/core/src/com/cloud/storage/template/VhdProcessor.java
index 308ea6472ef..2e4ac44dcd4 100644
--- a/core/src/com/cloud/storage/template/VhdProcessor.java
+++ b/core/src/com/cloud/storage/template/VhdProcessor.java
@@ -45,11 +45,11 @@ public class VhdProcessor extends AdapterBase implements Processor {
private static final Logger s_logger = Logger.getLogger(VhdProcessor.class);
StorageLayer _storage;
- private int vhd_footer_size = 512;
- private int vhd_footer_creator_app_offset = 28;
- private int vhd_footer_creator_ver_offset = 32;
- private int vhd_footer_current_size_offset = 48;
- private byte[][] citrix_creator_app = { {0x74, 0x61, 0x70, 0x00}, {0x43, 0x54, 0x58, 0x53}}; /*"tap ", and "CTXS"*/
+ private int vhdFooterSize = 512;
+ private int vhdFooterCreatorAppOffset = 28;
+ private int vhdFooterCreatorVerOffset = 32;
+ private int vhdFooterCurrentSizeOffset = 48;
+ private byte[][] citrixCreatorApp = { {0x74, 0x61, 0x70, 0x00}, {0x43, 0x54, 0x58, 0x53}}; /*"tap ", and "CTXS"*/
@Override
public FormatInfo process(String templatePath, ImageFormat format, String templateName) throws InternalErrorException {
@@ -77,9 +77,9 @@ public class VhdProcessor extends AdapterBase implements Processor {
byte[] creatorApp = new byte[4];
try {
strm = new FileInputStream(vhdFile);
- strm.skip(info.size - vhd_footer_size + vhd_footer_creator_app_offset);
+ strm.skip(info.size - vhdFooterSize + vhdFooterCreatorAppOffset);
strm.read(creatorApp);
- strm.skip(vhd_footer_current_size_offset - vhd_footer_creator_ver_offset);
+ strm.skip(vhdFooterCurrentSizeOffset - vhdFooterCreatorVerOffset);
strm.read(currentSize);
} catch (Exception e) {
s_logger.warn("Unable to read vhd file " + vhdPath, e);
@@ -108,9 +108,9 @@ public class VhdProcessor extends AdapterBase implements Processor {
byte[] creatorApp = new byte[4];
try {
strm = new FileInputStream(file);
- strm.skip(file.length() - vhd_footer_size + vhd_footer_creator_app_offset);
+ strm.skip(file.length() - vhdFooterSize + vhdFooterCreatorAppOffset);
strm.read(creatorApp);
- strm.skip(vhd_footer_current_size_offset - vhd_footer_creator_ver_offset);
+ strm.skip(vhdFooterCurrentSizeOffset - vhdFooterCreatorVerOffset);
strm.read(currentSize);
} catch (Exception e) {
s_logger.warn("Unable to read vhd file " + file.getAbsolutePath(), e);
@@ -141,8 +141,8 @@ public class VhdProcessor extends AdapterBase implements Processor {
private void imageSignatureCheck(byte[] creatorApp) throws InternalErrorException {
boolean findKnownCreator = false;
- for (int i = 0; i < citrix_creator_app.length; i++) {
- if (Arrays.equals(creatorApp, citrix_creator_app[i])) {
+ for (int i = 0; i < citrixCreatorApp.length; i++) {
+ if (Arrays.equals(creatorApp, citrixCreatorApp[i])) {
findKnownCreator = true;
break;
}
diff --git a/core/src/com/cloud/storage/template/VmdkProcessor.java b/core/src/com/cloud/storage/template/VmdkProcessor.java
index be201438a1c..2c08447e9f9 100644
--- a/core/src/com/cloud/storage/template/VmdkProcessor.java
+++ b/core/src/com/cloud/storage/template/VmdkProcessor.java
@@ -16,22 +16,24 @@
// under the License.
package com.cloud.storage.template;
+import java.io.BufferedReader;
import java.io.File;
+import java.io.FileReader;
+import java.io.FileNotFoundException;
+import java.io.IOException;
import java.util.Map;
+import java.util.regex.Pattern;
+import java.util.regex.Matcher;
import javax.ejb.Local;
import javax.naming.ConfigurationException;
-import javax.xml.parsers.DocumentBuilderFactory;
import org.apache.log4j.Logger;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
import com.cloud.exception.InternalErrorException;
import com.cloud.storage.Storage.ImageFormat;
import com.cloud.storage.StorageLayer;
import com.cloud.utils.component.AdapterBase;
-import com.cloud.utils.script.Script;
@Local(value = Processor.class)
public class VmdkProcessor extends AdapterBase implements Processor {
@@ -49,7 +51,7 @@ public class VmdkProcessor extends AdapterBase implements Processor {
}
s_logger.info("Template processing. templatePath: " + templatePath + ", templateName: " + templateName);
- String templateFilePath = templatePath + File.separator + templateName + "." + ImageFormat.OVA.getFileExtension();
+ String templateFilePath = templatePath + File.separator + templateName + "." + ImageFormat.VMDK.getFileExtension();
if (!_storage.exists(templateFilePath)) {
if (s_logger.isInfoEnabled()) {
s_logger.info("Unable to find the vmware template file: " + templateFilePath);
@@ -57,28 +59,12 @@ public class VmdkProcessor extends AdapterBase implements Processor {
return null;
}
- s_logger.info("Template processing - untar OVA package. templatePath: " + templatePath + ", templateName: " + templateName);
- String templateFileFullPath = templatePath + File.separator + templateName + "." + ImageFormat.OVA.getFileExtension();
- File templateFile = new File(templateFileFullPath);
-
- Script command = new Script("tar", 0, s_logger);
- command.add("--no-same-owner");
- command.add("-xf", templateFileFullPath);
- command.setWorkDir(templateFile.getParent());
- String result = command.execute();
- if (result != null) {
- s_logger.info("failed to untar OVA package due to " + result + ". templatePath: " + templatePath + ", templateName: " + templateName);
- return null;
- }
-
FormatInfo info = new FormatInfo();
- info.format = ImageFormat.OVA;
- info.filename = templateName + "." + ImageFormat.OVA.getFileExtension();
+ info.format = ImageFormat.VMDK;
+ info.filename = templateName + "." + ImageFormat.VMDK.getFileExtension();
info.size = _storage.getSize(templateFilePath);
info.virtualSize = getTemplateVirtualSize(templatePath, info.filename);
- // delete original OVA file
- // templateFile.delete();
return info;
}
@@ -94,56 +80,37 @@ public class VmdkProcessor extends AdapterBase implements Processor {
}
public long getTemplateVirtualSize(String templatePath, String templateName) throws InternalErrorException {
- // get the virtual size from the OVF file meta data
long virtualSize = 0;
String templateFileFullPath = templatePath.endsWith(File.separator) ? templatePath : templatePath + File.separator;
- templateFileFullPath += templateName.endsWith(ImageFormat.OVA.getFileExtension()) ? templateName : templateName + "." + ImageFormat.OVA.getFileExtension();
- String ovfFileName = getOVFFilePath(templateFileFullPath);
- if (ovfFileName == null) {
- String msg = "Unable to locate OVF file in template package directory: " + templatePath;
- s_logger.error(msg);
- throw new InternalErrorException(msg);
- }
- try {
- Document ovfDoc = null;
- ovfDoc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new File(ovfFileName));
- Element disk = (Element)ovfDoc.getElementsByTagName("Disk").item(0);
- virtualSize = Long.parseLong(disk.getAttribute("ovf:capacity"));
- String allocationUnits = disk.getAttribute("ovf:capacityAllocationUnits");
- if ((virtualSize != 0) && (allocationUnits != null)) {
- long units = 1;
- if (allocationUnits.equalsIgnoreCase("KB") || allocationUnits.equalsIgnoreCase("KiloBytes") || allocationUnits.equalsIgnoreCase("byte * 2^10")) {
- units = 1024;
- } else if (allocationUnits.equalsIgnoreCase("MB") || allocationUnits.equalsIgnoreCase("MegaBytes") || allocationUnits.equalsIgnoreCase("byte * 2^20")) {
- units = 1024 * 1024;
- } else if (allocationUnits.equalsIgnoreCase("GB") || allocationUnits.equalsIgnoreCase("GigaBytes") || allocationUnits.equalsIgnoreCase("byte * 2^30")) {
- units = 1024 * 1024 * 1024;
- }
- virtualSize = virtualSize * units;
- } else {
- throw new InternalErrorException("Failed to read capacity and capacityAllocationUnits from the OVF file: " + ovfFileName);
- }
- return virtualSize;
- } catch (Exception e) {
- String msg = "Unable to parse OVF XML document to get the virtual disk size due to" + e;
- s_logger.error(msg);
- throw new InternalErrorException(msg);
- }
- }
+ templateFileFullPath += templateName.endsWith(ImageFormat.VMDK.getFileExtension()) ? templateName : templateName + "." + ImageFormat.VMDK.getFileExtension();
+ String vmdkHeader = "";
- private String getOVFFilePath(String srcOVAFileName) {
- File file = new File(srcOVAFileName);
- assert (_storage != null);
- String[] files = _storage.listFiles(file.getParent());
- if (files != null) {
- for (String fileName : files) {
- if (fileName.toLowerCase().endsWith(".ovf")) {
- File ovfFile = new File(fileName);
- return file.getParent() + File.separator + ovfFile.getName();
+ try {
+ FileReader fileReader = new FileReader(templateFileFullPath);
+ BufferedReader bufferedReader = new BufferedReader(fileReader);
+ Pattern regex = Pattern.compile("(RW|RDONLY|NOACCESS) (\\d+) (FLAT|SPARSE|ZERO|VMFS|VMFSSPARSE|VMFSDRM|VMFSRAW)");
+ String line = null;
+ while((line = bufferedReader.readLine()) != null) {
+ Matcher m = regex.matcher(line);
+ if (m.find( )) {
+ long sectors = Long.parseLong(m.group(2));
+ virtualSize = sectors * 512;
+ break;
}
}
+ bufferedReader.close();
+ } catch(FileNotFoundException ex) {
+ String msg = "Unable to open file '" + templateFileFullPath + "' " + ex.toString();
+ s_logger.error(msg);
+ throw new InternalErrorException(msg);
+ } catch(IOException ex) {
+ String msg = "Unable read open file '" + templateFileFullPath + "' " + ex.toString();
+ s_logger.error(msg);
+ throw new InternalErrorException(msg);
}
- return null;
+
+ s_logger.debug("vmdk file had size="+virtualSize);
+ return virtualSize;
}
@Override
diff --git a/core/src/org/apache/cloudstack/storage/command/CopyCommand.java b/core/src/org/apache/cloudstack/storage/command/CopyCommand.java
index 7fcde1e8d4f..446c61f9a7b 100644
--- a/core/src/org/apache/cloudstack/storage/command/CopyCommand.java
+++ b/core/src/org/apache/cloudstack/storage/command/CopyCommand.java
@@ -16,6 +16,9 @@
// under the License.
package org.apache.cloudstack.storage.command;
+import java.util.HashMap;
+import java.util.Map;
+
import com.cloud.agent.api.Command;
import com.cloud.agent.api.to.DataTO;
@@ -24,6 +27,7 @@ public final class CopyCommand extends Command implements StorageSubSystemComman
private DataTO destTO;
private DataTO cacheTO;
boolean executeInSequence = false;
+ Map options = new HashMap();
public CopyCommand(DataTO srcData, DataTO destData, int timeout, boolean executeInSequence) {
super();
@@ -66,4 +70,12 @@ public final class CopyCommand extends Command implements StorageSubSystemComman
return this.getWait() * 1000;
}
+ public void setOptions(Map options) {
+ this.options = options;
+ }
+
+ public Map getOptions() {
+ return options;
+ }
+
}
diff --git a/core/src/org/apache/cloudstack/storage/command/DownloadCommand.java b/core/src/org/apache/cloudstack/storage/command/DownloadCommand.java
index 60377fa569d..c12d4d02bff 100644
--- a/core/src/org/apache/cloudstack/storage/command/DownloadCommand.java
+++ b/core/src/org/apache/cloudstack/storage/command/DownloadCommand.java
@@ -158,8 +158,8 @@ public class DownloadCommand extends AbstractDownloadCommand implements Internal
return _store;
}
- public void setDataStore(DataStoreTO _store) {
- this._store = _store;
+ public void setDataStore(DataStoreTO store) {
+ this._store = store;
}
public String getInstallPath() {
diff --git a/core/src/org/apache/cloudstack/storage/to/SnapshotObjectTO.java b/core/src/org/apache/cloudstack/storage/to/SnapshotObjectTO.java
index 03b460902bf..7d1ac2d7e5e 100644
--- a/core/src/org/apache/cloudstack/storage/to/SnapshotObjectTO.java
+++ b/core/src/org/apache/cloudstack/storage/to/SnapshotObjectTO.java
@@ -16,8 +16,11 @@
// under the License.
package org.apache.cloudstack.storage.to;
+import java.util.ArrayList;
+
import org.apache.cloudstack.engine.subsystem.api.storage.SnapshotInfo;
import org.apache.cloudstack.engine.subsystem.api.storage.VolumeInfo;
+import org.apache.commons.lang.ArrayUtils;
import com.cloud.agent.api.to.DataObjectType;
import com.cloud.agent.api.to.DataStoreTO;
@@ -34,6 +37,9 @@ public class SnapshotObjectTO implements DataTO {
private HypervisorType hypervisorType;
private long id;
private boolean quiescevm;
+ private String[] parents;
+ private Long physicalSize = (long) 0;
+
public SnapshotObjectTO() {
@@ -49,9 +55,17 @@ public class SnapshotObjectTO implements DataTO {
}
SnapshotInfo parentSnapshot = snapshot.getParent();
+ ArrayList parentsArry = new ArrayList();
if (parentSnapshot != null) {
this.parentSnapshotPath = parentSnapshot.getPath();
+ while(parentSnapshot != null) {
+ parentsArry.add(parentSnapshot.getPath());
+ parentSnapshot = parentSnapshot.getParent();
+ }
+ parents = parentsArry.toArray(new String[parentsArry.size()]);
+ ArrayUtils.reverse(parents);
}
+
this.dataStore = snapshot.getDataStore().getTO();
this.setName(snapshot.getName());
this.hypervisorType = snapshot.getHypervisorType();
@@ -81,6 +95,14 @@ public class SnapshotObjectTO implements DataTO {
this.path = path;
}
+ public Long getPhysicalSize() {
+ return this.physicalSize;
+ }
+
+ public void setPhysicalSize(Long physicalSize ) {
+ this.physicalSize = physicalSize;
+ }
+
public VolumeObjectTO getVolume() {
return volume;
}
@@ -139,6 +161,10 @@ public class SnapshotObjectTO implements DataTO {
this.quiescevm = quiescevm;
}
+ public String[] getParents() {
+ return parents;
+ }
+
@Override
public String toString() {
return new StringBuilder("SnapshotTO[datastore=").append(dataStore).append("|volume=").append(volume).append("|path").append(path).append("]").toString();
diff --git a/core/test/org/apache/cloudstack/api/agent/test/CheckOnHostCommandTest.java b/core/test/org/apache/cloudstack/api/agent/test/CheckOnHostCommandTest.java
index d266eb3aabe..9edbf102471 100644
--- a/core/test/org/apache/cloudstack/api/agent/test/CheckOnHostCommandTest.java
+++ b/core/test/org/apache/cloudstack/api/agent/test/CheckOnHostCommandTest.java
@@ -81,7 +81,10 @@ public class CheckOnHostCommandTest {
return "10.1.1.1";
};
- @Override
+ public String getStorageUrl() {
+ return null;
+ }
+
public String getStorageIpAddress() {
return "10.1.1.2";
};
diff --git a/debian/control b/debian/control
index c756dcd0d8e..ab4644badd2 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: cloudstack
Section: libs
Priority: extra
Maintainer: Wido den Hollander
-Build-Depends: debhelper (>= 7), openjdk-6-jdk | openjdk-7-jdk, tomcat6, genisoimage,
+Build-Depends: debhelper (>= 7), openjdk-7-jdk, tomcat6, genisoimage,
python-mysqldb, maven3 | maven (>= 3), python (>= 2.6.6-3~)
Standards-Version: 3.8.1
Homepage: http://www.cloudstack.org/
@@ -22,7 +22,7 @@ Description: CloudStack server library
Package: cloudstack-agent
Architecture: all
-Depends: openjdk-6-jre | openjdk-7-jre, cloudstack-common (= ${source:Version}), lsb-base (>= 3.2), libcommons-daemon-java, openssh-client, libvirt0, sysvinit-utils, qemu-kvm, libvirt-bin, uuid-runtime, rsync, grep, iproute, perl-base, perl-modules, ebtables, vlan, wget, jsvc, ipset, python-libvirt, ethtool, iptables
+Depends: openjdk-7-jre, cloudstack-common (= ${source:Version}), lsb-base (>= 3.2), libcommons-daemon-java, openssh-client, libvirt0, sysvinit-utils, qemu-kvm, libvirt-bin, uuid-runtime, rsync, grep, iproute, perl-base, perl-modules, ebtables, vlan, wget, jsvc, ipset, python-libvirt, ethtool, iptables
Conflicts: cloud-agent, cloud-agent-libs, cloud-agent-deps, cloud-agent-scripts
Description: CloudStack agent
The CloudStack agent is in charge of managing shared computing resources in
@@ -31,7 +31,7 @@ Description: CloudStack agent
Package: cloudstack-usage
Architecture: all
-Depends: openjdk-6-jre | openjdk-7-jre, cloudstack-common (= ${source:Version}), jsvc
+Depends: openjdk-7-jre, cloudstack-common (= ${source:Version}), jsvc
Description: CloudStack usage monitor
The CloudStack usage monitor provides usage accounting across the entire cloud for
cloud operators to charge based on usage parameters.
diff --git a/deps/XenServerJava/pom.xml b/deps/XenServerJava/pom.xml
index a621ab3d72c..84d9a975c98 100644
--- a/deps/XenServerJava/pom.xml
+++ b/deps/XenServerJava/pom.xml
@@ -36,7 +36,25 @@
- src
- install
+
+
+ org.apache.maven.plugins
+ maven-checkstyle-plugin
+
+
+ cloudstack-checkstyle
+ none
+
+
+
+
+ org.apache.cloudstack
+ checkstyle
+
+ ${project.parent.version}
+
+
+
+
diff --git a/deps/XenServerJava/src/com/xensource/xenapi/APIVersion.java b/deps/XenServerJava/src/com/xensource/xenapi/APIVersion.java
index 174cf5ad581..8d7247d4fc3 100644
--- a/deps/XenServerJava/src/com/xensource/xenapi/APIVersion.java
+++ b/deps/XenServerJava/src/com/xensource/xenapi/APIVersion.java
@@ -91,28 +91,28 @@ public enum APIVersion
{
switch (this)
{
- case API_1_1:
- return "1.1";
- case API_1_2:
- return "1.2";
- case API_1_3:
- return "1.3";
- case API_1_4:
- return "1.4";
- case API_1_5:
- return "1.5";
- case API_1_6:
- return "1.6";
- case API_1_7:
- return "1.7";
- case API_1_8:
- return "1.8";
- case API_1_9:
- return "1.9";
- case API_1_10:
- return "1.10";
- default:
- return "Unknown";
+ case API_1_1:
+ return "1.1";
+ case API_1_2:
+ return "1.2";
+ case API_1_3:
+ return "1.3";
+ case API_1_4:
+ return "1.4";
+ case API_1_5:
+ return "1.5";
+ case API_1_6:
+ return "1.6";
+ case API_1_7:
+ return "1.7";
+ case API_1_8:
+ return "1.8";
+ case API_1_9:
+ return "1.9";
+ case API_1_10:
+ return "1.10";
+ default:
+ return "Unknown";
}
}
}
diff --git a/deps/XenServerJava/src/com/xensource/xenapi/Auth.java b/deps/XenServerJava/src/com/xensource/xenapi/Auth.java
index fd84390d2a5..cffaaaca965 100644
--- a/deps/XenServerJava/src/com/xensource/xenapi/Auth.java
+++ b/deps/XenServerJava/src/com/xensource/xenapi/Auth.java
@@ -28,7 +28,6 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
package com.xensource.xenapi;
import com.xensource.xenapi.Types.BadServerResponse;
@@ -52,7 +51,6 @@ import org.apache.xmlrpc.XmlRpcException;
*/
public class Auth extends XenAPIObject {
-
public String toWireString() {
return null;
}
@@ -64,15 +62,15 @@ public class Auth extends XenAPIObject {
* @return the subject_identifier obtained from the external directory service
*/
public static String getSubjectIdentifier(Connection c, String subjectName) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "auth.get_subject_identifier";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(subjectName)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toString(result);
+ return Types.toString(result);
}
/**
@@ -82,15 +80,15 @@ public class Auth extends XenAPIObject {
* @return key-value pairs containing at least a key called subject_name
*/
public static Map getSubjectInformationFromIdentifier(Connection c, String subjectIdentifier) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "auth.get_subject_information_from_identifier";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(subjectIdentifier)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toMapOfStringString(result);
+ return Types.toMapOfStringString(result);
}
/**
@@ -100,15 +98,15 @@ public class Auth extends XenAPIObject {
* @return set of subject_identifiers that provides the group membership of subject_identifier passed as argument, it contains, recursively, all groups a subject_identifier is member of.
*/
public static Set getGroupMembership(Connection c, String subjectIdentifier) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "auth.get_group_membership";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(subjectIdentifier)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toSetOfString(result);
+ return Types.toSetOfString(result);
}
}
\ No newline at end of file
diff --git a/deps/XenServerJava/src/com/xensource/xenapi/Blob.java b/deps/XenServerJava/src/com/xensource/xenapi/Blob.java
index eeff12e709b..494b9286407 100644
--- a/deps/XenServerJava/src/com/xensource/xenapi/Blob.java
+++ b/deps/XenServerJava/src/com/xensource/xenapi/Blob.java
@@ -28,7 +28,6 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
package com.xensource.xenapi;
import com.xensource.xenapi.Types.BadServerResponse;
@@ -61,14 +60,14 @@ public class Blob extends XenAPIObject {
* For internal use only.
*/
Blob(String ref) {
- this.ref = ref;
+ this.ref = ref;
}
/**
* @return The XenAPI reference (OpaqueRef) to this object.
*/
public String toWireString() {
- return this.ref;
+ return this.ref;
}
/**
@@ -79,7 +78,7 @@ public class Blob extends XenAPIObject {
{
if (obj != null && obj instanceof Blob)
{
- Blob other = (Blob) obj;
+ Blob other = (Blob)obj;
return other.ref.equals(this.ref);
} else
{
@@ -113,8 +112,8 @@ public class Blob extends XenAPIObject {
/**
* Convert a blob.Record to a Map
*/
- public Map toMap() {
- Map map = new HashMap();
+ public Map toMap() {
+ Map map = new HashMap();
map.put("uuid", this.uuid == null ? "" : this.uuid);
map.put("name_label", this.nameLabel == null ? "" : this.nameLabel);
map.put("name_description", this.nameDescription == null ? "" : this.nameDescription);
@@ -161,15 +160,15 @@ public class Blob extends XenAPIObject {
* @return all fields from the object
*/
public Blob.Record getRecord(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.get_record";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toBlobRecord(result);
+ return Types.toBlobRecord(result);
}
/**
@@ -179,15 +178,15 @@ public class Blob extends XenAPIObject {
* @return reference to the object
*/
public static Blob getByUuid(Connection c, String uuid) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.get_by_uuid";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(uuid)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toBlob(result);
+ return Types.toBlob(result);
}
/**
@@ -197,15 +196,15 @@ public class Blob extends XenAPIObject {
* @return references to objects with matching names
*/
public static Set getByNameLabel(Connection c, String label) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.get_by_name_label";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(label)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toSetOfBlob(result);
+ return Types.toSetOfBlob(result);
}
/**
@@ -214,15 +213,15 @@ public class Blob extends XenAPIObject {
* @return value of the field
*/
public String getUuid(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.get_uuid";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toString(result);
+ return Types.toString(result);
}
/**
@@ -231,15 +230,15 @@ public class Blob extends XenAPIObject {
* @return value of the field
*/
public String getNameLabel(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.get_name_label";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toString(result);
+ return Types.toString(result);
}
/**
@@ -248,15 +247,15 @@ public class Blob extends XenAPIObject {
* @return value of the field
*/
public String getNameDescription(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.get_name_description";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toString(result);
+ return Types.toString(result);
}
/**
@@ -265,15 +264,15 @@ public class Blob extends XenAPIObject {
* @return value of the field
*/
public Long getSize(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.get_size";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toLong(result);
+ return Types.toLong(result);
}
/**
@@ -282,15 +281,15 @@ public class Blob extends XenAPIObject {
* @return value of the field
*/
public Boolean getPublic(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.get_public";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toBoolean(result);
+ return Types.toBoolean(result);
}
/**
@@ -299,15 +298,15 @@ public class Blob extends XenAPIObject {
* @return value of the field
*/
public Date getLastUpdated(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.get_last_updated";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toDate(result);
+ return Types.toDate(result);
}
/**
@@ -316,15 +315,15 @@ public class Blob extends XenAPIObject {
* @return value of the field
*/
public String getMimeType(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.get_mime_type";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toString(result);
+ return Types.toString(result);
}
/**
@@ -333,9 +332,9 @@ public class Blob extends XenAPIObject {
* @param label New value to set
*/
public void setNameLabel(Connection c, String label) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.set_name_label";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(label)};
@@ -349,9 +348,9 @@ public class Blob extends XenAPIObject {
* @param description New value to set
*/
public void setNameDescription(Connection c, String description) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.set_name_description";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(description)};
@@ -365,9 +364,9 @@ public class Blob extends XenAPIObject {
* @param _public New value to set
*/
public void setPublic(Connection c, Boolean _public) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.set_public";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(_public)};
@@ -383,15 +382,15 @@ public class Blob extends XenAPIObject {
* @return The reference to the created blob
*/
public static Blob create(Connection c, String mimeType, Boolean _public) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.create";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(mimeType), Marshalling.toXMLRPC(_public)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toBlob(result);
+ return Types.toBlob(result);
}
/**
@@ -399,9 +398,9 @@ public class Blob extends XenAPIObject {
*
*/
public void destroy(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.destroy";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
@@ -415,15 +414,15 @@ public class Blob extends XenAPIObject {
* @return references to all objects
*/
public static Set getAll(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.get_all";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toSetOfBlob(result);
+ return Types.toSetOfBlob(result);
}
/**
@@ -432,15 +431,15 @@ public class Blob extends XenAPIObject {
* @return records of all objects
*/
public static Map getAllRecords(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "blob.get_all_records";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toMapOfBlobBlobRecord(result);
+ return Types.toMapOfBlobBlobRecord(result);
}
}
\ No newline at end of file
diff --git a/deps/XenServerJava/src/com/xensource/xenapi/Bond.java b/deps/XenServerJava/src/com/xensource/xenapi/Bond.java
index d9d30459e6e..935fd9847e5 100644
--- a/deps/XenServerJava/src/com/xensource/xenapi/Bond.java
+++ b/deps/XenServerJava/src/com/xensource/xenapi/Bond.java
@@ -28,7 +28,6 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
package com.xensource.xenapi;
import com.xensource.xenapi.Types.BadServerResponse;
@@ -61,14 +60,14 @@ public class Bond extends XenAPIObject {
* For internal use only.
*/
Bond(String ref) {
- this.ref = ref;
+ this.ref = ref;
}
/**
* @return The XenAPI reference (OpaqueRef) to this object.
*/
public String toWireString() {
- return this.ref;
+ return this.ref;
}
/**
@@ -79,7 +78,7 @@ public class Bond extends XenAPIObject {
{
if (obj != null && obj instanceof Bond)
{
- Bond other = (Bond) obj;
+ Bond other = (Bond)obj;
return other.ref.equals(this.ref);
} else
{
@@ -114,8 +113,8 @@ public class Bond extends XenAPIObject {
/**
* Convert a Bond.Record to a Map
*/
- public Map toMap() {
- Map map = new HashMap();
+ public Map toMap() {
+ Map map = new HashMap();
map.put("uuid", this.uuid == null ? "" : this.uuid);
map.put("master", this.master == null ? new PIF("OpaqueRef:NULL") : this.master);
map.put("slaves", this.slaves == null ? new LinkedHashSet() : this.slaves);
@@ -167,15 +166,15 @@ public class Bond extends XenAPIObject {
* @return all fields from the object
*/
public Bond.Record getRecord(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.get_record";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toBondRecord(result);
+ return Types.toBondRecord(result);
}
/**
@@ -185,15 +184,15 @@ public class Bond extends XenAPIObject {
* @return reference to the object
*/
public static Bond getByUuid(Connection c, String uuid) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.get_by_uuid";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(uuid)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toBond(result);
+ return Types.toBond(result);
}
/**
@@ -202,15 +201,15 @@ public class Bond extends XenAPIObject {
* @return value of the field
*/
public String getUuid(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.get_uuid";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toString(result);
+ return Types.toString(result);
}
/**
@@ -219,15 +218,15 @@ public class Bond extends XenAPIObject {
* @return value of the field
*/
public PIF getMaster(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.get_master";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toPIF(result);
+ return Types.toPIF(result);
}
/**
@@ -236,15 +235,15 @@ public class Bond extends XenAPIObject {
* @return value of the field
*/
public Set getSlaves(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.get_slaves";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toSetOfPIF(result);
+ return Types.toSetOfPIF(result);
}
/**
@@ -253,15 +252,15 @@ public class Bond extends XenAPIObject {
* @return value of the field
*/
public Map getOtherConfig(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.get_other_config";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toMapOfStringString(result);
+ return Types.toMapOfStringString(result);
}
/**
@@ -270,15 +269,15 @@ public class Bond extends XenAPIObject {
* @return value of the field
*/
public PIF getPrimarySlave(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.get_primary_slave";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toPIF(result);
+ return Types.toPIF(result);
}
/**
@@ -287,15 +286,15 @@ public class Bond extends XenAPIObject {
* @return value of the field
*/
public Types.BondMode getMode(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.get_mode";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toBondMode(result);
+ return Types.toBondMode(result);
}
/**
@@ -304,15 +303,15 @@ public class Bond extends XenAPIObject {
* @return value of the field
*/
public Map getProperties(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.get_properties";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toMapOfStringString(result);
+ return Types.toMapOfStringString(result);
}
/**
@@ -321,15 +320,15 @@ public class Bond extends XenAPIObject {
* @return value of the field
*/
public Long getLinksUp(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.get_links_up";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toLong(result);
+ return Types.toLong(result);
}
/**
@@ -338,9 +337,9 @@ public class Bond extends XenAPIObject {
* @param otherConfig New value to set
*/
public void setOtherConfig(Connection c, Map otherConfig) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.set_other_config";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(otherConfig)};
@@ -355,9 +354,9 @@ public class Bond extends XenAPIObject {
* @param value Value to add
*/
public void addToOtherConfig(Connection c, String key, String value) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.add_to_other_config";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(key), Marshalling.toXMLRPC(value)};
@@ -371,9 +370,9 @@ public class Bond extends XenAPIObject {
* @param key Key to remove
*/
public void removeFromOtherConfig(Connection c, String key) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.remove_from_other_config";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(key)};
@@ -392,12 +391,13 @@ public class Bond extends XenAPIObject {
* @return Task
*/
public static Task createAsync(Connection c, Network network, Set members, String MAC, Types.BondMode mode, Map properties) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Async.Bond.create";
String session = c.getSessionReference();
- Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(network), Marshalling.toXMLRPC(members), Marshalling.toXMLRPC(MAC), Marshalling.toXMLRPC(mode), Marshalling.toXMLRPC(properties)};
+ Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(network), Marshalling.toXMLRPC(members), Marshalling.toXMLRPC(MAC),
+ Marshalling.toXMLRPC(mode), Marshalling.toXMLRPC(properties)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
return Types.toTask(result);
@@ -414,15 +414,16 @@ public class Bond extends XenAPIObject {
* @return The reference of the created Bond object
*/
public static Bond create(Connection c, Network network, Set members, String MAC, Types.BondMode mode, Map properties) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.create";
String session = c.getSessionReference();
- Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(network), Marshalling.toXMLRPC(members), Marshalling.toXMLRPC(MAC), Marshalling.toXMLRPC(mode), Marshalling.toXMLRPC(properties)};
+ Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(network), Marshalling.toXMLRPC(members), Marshalling.toXMLRPC(MAC),
+ Marshalling.toXMLRPC(mode), Marshalling.toXMLRPC(properties)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toBond(result);
+ return Types.toBond(result);
}
/**
@@ -431,9 +432,9 @@ public class Bond extends XenAPIObject {
* @return Task
*/
public Task destroyAsync(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Async.Bond.destroy";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
@@ -447,9 +448,9 @@ public class Bond extends XenAPIObject {
*
*/
public void destroy(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.destroy";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
@@ -464,9 +465,9 @@ public class Bond extends XenAPIObject {
* @return Task
*/
public Task setModeAsync(Connection c, Types.BondMode value) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Async.Bond.set_mode";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(value)};
@@ -481,9 +482,9 @@ public class Bond extends XenAPIObject {
* @param value The new bond mode
*/
public void setMode(Connection c, Types.BondMode value) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.set_mode";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(value)};
@@ -499,9 +500,9 @@ public class Bond extends XenAPIObject {
* @return Task
*/
public Task setPropertyAsync(Connection c, String name, String value) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Async.Bond.set_property";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(name), Marshalling.toXMLRPC(value)};
@@ -517,9 +518,9 @@ public class Bond extends XenAPIObject {
* @param value The property value
*/
public void setProperty(Connection c, String name, String value) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.set_property";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(name), Marshalling.toXMLRPC(value)};
@@ -533,15 +534,15 @@ public class Bond extends XenAPIObject {
* @return references to all objects
*/
public static Set getAll(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.get_all";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toSetOfBond(result);
+ return Types.toSetOfBond(result);
}
/**
@@ -550,15 +551,15 @@ public class Bond extends XenAPIObject {
* @return records of all objects
*/
public static Map getAllRecords(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Bond.get_all_records";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toMapOfBondBondRecord(result);
+ return Types.toMapOfBondBondRecord(result);
}
}
\ No newline at end of file
diff --git a/deps/XenServerJava/src/com/xensource/xenapi/Connection.java b/deps/XenServerJava/src/com/xensource/xenapi/Connection.java
index 20ed00118b1..a6524503609 100644
--- a/deps/XenServerJava/src/com/xensource/xenapi/Connection.java
+++ b/deps/XenServerJava/src/com/xensource/xenapi/Connection.java
@@ -101,7 +101,7 @@ public class Connection
*/
@Deprecated
public Connection(String client, String username, String password) throws java.net.MalformedURLException,
- XmlRpcException, BadServerResponse, SessionAuthenticationFailed, XenAPIException
+ XmlRpcException, BadServerResponse, SessionAuthenticationFailed, XenAPIException
{
deprecatedConstructorUsed = true;
@@ -121,9 +121,9 @@ public class Connection
//was the problem that the host was running rio? If so it will have complained that it got three parameters
//instead of two. Let us carefully verify the details of this complaint
if (0 == errDesc[0].compareTo("MESSAGE_PARAMETER_COUNT_MISMATCH")
- && 0 == errDesc[1].compareTo("session.login_with_password")
- && 0 == errDesc[2].compareTo("2")
- && 0 == errDesc[3].compareTo("3"))
+ && 0 == errDesc[1].compareTo("session.login_with_password")
+ && 0 == errDesc[2].compareTo("2")
+ && 0 == errDesc[3].compareTo("3"))
{
//and if so, we can have another go, using the older login method, and see how that goes.
this.sessionReference = loginWithPassword(this.client, username, password);
@@ -139,13 +139,11 @@ public class Connection
try
{
setAPIVersion(new Session(sessionReference));
- }
- catch (XenAPIException exn)
+ } catch (XenAPIException exn)
{
dispose();
throw exn;
- }
- catch (XmlRpcException exn)
+ } catch (XmlRpcException exn)
{
dispose();
throw exn;
@@ -208,12 +206,11 @@ public class Connection
if (sessionReference != null)
{
String method_call = "session.logout";
- Object[] method_params = { Marshalling.toXMLRPC(this.sessionReference) };
+ Object[] method_params = {Marshalling.toXMLRPC(this.sessionReference)};
client.execute(method_call, method_params);
sessionReference = null;
}
- }
- catch (XmlRpcException exn)
+ } catch (XmlRpcException exn)
{
}
}
@@ -223,17 +220,17 @@ public class Connection
*/
@Deprecated
private static String loginWithPassword(XmlRpcClient client, String username, String password)
- throws BadServerResponse, XmlRpcException, SessionAuthenticationFailed
+ throws BadServerResponse, XmlRpcException, SessionAuthenticationFailed
{
String method_call = "session.login_with_password";
- Object[] method_params = { Marshalling.toXMLRPC(username), Marshalling.toXMLRPC(password) };
- Map response = (Map) client.execute(method_call, method_params);
+ Object[] method_params = {Marshalling.toXMLRPC(username), Marshalling.toXMLRPC(password)};
+ Map response = (Map)client.execute(method_call, method_params);
if (response.get("Status").equals("Success"))
{
- return (String) response.get("Value");
+ return (String)response.get("Value");
} else if (response.get("Status").equals("Failure"))
{
- Object[] error = (Object[]) response.get("ErrorDescription");
+ Object[] error = (Object[])response.get("ErrorDescription");
if (error[0].equals("SESSION_AUTHENTICATION_FAILED"))
{
throw new SessionAuthenticationFailed();
@@ -247,18 +244,18 @@ public class Connection
*/
@Deprecated
private static String loginWithPassword(XmlRpcClient client, String username, String password, String ApiVersion)
- throws BadServerResponse, XmlRpcException, SessionAuthenticationFailed
+ throws BadServerResponse, XmlRpcException, SessionAuthenticationFailed
{
String method_call = "session.login_with_password";
- Object[] method_params = { Marshalling.toXMLRPC(username), Marshalling.toXMLRPC(password),
- Marshalling.toXMLRPC(ApiVersion) };
- Map response = (Map) client.execute(method_call, method_params);
+ Object[] method_params = {Marshalling.toXMLRPC(username), Marshalling.toXMLRPC(password),
+ Marshalling.toXMLRPC(ApiVersion)};
+ Map response = (Map)client.execute(method_call, method_params);
if (response.get("Status").equals("Success"))
{
- return (String) response.get("Value");
+ return (String)response.get("Value");
} else if (response.get("Status").equals("Failure"))
{
- Object[] error = (Object[]) response.get("ErrorDescription");
+ Object[] error = (Object[])response.get("ErrorDescription");
if (error[0].equals("SESSION_AUTHENTICATION_FAILED"))
{
throw new SessionAuthenticationFailed();
@@ -271,8 +268,9 @@ public class Connection
public XmlRpcClientConfigImpl getConfig()
{
- return config;
+ return config;
}
+
private XmlRpcClient getClientFromURL(URL url)
{
config.setTimeZone(TimeZone.getTimeZone("UTC"));
@@ -300,7 +298,7 @@ public class Connection
*/
protected Map dispatch(String method_call, Object[] method_params) throws XmlRpcException, XenAPIException
{
- Map response = (Map) client.execute(method_call, method_params);
+ Map response = (Map)client.execute(method_call, method_params);
if (!deprecatedConstructorUsed)
{
@@ -316,7 +314,7 @@ public class Connection
setAPIVersion(session);
}
else if (method_call.equals("session.slave_local_login_with_password") &&
- response.get("Status").equals("Success"))
+ response.get("Status").equals("Success"))
{
// Store the Session reference and assume the latest API version.
sessionReference = Types.toSession(response.get("Value")).ref;
@@ -331,7 +329,7 @@ public class Connection
// this session from the master instead.
if (response.get("Status").equals("Failure"))
{
- Object[] error = (Object[]) response.get("ErrorDescription");
+ Object[] error = (Object[])response.get("ErrorDescription");
if (error.length == 2 && error[0].equals("HOST_IS_SLAVE"))
{
try
@@ -340,20 +338,18 @@ public class Connection
((XmlRpcHttpClientConfig)client.getClientConfig()).getServerURL();
Connection tmp_conn =
new Connection(new URL(client_url.getProtocol(),
- (String)error[1],
- client_url.getPort(),
- client_url.getFile()), _wait);
+ (String)error[1],
+ client_url.getPort(),
+ client_url.getFile()), _wait);
tmp_conn.sessionReference = sessionReference;
try
{
Session.logout(tmp_conn);
- }
- finally
+ } finally
{
tmp_conn.dispose();
}
- }
- catch (Exception exn2)
+ } catch (Exception exn2)
{
// Ignore -- we're going to throw HostIsSlave anyway.
}
@@ -368,7 +364,6 @@ public class Connection
return Types.checkResponse(response);
}
-
private void setAPIVersion(Session session) throws XenAPIException, XmlRpcException
{
try
@@ -376,8 +371,7 @@ public class Connection
long major = session.getThisHost(this).getAPIVersionMajor(this);
long minor = session.getThisHost(this).getAPIVersionMinor(this);
apiVersion = APIVersion.fromMajorMinor(major, minor);
- }
- catch (BadServerResponse exn)
+ } catch (BadServerResponse exn)
{
apiVersion = APIVersion.API_1_1;
}
diff --git a/deps/XenServerJava/src/com/xensource/xenapi/Console.java b/deps/XenServerJava/src/com/xensource/xenapi/Console.java
index c734a839629..ac2c9a7ce8a 100644
--- a/deps/XenServerJava/src/com/xensource/xenapi/Console.java
+++ b/deps/XenServerJava/src/com/xensource/xenapi/Console.java
@@ -28,7 +28,6 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
package com.xensource.xenapi;
import com.xensource.xenapi.Types.BadServerResponse;
@@ -61,14 +60,14 @@ public class Console extends XenAPIObject {
* For internal use only.
*/
Console(String ref) {
- this.ref = ref;
+ this.ref = ref;
}
/**
* @return The XenAPI reference (OpaqueRef) to this object.
*/
public String toWireString() {
- return this.ref;
+ return this.ref;
}
/**
@@ -79,7 +78,7 @@ public class Console extends XenAPIObject {
{
if (obj != null && obj instanceof Console)
{
- Console other = (Console) obj;
+ Console other = (Console)obj;
return other.ref.equals(this.ref);
} else
{
@@ -111,8 +110,8 @@ public class Console extends XenAPIObject {
/**
* Convert a console.Record to a Map
*/
- public Map toMap() {
- Map map = new HashMap();
+ public Map toMap() {
+ Map map = new HashMap();
map.put("uuid", this.uuid == null ? "" : this.uuid);
map.put("protocol", this.protocol == null ? Types.ConsoleProtocol.UNRECOGNIZED : this.protocol);
map.put("location", this.location == null ? "" : this.location);
@@ -149,15 +148,15 @@ public class Console extends XenAPIObject {
* @return all fields from the object
*/
public Console.Record getRecord(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.get_record";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toConsoleRecord(result);
+ return Types.toConsoleRecord(result);
}
/**
@@ -167,15 +166,15 @@ public class Console extends XenAPIObject {
* @return reference to the object
*/
public static Console getByUuid(Connection c, String uuid) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.get_by_uuid";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(uuid)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toConsole(result);
+ return Types.toConsole(result);
}
/**
@@ -185,9 +184,9 @@ public class Console extends XenAPIObject {
* @return Task
*/
public static Task createAsync(Connection c, Console.Record record) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Async.console.create";
String session = c.getSessionReference();
Map record_map = record.toMap();
@@ -204,16 +203,16 @@ public class Console extends XenAPIObject {
* @return reference to the newly created object
*/
public static Console create(Connection c, Console.Record record) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.create";
String session = c.getSessionReference();
Map record_map = record.toMap();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(record_map)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toConsole(result);
+ return Types.toConsole(result);
}
/**
@@ -222,9 +221,9 @@ public class Console extends XenAPIObject {
* @return Task
*/
public Task destroyAsync(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Async.console.destroy";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
@@ -238,9 +237,9 @@ public class Console extends XenAPIObject {
*
*/
public void destroy(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.destroy";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
@@ -254,15 +253,15 @@ public class Console extends XenAPIObject {
* @return value of the field
*/
public String getUuid(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.get_uuid";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toString(result);
+ return Types.toString(result);
}
/**
@@ -271,15 +270,15 @@ public class Console extends XenAPIObject {
* @return value of the field
*/
public Types.ConsoleProtocol getProtocol(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.get_protocol";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toConsoleProtocol(result);
+ return Types.toConsoleProtocol(result);
}
/**
@@ -288,15 +287,15 @@ public class Console extends XenAPIObject {
* @return value of the field
*/
public String getLocation(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.get_location";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toString(result);
+ return Types.toString(result);
}
/**
@@ -305,15 +304,15 @@ public class Console extends XenAPIObject {
* @return value of the field
*/
public VM getVM(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.get_VM";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toVM(result);
+ return Types.toVM(result);
}
/**
@@ -322,15 +321,15 @@ public class Console extends XenAPIObject {
* @return value of the field
*/
public Map getOtherConfig(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.get_other_config";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toMapOfStringString(result);
+ return Types.toMapOfStringString(result);
}
/**
@@ -339,9 +338,9 @@ public class Console extends XenAPIObject {
* @param otherConfig New value to set
*/
public void setOtherConfig(Connection c, Map otherConfig) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.set_other_config";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(otherConfig)};
@@ -356,9 +355,9 @@ public class Console extends XenAPIObject {
* @param value Value to add
*/
public void addToOtherConfig(Connection c, String key, String value) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.add_to_other_config";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(key), Marshalling.toXMLRPC(value)};
@@ -372,9 +371,9 @@ public class Console extends XenAPIObject {
* @param key Key to remove
*/
public void removeFromOtherConfig(Connection c, String key) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.remove_from_other_config";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(key)};
@@ -388,15 +387,15 @@ public class Console extends XenAPIObject {
* @return references to all objects
*/
public static Set getAll(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.get_all";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toSetOfConsole(result);
+ return Types.toSetOfConsole(result);
}
/**
@@ -405,15 +404,15 @@ public class Console extends XenAPIObject {
* @return records of all objects
*/
public static Map getAllRecords(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "console.get_all_records";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toMapOfConsoleConsoleRecord(result);
+ return Types.toMapOfConsoleConsoleRecord(result);
}
}
\ No newline at end of file
diff --git a/deps/XenServerJava/src/com/xensource/xenapi/Crashdump.java b/deps/XenServerJava/src/com/xensource/xenapi/Crashdump.java
index d1187bb4a7a..be11588cc25 100644
--- a/deps/XenServerJava/src/com/xensource/xenapi/Crashdump.java
+++ b/deps/XenServerJava/src/com/xensource/xenapi/Crashdump.java
@@ -28,7 +28,6 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
package com.xensource.xenapi;
import com.xensource.xenapi.Types.BadServerResponse;
@@ -61,14 +60,14 @@ public class Crashdump extends XenAPIObject {
* For internal use only.
*/
Crashdump(String ref) {
- this.ref = ref;
+ this.ref = ref;
}
/**
* @return The XenAPI reference (OpaqueRef) to this object.
*/
public String toWireString() {
- return this.ref;
+ return this.ref;
}
/**
@@ -79,7 +78,7 @@ public class Crashdump extends XenAPIObject {
{
if (obj != null && obj instanceof Crashdump)
{
- Crashdump other = (Crashdump) obj;
+ Crashdump other = (Crashdump)obj;
return other.ref.equals(this.ref);
} else
{
@@ -110,8 +109,8 @@ public class Crashdump extends XenAPIObject {
/**
* Convert a crashdump.Record to a Map
*/
- public Map toMap() {
- Map map = new HashMap();
+ public Map toMap() {
+ Map map = new HashMap();
map.put("uuid", this.uuid == null ? "" : this.uuid);
map.put("VM", this.VM == null ? new VM("OpaqueRef:NULL") : this.VM);
map.put("VDI", this.VDI == null ? new VDI("OpaqueRef:NULL") : this.VDI);
@@ -143,15 +142,15 @@ public class Crashdump extends XenAPIObject {
* @return all fields from the object
*/
public Crashdump.Record getRecord(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "crashdump.get_record";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toCrashdumpRecord(result);
+ return Types.toCrashdumpRecord(result);
}
/**
@@ -161,15 +160,15 @@ public class Crashdump extends XenAPIObject {
* @return reference to the object
*/
public static Crashdump getByUuid(Connection c, String uuid) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "crashdump.get_by_uuid";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(uuid)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toCrashdump(result);
+ return Types.toCrashdump(result);
}
/**
@@ -178,15 +177,15 @@ public class Crashdump extends XenAPIObject {
* @return value of the field
*/
public String getUuid(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "crashdump.get_uuid";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toString(result);
+ return Types.toString(result);
}
/**
@@ -195,15 +194,15 @@ public class Crashdump extends XenAPIObject {
* @return value of the field
*/
public VM getVM(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "crashdump.get_VM";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toVM(result);
+ return Types.toVM(result);
}
/**
@@ -212,15 +211,15 @@ public class Crashdump extends XenAPIObject {
* @return value of the field
*/
public VDI getVDI(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "crashdump.get_VDI";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toVDI(result);
+ return Types.toVDI(result);
}
/**
@@ -229,15 +228,15 @@ public class Crashdump extends XenAPIObject {
* @return value of the field
*/
public Map getOtherConfig(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "crashdump.get_other_config";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
Map response = c.dispatch(method_call, method_params);
Object result = response.get("Value");
- return Types.toMapOfStringString(result);
+ return Types.toMapOfStringString(result);
}
/**
@@ -246,9 +245,9 @@ public class Crashdump extends XenAPIObject {
* @param otherConfig New value to set
*/
public void setOtherConfig(Connection c, Map otherConfig) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "crashdump.set_other_config";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(otherConfig)};
@@ -263,9 +262,9 @@ public class Crashdump extends XenAPIObject {
* @param value Value to add
*/
public void addToOtherConfig(Connection c, String key, String value) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "crashdump.add_to_other_config";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(key), Marshalling.toXMLRPC(value)};
@@ -279,9 +278,9 @@ public class Crashdump extends XenAPIObject {
* @param key Key to remove
*/
public void removeFromOtherConfig(Connection c, String key) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "crashdump.remove_from_other_config";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref), Marshalling.toXMLRPC(key)};
@@ -295,9 +294,9 @@ public class Crashdump extends XenAPIObject {
* @return Task
*/
public Task destroyAsync(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "Async.crashdump.destroy";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
@@ -311,9 +310,9 @@ public class Crashdump extends XenAPIObject {
*
*/
public void destroy(Connection c) throws
- BadServerResponse,
- XenAPIException,
- XmlRpcException {
+ BadServerResponse,
+ XenAPIException,
+ XmlRpcException {
String method_call = "crashdump.destroy";
String session = c.getSessionReference();
Object[] method_params = {Marshalling.toXMLRPC(session), Marshalling.toXMLRPC(this.ref)};
@@ -327,15 +326,15 @@ public class Crashdump extends XenAPIObject {
* @return references to all objects
*/
public static Set