Skip to content

Commit f52a833

Browse files
committed
Merge branch 'master' into ui-vpc-redesign
2 parents a292bfb + e8fbee0 commit f52a833

39 files changed

Lines changed: 658 additions & 167 deletions

‎api/src/com/cloud/network/vpn/RemoteAccessVpnService.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public interface RemoteAccessVpnService {
3232

3333
RemoteAccessVpn createRemoteAccessVpn(long vpnServerAddressId, String ipRange, boolean openFirewall, long networkId)
3434
throws NetworkRuleConflictException;
35-
void destroyRemoteAccessVpn(long vpnServerAddressId, Account caller) throws ResourceUnavailableException;
35+
void destroyRemoteAccessVpnForIp(long vpnServerAddressId, Account caller) throws ResourceUnavailableException;
3636
RemoteAccessVpn startRemoteAccessVpn(long vpnServerAddressId, boolean openFirewall) throws ResourceUnavailableException;
3737

3838
VpnUser addVpnUser(long vpnOwnerId, String userName, String password);

‎api/src/org/apache/cloudstack/api/command/user/address/DisassociateIPAddrCmd.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ public void execute() throws InsufficientAddressCapacityException{
7676
UserContext.current().setEventDetails("Ip Id: " + getIpAddressId());
7777
boolean result = false;
7878
if (!isPortable(id)) {
79-
_networkService.releaseIpAddress(getIpAddressId());
79+
result = _networkService.releaseIpAddress(getIpAddressId());
8080
} else {
81-
_networkService.releaseIpAddress(getIpAddressId());
81+
result = _networkService.releaseIpAddress(getIpAddressId());
8282
}
8383
if (result) {
8484
SuccessResponse response = new SuccessResponse(getCommandName());

‎api/src/org/apache/cloudstack/api/command/user/vpn/DeleteRemoteAccessVpnCmd.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public String getEventType() {
8484

8585
@Override
8686
public void execute() throws ResourceUnavailableException {
87-
_ravService.destroyRemoteAccessVpn(publicIpId, UserContext.current().getCaller());
87+
_ravService.destroyRemoteAccessVpnForIp(publicIpId, UserContext.current().getCaller());
8888
}
8989

9090
@Override

‎client/tomcatconf/nonossComponentContext.xml.in‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
<ref bean="FirstFitPlanner" />
252252
<ref bean="UserDispersingPlanner" />
253253
<ref bean="UserConcentratedPodPlanner" />
254-
254+
<ref bean="ImplicitDedicationPlanner" />
255255
<!--
256256
<ref bean="BareMetalPlanner" />
257257
-->

‎debian/rules‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ build: build-indep
3434
build-indep: build-indep-stamp
3535

3636
build-indep-stamp: configure
37-
mvn package -Pawsapi -DskipTests -Dsystemvm \
37+
mvn clean package -Pawsapi -DskipTests -Dsystemvm \
3838
-Dcs.replace.properties=replace.properties.tmp \
3939
${ACS_BUILD_OPTS}
4040
touch $@

‎docs/en-US/CloudStack_Nicira_NVP_Guide.xml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
</bookinfo>
4949
<xi:include href="plugin-niciranvp-about.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
5050
<xi:include href="plugin-niciranvp-usage.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
51+
<xi:include href="plugin-niciranvp-vpc.xml" xmlns:xi="http://www.w3.org/2001/XInclude"></xi:include>
5152
<xi:include href="plugin-niciranvp-troubleshooting.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
5253
<xi:include href="plugin-niciranvp-revisions.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
5354
</book>
35.1 KB
Loading
31.4 KB
Loading
102 KB
Loading
26.7 KB
Loading

0 commit comments

Comments
 (0)