Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
af28ded
CLOUDSTACK-8717: Failed to start instance after restoring the running…
Aug 7, 2015
4bbf151
CLOUDSTACK-8717: Failed to start instance after restoring the running…
Aug 12, 2015
c377763
CLOUDSTACK-8858: listVolumes API fails for a particular domain with NPE.
Sep 15, 2015
7d83ca9
CLOUDSTACK-8850: revertSnapshot command does not work
Sep 15, 2015
f2d4820
Updating the Description as only supported with KVM
Sep 16, 2015
1718bb3
CLOUDSTACK-8860: improve error messages in VM deployment code path.
bvbharat Apr 2, 2015
e133529
CLOUDSTACK-8895: Verify if storage can be selected when attaching upl…
Sep 22, 2015
775ebc6
CLOUDSTACK-8728: Testcase to Verify if VRs IP changes if it is destro…
Aug 12, 2015
0e01c7f
CLOUDSTACK-9001: Modifying snapshot results validation in testpath_uu…
Oct 28, 2015
d793c7f
CLOUDSTACK-9005: Modifying tearDown function
Oct 29, 2015
9535596
automation of cores feature test path
Oct 30, 2015
bbe0fc4
CLOUDSTACK-9041: Modifying template creation from snapshot function i…
Nov 6, 2015
64ef4fa
CLOUDSTACK-5822: keep user-added sshkeys in authorized_keys
ustcweizhou Nov 6, 2015
635f7c2
CLOUDSTACK-8731-checking usage event for delete volume
cloudsadhu Nov 9, 2015
693a001
updating rabbitmq amqp client to 3.5.4 from 3.4.2
karuturi Sep 21, 2015
a723988
CLOUDSTACK-8885: added blocked connection listener for rabbitmqeventbus
karuturi Sep 21, 2015
a8e6049
CLOUDSTACK-9066: Update testpath to delete account after deleting VMs…
Nov 17, 2015
358115d
CLOUDSTACK-9091: Update testpath for parameter issues
Nov 27, 2015
4a9487e
Changed return of methods from DataMotionStrategy, Void to void
rafaelweingartner Nov 28, 2015
6ea2b48
Add Javadoc to AgentBasedStandaloneConsoleProxyManager
rafaelweingartner Dec 4, 2015
1cf44de
CLOUDSTACK-9121: Adding VmSnapshot validation in testpath_revert_snap.py
Dec 8, 2015
7f2bbcb
Removed cloud-cli folder and contents, as it is not maintained or use…
Dec 12, 2015
223e3d5
Removed .pydevproject from plugin kvm hypervisor.
Dec 12, 2015
9ae3c0a
CLOUDSTACK-9127 Missing PV-bootloader-args for "SUSE Linux Enterprise…
Dec 9, 2015
6260521
CLOUDSTACK-9103 : Missing OS Mappings for VMware 6.0
Dec 14, 2015
268b9b3
test: Fix Libvirt test so that it works on Windows
wido Dec 14, 2015
2478414
Merge pull request #1196 from SudharmaJain/cs-9127
DaanHoogland Dec 14, 2015
601f2db
CLOUDSTACK-9166:Build failed in Jenkins: cloudstack-rat-master #7038
Dec 14, 2015
1b3a792
Merge pull request #1216 from maneesha-p/BUG-9103
DaanHoogland Dec 14, 2015
8d2e031
Merge pull request #1243 from SudharmaJain/cs-9166
DaanHoogland Dec 14, 2015
a00fef8
Revert "Merge pull request #1243 from SudharmaJain/cs-9166"
Dec 14, 2015
94a1448
license
DaanHoogland Dec 14, 2015
ccd0f22
CLOUDSTACK-9161: fix the quota marvin test
abhinandanprateek Dec 14, 2015
2d5f6a7
CLOUDSTACK-9185: [VMware DRS] VM sync failed with exception due to ou…
Dec 17, 2015
5d3adb3
Removed unused variables from class NetworkStateListener
pedro-martins Dec 19, 2015
7147f4a
Initial merge of release branch '4.7'
remibergsma Dec 21, 2015
9537f5d
Merge release branch '4.7' into master
remibergsma Dec 21, 2015
8f5a292
Updating pom.xml version numbers for release 4.8.0-SNAPSHOT
remibergsma Dec 21, 2015
117635f
Update Debian changelog
remibergsma Dec 21, 2015
18fb104
Implement upgrade path 4.7.1 -> 4.8.0
remibergsma Dec 21, 2015
7e12ebf
Merge pull request #1268 from remibergsma/480_version
remibergsma Dec 21, 2015
a6f9181
CLOUDSTACK-9195: Cancelled/failed async jobs not getting cleaned up f…
koushik-das Dec 22, 2015
cbbec6f
CLOUDSTACK-9196: Fixing null pointer exception when vm meta data is s…
anshulgangwar Jun 18, 2015
1a194e6
README: happy holidays!
rohityadavcloud Dec 23, 2015
60f0065
Merge pull request #1281 from shapeblue/happy-holidays15
rohityadavcloud Dec 24, 2015
46f9fba
CLOUDSTACK-9074: API Changes: Add l2gatewayserviceuuid to NVP devices
nvazquez Dec 1, 2015
8149081
CLOUDSTACK-9074: API Changes: Add nsxLogicalSwitch and nsxLogicalSwit…
nvazquez Dec 1, 2015
06d5b46
CLOUDSTACK-9074: New NiciraNVP classes to support Shared Networks
nvazquez Dec 1, 2015
55f4607
CLOUDSTACK-9074: New NiciraNVP classes for FindLRouterPort and Delete…
nvazquez Dec 4, 2015
c676371
CLOUDSTACK-9074: Support Shared Networks in NiciraNVP Plugin
nvazquez Dec 1, 2015
eb889c0
CLOUDSTACK-9074: API add Gateway Service Find method
nvazquez Dec 9, 2015
0726420
CLOUDSTACK-9074: Drop nicira_nvp_router_map unique index on logicalro…
nvazquez Dec 9, 2015
4ac2737
CLOUDSTACK-9074: Marvin tests for NSX Shared Networks Support
nvazquez Dec 9, 2015
88774a9
Only set L2 Gateway in NSX device if defined
miguelaferreira Dec 24, 2015
3dba689
Add helper method to migrate router vms
miguelaferreira Dec 24, 2015
f804c97
Use helper method to migrate router vm
miguelaferreira Dec 24, 2015
acdc42c
Fix method call bugs when accessign non defined variables
miguelaferreira Dec 24, 2015
c285d6c
Use NSX specific config values instead of zone config values
miguelaferreira Dec 24, 2015
0b20ed4
CLOUDSTACK-9074: Add NetworkGuruAdditionalFunctions license
nvazquez Dec 24, 2015
de23c94
CLOUDSTACK-9074: Move sql to 4.8.0 schema
nvazquez Dec 24, 2015
28ca933
trailing commas in javascripts removed
DaanHoogland Dec 27, 2015
67b753c
Merge pull request #1094 from nvazquez/sharedNiciraNVP
remibergsma Dec 28, 2015
ee2ccc4
Merge release branch 4.7 to master
remibergsma Jan 5, 2016
239148c
CLOUDSTACK-9210: Pass secondary IPs to default_network_rules() function
wido Jan 5, 2016
656ae10
CLOUDSTACK-9211: Support passing vRAM size to support 3D GPU on Vmware
nvazquez Jan 5, 2016
293eb36
README: revert back to the normal cloudstack logo
rohityadavcloud Jan 6, 2016
1bb8b8a
Merge pull request #1312 from shapeblue/revert-holiday-monkey
remibergsma Jan 6, 2016
792e493
Automation for CLOUDSTACK-9214 , detect wrong GW or NM
pavanb018 Jan 7, 2016
dbb10a4
Factor in inaccurancy of System.nanoTime
bheuvel Jan 8, 2016
2a9927a
Merge pull request #1315 from pavanb018/master
remibergsma Jan 10, 2016
4014169
Merge pull request #1324 from bheuvel/testprofiler-second
remibergsma Jan 11, 2016
b1034ed
Merge release branch 4.7 to master
remibergsma Jan 11, 2016
a171bbc
CLOUDSTACK-9238: Increase URL fields to 2048 charachters from 255
wido Jan 14, 2016
448b43f
CLOUDSTACK-9211: Add javadoc and refactor method
nvazquez Jan 14, 2016
f79b3e1
Merge pull request #1341 from wido/CLOUDSTACK-9238
remibergsma Jan 16, 2016
75b68c6
Merge release branch 4.7 to master
remibergsma Jan 16, 2016
24818af
Merge release branch 4.7 to master
remibergsma Jan 16, 2016
1b8c464
Merge release branch 4.7 to master
remibergsma Jan 16, 2016
2afb739
Merge pull request #1309 from wido/CLOUDSTACK-9210
remibergsma Jan 17, 2016
c459dfe
Merge pull request #1228 from borisroman/CLOUDSTACK-9149
remibergsma Jan 17, 2016
fb658f5
Merge pull request #1226 from borisroman/CLOUDSTACK-9148
remibergsma Jan 17, 2016
ad420bb
Merge pull request #1041 from pritisarap12/CLOUDSTACK-9041-Modifying-…
remibergsma Jan 17, 2016
a4d0af2
Merge pull request #1000 from pritisarap12/CLOUDSTACK-9005-Modifying-…
remibergsma Jan 17, 2016
329c012
Merge pull request #994 from pritisarap12/snapshot-has-no-attribute-len
remibergsma Jan 17, 2016
262be75
Merge release branch 4.7 to master
remibergsma Jan 17, 2016
addb264
Merge release branch 4.7 to master
DaanHoogland Jan 17, 2016
fa41bc7
Revert "Merge pull request #1228 from borisroman/CLOUDSTACK-9149"
remibergsma Jan 17, 2016
1304406
Quota: findbug fixes
agneya2001 Dec 23, 2015
c9922ea
Merge pull request #1344 from DaanHoogland/master
remibergsma Jan 18, 2016
00f106d
Merge release branch 4.7 to master
remibergsma Jan 18, 2016
4fcebfc
CLOUDSTACK-9211: Refactor vm vram size setter method
nvazquez Jan 18, 2016
fac259f
Merge release branch 4.7 to master
remibergsma Jan 18, 2016
f98f983
Merge release branch 4.7 to master
remibergsma Jan 19, 2016
26936cd
Merge pull request #1242 from wido/fix-kvm-libvirt-test
remibergsma Jan 19, 2016
d53dd0a
UI: improve filter dropdown width
resmo Jan 20, 2016
6f9215c
Merge release branch 4.7 to master
remibergsma Jan 20, 2016
1bfba70
Merge pull request #1272 from koushik-das/CLOUDSTACK-9195
remibergsma Jan 20, 2016
bca6076
Merge pull request #864 from bvbharatk/CLOUDSTACK-8860
remibergsma Jan 20, 2016
0403a35
Merge pull request #857 from karuturi/CLOUDSTACK-8885
remibergsma Jan 20, 2016
b73c053
CLOUDSTACK-9211: Unit test for 3dgpu support
nvazquez Jan 20, 2016
ce4ea45
Merge release branch 4.7 to master
remibergsma Jan 20, 2016
62f218b
Updating pom.xml version numbers for release 4.8.0
remibergsma Jan 20, 2016
d9ef56d
Merge release branch 4.7 to master
remibergsma Jan 23, 2016
02ca92e
Merge pull request #1354 from resmo/fix/ui-div-filter-width
remibergsma Jan 23, 2016
ac51a78
Merge release branch 4.7 to master
remibergsma Jan 24, 2016
886be62
Merge release branch 4.7 to master
remibergsma Jan 26, 2016
8c60ad2
Merge release branch 4.7 to 4.8
remibergsma Jan 26, 2016
32fcc47
Updating pom.xml version numbers for release 4.8.1-SNAPSHOT
remibergsma Jan 26, 2016
95331aa
Implement upgrade path 4.8.0 -> 4.8.1
remibergsma Jan 26, 2016
20e6b7a
Initial merge of 4.7 into 4.8
remibergsma Jan 26, 2016
3bf50b6
Merge pull request #1368 from remibergsma/481_version
remibergsma Jan 26, 2016
f7e5812
Merge release branch 4.8 to master
remibergsma Jan 26, 2016
43ab98d
Updating pom.xml version numbers for release 4.9.0-SNAPSHOT
remibergsma Jan 26, 2016
e1ecfad
Implement upgrade path 4.8.1 -> 4.9.0
remibergsma Jan 26, 2016
93cf664
Merge pull request #1369 from remibergsma/490_version
remibergsma Jan 26, 2016
48672c7
Merge release branch 4.7 to 4.8
remibergsma Jan 26, 2016
e93fd54
Merge release branch 4.8 to master
remibergsma Jan 26, 2016
ee2bc82
Merge pull request #1289 from shapeblue/master-quotafb
abhinandanprateek Jan 27, 2016
06fe784
Merge pull request #1240 from shapeblue/master-9161
rohityadavcloud Jan 27, 2016
c07c850
Merge pull request #1256 from sureshanaparti/CLOUDSTACK-9185
rohityadavcloud Jan 27, 2016
f280bbe
Merge pull request #830 from sureshanaparti/CLOUDSTACK-8858
rohityadavcloud Jan 27, 2016
366629f
Merge pull request #831 from yvsubhash/CLOUDSTACK-8850
rohityadavcloud Jan 27, 2016
ba722f8
Merge pull request #855 from rafaelweingartner/master-lrg-cs-hackday-007
rohityadavcloud Jan 27, 2016
a59cf68
Merge pull request #969 from rafaelweingartner/master-lrg-cs-hackday-002
rohityadavcloud Jan 27, 2016
431389d
Merge pull request #1044 from ustcweizhou/keep-sshkey
rohityadavcloud Jan 27, 2016
32fe308
Merge pull request #1048 from cloudsadhu/sadhutest
rohityadavcloud Jan 27, 2016
de436ac
Merge pull request #1261 from rafaelweingartner/lrg-cs-hackday-19
rohityadavcloud Jan 27, 2016
b98a989
Merge pull request #1274 from anshul1886/CLOUDSTACK-9196
rohityadavcloud Jan 27, 2016
5ab82d1
Merge pull request #1288 from DaanHoogland/trailing-commas
rohityadavcloud Jan 27, 2016
69d1a5e
Merge release branch 4.7 to 4.8
remibergsma Jan 28, 2016
e5f0788
Merge release branch 4.8 to master
remibergsma Jan 28, 2016
14c837a
CLOUDSTACK-8300: Set indexes on event table
remibergsma Jan 30, 2016
476e9f0
Merge pull request #1387 from remibergsma/CLOUDSTACK-8300
remibergsma Jan 31, 2016
0bc1b27
CLOUDSTACK-9252: Add nfs version to commands
nvazquez Jan 22, 2016
e524f65
CLOUDSTACK-9252: Support configurable nfs version
nvazquez Jan 22, 2016
76dc270
CLOUDSTACK-9252: Remove duplicates getNfsVersion, refactor
nvazquez Jan 28, 2016
cc50c20
CLOUDSTACK-9252: Remove static dependencies, refactor
nvazquez Feb 1, 2016
3fb18bd
CLOUDSTACK-9252: New refactor
nvazquez Feb 3, 2016
068fcea
CLOUDSTACK-9252: Add unit tests
nvazquez Feb 3, 2016
be89f64
Merge release branch 4.7 to 4.8
remibergsma Feb 4, 2016
7017a82
Merge release branch 4.8 to master
remibergsma Feb 4, 2016
94281f9
added suggested changes to coreos automation
Feb 4, 2016
c5677cf
CLOUDSTACK-9252: Mock application context for unit test
nvazquez Feb 4, 2016
64c6deb
CLOUDSTACK-9252: Little refactor
nvazquez Feb 5, 2016
5c0728a
CLOUDSTACK-9252: Add missing licence header
nvazquez Feb 5, 2016
f61f23c
Merge pull request #869 from pritisarap12/CLOUDSTACK-8895-Verify-if-s…
Feb 10, 2016
cd71e05
Merge pull request #1190 from pritisarap12/CLOUDSTACK-9121-Adding-VmS…
Feb 10, 2016
56859c9
Merge pull request #1011 from shwetaag/coreos
Feb 10, 2016
3d9919e
Revert "Merge pull request #1011 from shwetaag/coreos"
remibergsma Feb 10, 2016
f8c2c95
CLOUDSTACK-9128: Testcase to verify if snapshot_store_ref table store…
Dec 9, 2015
d3dc053
Merge pull request #684 from pritisarap12/CLOUDSTACK-8728-Testcase-to…
Feb 11, 2016
cc8508d
Merge pull request #667 from pritisarap12/CLOUDSTACK-8717-Failed-to-s…
Feb 11, 2016
7332e88
Revert "Merge pull request #667 from pritisarap12/CLOUDSTACK-8717-Fai…
remibergsma Feb 11, 2016
8c7f5ab
Squashing two commits in to single commit
Aug 7, 2015
13f4e5a
Merge pull request #1411 from pritisarap12/CLOUDSTACK-8717-Failed-to-…
Feb 15, 2016
db3e18d
CLOUDSTACK-9252: Last refactor, passing nfs version to ssvm
nvazquez Feb 12, 2016
d159af9
Revert "Merge pull request #1411 from pritisarap12/CLOUDSTACK-8717-Fa…
Feb 17, 2016
764afb4
CLOUDSTACK-9140: Testcase to verify if Dedicated cluster is used for …
Dec 11, 2015
bcbdb2c
Merge pull request #1199 from pritisarap12/CLOUDSTACK-9128-Testcase-t…
Feb 18, 2016
79edac0
Merge pull request #1130 from pritisarap12/CLOUDSTACK-9091-Update-tes…
Feb 18, 2016
207b7e3
CLOUDSTACK-9026: Modifying testpath for adding missing parameter
Nov 4, 2015
ee150aa
Merge pull request #1031 from pritisarap12/CLOUDSTACK-9026-Modifying-…
Feb 19, 2016
4480d05
Merge pull request #1310 from nvazquez/3dgpu
rafaelweingartner Feb 23, 2016
8df8094
Merge pull request #1218 from pritisarap12/CLOUDSTACK-9140-Testcase-t…
Feb 24, 2016
d705d85
Merge pull request #1361 from nvazquez/bothgoals
rafaelweingartner Feb 24, 2016
908b769
Merge pull request #1078 from pritisarap12/CLOUDSTACK-9066-update-tes…
Feb 25, 2016
12a4ca2
Merge release branch 4.7 to 4.8
rafaelweingartner Feb 26, 2016
359d20e
Merge release branch 4.8 to master
rafaelweingartner Feb 26, 2016
783aac8
ADD be explicit about the underlying limitation - OpenSwan
Mar 2, 2016
3c8d3d0
Add nuagevsp userdata testcase (Cloudstack-9095) & Refactor existing …
Mar 9, 2016
2260263
deleted: test_vpcnetwork_nuage.py
Mar 9, 2016
255b746
CLOUDSTACK-9304 - Modified Description
Mar 9, 2016
fea264c
VmDetailConstants "ROOK_DISK_CONTROLLER" to "ROOT_DISK_CONTROLLER"
Mar 10, 2016
9a9136e
Merge pull request #1426 from ntavares/ipsec-psk-rules
rafaelweingartner Mar 10, 2016
63f58dd
Merge pull request #1434 from GabrielBrascher/rook-fix
rafaelweingartner Mar 10, 2016
1446ecd
CLOUDSTACK-9304 - Exit loop when Physical Network with isolation as V…
Mar 11, 2016
65d7ae3
Made the code Pyflakes compliant
Mar 15, 2016
732a852
CLOUDSTACK-8800 : Improved the listVirtualMachines API call to includ…
Oct 9, 2015
dc0ba6b
Merge pull request #780 from maneesha-p/pull-19
kishankavala Mar 17, 2016
de173bd
Merge pull request #1431 from sneeladh/master
Mar 17, 2016
0c34de9
speedup iptables setup
Mar 20, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloudstack</artifactId>
<version>4.7.2-SNAPSHOT</version>
<version>4.9.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloudstack</artifactId>
<version>4.7.2-SNAPSHOT</version>
<version>4.9.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
Expand Down
28 changes: 28 additions & 0 deletions api/src/com/cloud/network/guru/NetworkGuruAdditionalFunctions.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// 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.network.guru;

import java.util.Map;

public interface NetworkGuruAdditionalFunctions {

public static final String NSX_LSWITCH_UUID = "logicalswitch";
public static final String NSX_LSWITCHPORT_UUID = "logicalswitchport";

void finalizeNetworkDesign(long networkId, String vlanIdAsUUID);
Map<String, ? extends Object> listAdditionalNicParams(String nicUuid);
}
2 changes: 1 addition & 1 deletion api/src/com/cloud/vm/VmDetailConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
public interface VmDetailConstants {
public static final String KEYBOARD = "keyboard";
public static final String NIC_ADAPTER = "nicAdapter";
public static final String ROOK_DISK_CONTROLLER = "rootDiskController";
public static final String ROOT_DISK_CONTROLLER = "rootDiskController";
public static final String NESTED_VIRTUALIZATION_FLAG = "nestedVirtualizationFlag";
public static final String HYPERVISOR_TOOLS_VERSION = "hypervisortoolsversion";
public static final String DATA_DISK_CONTROLLER = "dataDiskController";
Expand Down
6 changes: 6 additions & 0 deletions api/src/com/cloud/vm/VmStats.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,10 @@ public interface VmStats {

public double getDiskWriteKBs();

public double getMemoryKBs();

public double getIntFreeMemoryKBs();

public double getTargetMemoryKBs();

}
1 change: 1 addition & 0 deletions api/src/org/apache/cloudstack/api/ApiConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ public class ApiConstants {
public static final String NICIRA_NVP_TRANSPORT_ZONE_UUID = "transportzoneuuid";
public static final String NICIRA_NVP_DEVICE_NAME = "niciradevicename";
public static final String NICIRA_NVP_GATEWAYSERVICE_UUID = "l3gatewayserviceuuid";
public static final String NICIRA_NVP_L2_GATEWAYSERVICE_UUID = "l2gatewayserviceuuid";
public static final String S3_ACCESS_KEY = "accesskey";
public static final String S3_SECRET_KEY = "secretkey";
public static final String S3_END_POINT = "endpoint";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import com.cloud.storage.Snapshot;
import com.cloud.user.Account;

@APICommand(name = "revertSnapshot", description = "revert a volume snapshot.", responseObject = SnapshotResponse.class, entityType = {Snapshot.class},
@APICommand(name = "revertSnapshot", description = "This is supposed to revert a volume snapshot. This command is only supported with KVM so far", responseObject = SnapshotResponse.class, entityType = {Snapshot.class},
requestHasSensitiveInfo = false, responseHasSensitiveInfo = false)
public class RevertSnapshotCmd extends BaseAsyncCmd {
public static final Logger s_logger = Logger.getLogger(RevertSnapshotCmd.class.getName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ public void execute() {
response.setResponseName(getCommandName());
setResponseObject(response);
} else {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to deploy vm");
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to deploy vm uuid:"+getEntityUuid());
}
}

Expand Down Expand Up @@ -556,7 +556,7 @@ public void create() throws ResourceAllocationException {
VirtualMachineTemplate template = _entityMgr.findById(VirtualMachineTemplate.class, templateId);
// Make sure a valid template ID was specified
if (template == null) {
throw new InvalidParameterValueException("Unable to use template " + templateId);
throw new InvalidParameterValueException("Unable to find the template " + templateId);
}

DiskOffering diskOffering = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class CreateVpnCustomerGatewayCmd extends BaseAsyncCmd {
@Parameter(name = ApiConstants.CIDR_LIST, type = CommandType.STRING, required = true, description = "guest cidr list of the customer gateway")
private String peerCidrList;

@Parameter(name = ApiConstants.IPSEC_PSK, type = CommandType.STRING, required = true, description = "IPsec Preshared-Key of the customer gateway")
@Parameter(name = ApiConstants.IPSEC_PSK, type = CommandType.STRING, required = true, description = "IPsec Preshared-Key of the customer gateway. Cannot contain newline or double quotes.")
private String ipsecPsk;

@Parameter(name = ApiConstants.IKE_POLICY, type = CommandType.STRING, required = true, description = "IKE policy of the customer gateway")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class UpdateVpnCustomerGatewayCmd extends BaseAsyncCmd {
@Parameter(name = ApiConstants.CIDR_LIST, type = CommandType.STRING, required = true, description = "guest cidr of the customer gateway")
private String guestCidrList;

@Parameter(name = ApiConstants.IPSEC_PSK, type = CommandType.STRING, required = true, description = "IPsec Preshared-Key of the customer gateway")
@Parameter(name = ApiConstants.IPSEC_PSK, type = CommandType.STRING, required = true, description = "IPsec Preshared-Key of the customer gateway. Cannot contain newline or double quotes.")
private String ipsecPsk;

@Parameter(name = ApiConstants.IKE_POLICY, type = CommandType.STRING, required = true, description = "IKE policy of the customer gateway")
Expand Down
16 changes: 16 additions & 0 deletions api/src/org/apache/cloudstack/api/response/NicResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ public class NicResponse extends BaseResponse {
@Param(description = "Id of the vm to which the nic belongs")
private String vmId;

@SerializedName("nsxlogicalswitch")
@Param(description = "Id of the NSX Logical Switch (if NSX based), null otherwise", since="4.6.0")
private String nsxLogicalSwitch;

@SerializedName("nsxlogicalswitchport")
@Param(description = "Id of the NSX Logical Switch Port (if NSX based), null otherwise", since="4.6.0")
private String nsxLogicalSwitchPort;

public void setVmId(String vmId) {
this.vmId = vmId;
}
Expand Down Expand Up @@ -205,4 +213,12 @@ public void setSecondaryIps(List<NicSecondaryIpResponse> ipList) {
this.secondaryIps = ipList;
}

public void setNsxLogicalSwitch(String nsxLogicalSwitch) {
this.nsxLogicalSwitch = nsxLogicalSwitch;
}

public void setNsxLogicalSwitchPort(String nsxLogicalSwitchPort) {
this.nsxLogicalSwitchPort = nsxLogicalSwitchPort;
}

}
36 changes: 36 additions & 0 deletions api/src/org/apache/cloudstack/api/response/UserVmResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,18 @@ public class UserVmResponse extends BaseResponse implements ControlledEntityResp
@Param(description = "the write (bytes) of disk on the vm")
private Long diskKbsWrite;

@SerializedName("memorykbs")
@Param(description = "the memory used by the vm")
private Long memoryKBs;

@SerializedName("memoryintfreekbs")
@Param(description = "the internal memory thats free in vm")
private Long memoryIntFreeKBs;

@SerializedName("memorytargetkbs")
@Param(description = "the target memory in vm")
private Long memoryTargetKBs;

@SerializedName("diskioread")
@Param(description = "the read (io) of disk on the vm")
private Long diskIORead;
Expand Down Expand Up @@ -466,6 +478,18 @@ public Long getDiskKbsWrite() {
return diskKbsWrite;
}

public Long getMemoryKBs() {
return memoryKBs;
}

public Long getMemoryIntFreeKBs() {
return memoryIntFreeKBs;
}

public Long getMemoryTargetKBs() {
return memoryTargetKBs;
}

public Long getDiskIORead() {
return diskIORead;
}
Expand Down Expand Up @@ -645,6 +669,18 @@ public void setDiskIORead(Long diskIORead) {
this.diskIORead = diskIORead;
}

public void setMemoryKBs(Long memoryKBs) {
this.memoryKBs = memoryKBs;
}

public void setMemoryIntFreeKBs(Long memoryIntFreeKBs) {
this.memoryIntFreeKBs = memoryIntFreeKBs;
}

public void setMemoryTargetKBs(Long memoryTargetKBs) {
this.memoryTargetKBs = memoryTargetKBs;
}

public void setDiskIOWrite(Long diskIOWrite) {
this.diskIOWrite = diskIOWrite;
}
Expand Down
1 change: 1 addition & 0 deletions client/WEB-INF/classes/resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,7 @@ label.nfs.storage=NFS Storage
label.nfs=NFS
label.nic.adapter.type=NIC adapter type
label.nicira.controller.address=Controller Address
label.nicira.l2gatewayserviceuuid=L2 Gateway Service Uuid
label.nicira.l3gatewayserviceuuid=L3 Gateway Service Uuid
label.nicira.transportzoneuuid=Transport Zone Uuid
label.brocade.vcs.address=Vcs Switch Address
Expand Down
2 changes: 1 addition & 1 deletion client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parent>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloudstack</artifactId>
<version>4.7.2-SNAPSHOT</version>
<version>4.9.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.cloudstack</groupId>
<artifactId>cloudstack</artifactId>
<version>4.7.2-SNAPSHOT</version>
<version>4.9.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
Expand Down
9 changes: 9 additions & 0 deletions core/src/com/cloud/agent/api/BackupSnapshotCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class BackupSnapshotCommand extends SnapshotCommand {
private S3TO s3;
StorageFilerTO pool;
private Long secHostId;
private String nfsVersion;

protected BackupSnapshotCommand() {

Expand Down Expand Up @@ -107,4 +108,12 @@ public Long getSnapshotId() {
public Long getSecHostId() {
return secHostId;
}

public String getNfsVersion() {
return nfsVersion;
}

public void setNfsVersion(String nfsVersion) {
this.nfsVersion = nfsVersion;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class CreatePrivateTemplateFromSnapshotCommand extends SnapshotCommand {
private String origTemplateInstallPath;
private Long newTemplateId;
private String templateName;
private String nfsVersion;

protected CreatePrivateTemplateFromSnapshotCommand() {

Expand Down Expand Up @@ -72,4 +73,12 @@ public Long getNewTemplateId() {
public String getTemplateName() {
return templateName;
}

public String getNfsVersion() {
return nfsVersion;
}

public void setNfsVersion(String nfsVersion) {
this.nfsVersion = nfsVersion;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class CreatePrivateTemplateFromVolumeCommand extends SnapshotCommand {
StorageFilerTO _primaryPool;
// For XenServer
private String _secondaryStorageUrl;
private String nfsVersion;

public CreatePrivateTemplateFromVolumeCommand() {
}
Expand Down Expand Up @@ -99,4 +100,12 @@ public Long getAccountId() {
public void setTemplateId(long templateId) {
_templateId = templateId;
}

public String getNfsVersion() {
return nfsVersion;
}

public void setNfsVersion(String nfsVersion) {
this.nfsVersion = nfsVersion;
}
}
10 changes: 10 additions & 0 deletions core/src/com/cloud/agent/api/CreateVolumeFromSnapshotCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
*/
public class CreateVolumeFromSnapshotCommand extends SnapshotCommand {

private String nfsVersion;

protected CreateVolumeFromSnapshotCommand() {

}
Expand All @@ -50,4 +52,12 @@ public CreateVolumeFromSnapshotCommand(StoragePool pool, String secondaryStorage
super(pool, secondaryStoragePoolURL, backedUpSnapshotUuid, backedUpSnapshotName, dcId, accountId, volumeId);
setWait(wait);
}

public String getNfsVersion() {
return nfsVersion;
}

public void setNfsVersion(String nfsVersion) {
this.nfsVersion = nfsVersion;
}
}
14 changes: 14 additions & 0 deletions core/src/com/cloud/agent/api/GetStorageStatsCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public class GetStorageStatsCommand extends Command {
private StoragePoolType pooltype;
private String secUrl;
private DataStoreTO store;
private String nfsVersion;

public String getSecUrl() {
return secUrl;
Expand All @@ -54,6 +55,11 @@ public GetStorageStatsCommand(DataStoreTO store) {
this.store = store;
}

public GetStorageStatsCommand(DataStoreTO store, String nfsVersion) {
this.store = store;
this.nfsVersion = nfsVersion;
}

public GetStorageStatsCommand(String secUrl) {
this.secUrl = secUrl;
}
Expand Down Expand Up @@ -81,6 +87,14 @@ public DataStoreTO getStore() {
return this.store;
}

public String getNfsVersion() {
return nfsVersion;
}

public void setNfsVersion(String nfsVersion) {
this.nfsVersion = nfsVersion;
}

@Override
public boolean executeInSequence() {
return false;
Expand Down
9 changes: 9 additions & 0 deletions core/src/com/cloud/agent/api/SecStorageSetupCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class SecStorageSetupCommand extends Command {
private String secUrl;
private KeystoreManager.Certificates certs;
private String postUploadKey;
private String nfsVersion;


public SecStorageSetupCommand() {
Expand Down Expand Up @@ -74,4 +75,12 @@ public String getPostUploadKey() {
public void setPostUploadKey(String postUploadKey) {
this.postUploadKey = postUploadKey;
}

public String getNfsVersion() {
return nfsVersion;
}

public void setNfsVersion(String nfsVersion) {
this.nfsVersion = nfsVersion;
}
}
Loading