Alex Huang
e4b22d0fca
Replace all tabs, particularly the ones in the comments
2013-11-21 03:39:58 -08:00
Alex Huang
62e9273581
Removed trailing spaces
2013-11-21 03:12:05 -08:00
Alex Huang
8d62744681
Reformat all source code. Added checkstyle to check the source code
2013-11-20 07:26:53 -08:00
Ian Duffy
31758ed8d0
Fix codestyle/formatting within plugins/userauthenticators/ldap
2013-11-20 14:00:08 +01:00
Rajani Karuturi
917ea33ba9
added LDAP group name label in add account wizard
...
changed the parameter for domain in api importLdapUser from name to UUID
improved error handling
2013-11-20 13:57:41 +01:00
Likitha Shetty
90fb76a72c
CLOUDSTACK-5069. Added global config 'vmware.vcenter.session.timeout' to make the vCenter session timeout value configurable.
2013-11-20 16:12:22 +05:30
afornie
876b7e492f
Checkstyle adjustments in code and configuration
2013-11-18 19:22:42 +01:00
Edison Su
1292b76c63
Add a new method on datastoredriver: getCapabilities, which will be called by liststoragepoolcmd. UI can make decision based on the capabilities of the storage.
...
And also add a new table: snapshotdetails
2013-11-14 15:55:39 -08:00
Anthony Xu
9c739ef93d
Revert "Revert "XS host free memory might change, if user manually changes dom0 memory,""
...
This reverts commit 74153e4a79a064139a6ecce48f8eb1308318beab.
2013-11-14 11:58:55 -08:00
Anthony Xu
74153e4a79
Revert "XS host free memory might change, if user manually changes dom0 memory,"
...
This reverts commit a1d09ae16f08c86bfca5c4a89dec371ef6d3ee67.
2013-11-13 15:38:42 -08:00
Anthony Xu
a1d09ae16f
XS host free memory might change, if user manually changes dom0 memory,
...
this patch makes CS update latest XS host free memory on host connect process.
2013-11-13 10:59:36 -08:00
Kelven Yang
fc9adec72e
CLOUDSTACK-669: Add host level side-by-side VM state report for graceful sync model migration
2013-11-12 18:32:51 -08:00
Prasanna Santhanam
951336c3e4
CLOUDSTACK-5124: Adopt GetDomRVersionAnswer to VR upgradability
...
While VRs upgrade, cloudstack should still be able to work with older
/newer version of the scripts within VRs. To allow this, the simulator
needs to send the version strings for the domr version response or the
VR start is interrupted.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-11-11 13:49:55 +05:30
Likitha Shetty
a35425eec6
CLOUDSTACK-5122. System VMs are getting recreated with old template after upgrading to 4.2.
...
In VMware during VM start the existing disk information is used to configure the VMs. So even if a new disk is created using the new template VM continues to use the old disk.
Once the old root disk is marked for destroy force expunge it and sync the new disk into the VM folder before VM start
2013-11-10 23:31:56 +05:30
Laszlo Hornyak
b2f06aae68
fix long cast to double
...
- the result of dividing long with long resulted in loss of precision both for network and IO
- unit tests included
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-11-09 09:04:05 +01:00
Edison Su
4815b024bf
Add quiesce vm for vmware during vm snapshot
2013-11-08 15:47:11 -08:00
Rajesh Battala
19e9849d86
Enabled the traffic lable support the hyperv hypervisor type. Modified the physical_network_traffic_types table to introduce hyperv_network lable column.
...
Modified associated VO's and impls classes. Modified the List/Update/Add TrafficType command api's and response classes.
Fixed the Unit tests
2013-11-08 20:21:18 +05:30
Wei Zhou
4674ae4dd3
CLOUDSTACK-5076: fix wrong bridge name in vm domain xml desc after upgrade from 4.0 or before to 4.2
...
(cherry picked from commit 86976fb298bb05b7a5380573e292ec9687169228)
2013-11-08 15:40:14 +01:00
Syed
0076307863
Squashed merge of Ssl Termination feature
...
Bug: https://issues.apache.org/jira/browse/CLOUDSTACK-4821
FS: https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSL+Termination+Support
This patch implements the SSL offload feature for loadbalancers
and includes the implementaion for this to work with Netscaler.
The following are the new API's that this patch adds
uploadSslCert
deleteSslCert
listSslCert
assignCertToLoadBalancer
removeCertFromLoadBalancer
Unit tests are also included in the patch.
2013-11-08 16:49:16 +05:30
Devdeep Singh
39c201a593
Changes in hyperv agent to handle an add shared (SMB) storage pool
...
command. ModifyStoragePoolCommand was updated to map (net use) the share
and give an answer with the capacity details of the pool.
2013-11-08 16:34:38 +05:30
John Kinsella
ea2eafcd85
Summary: Implement stored-password encryption for Stratosphere plugin
...
BUG-ID: CLOUDSTACK-4929
Bugfix-for:
Reviewed-by:
Reported-by:
Signed-off-by: John Kinsella <jlk@stratosec.co> 1383882870 -0800
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-11-08 15:18:25 +05:30
Wei Zhou
c2fc6e69b5
check Linux bridge status before remove it (Cherry-picked from commit a33f0e7bdd3bc359e483eca36cf9faf1f2c7c521)
2013-11-08 09:00:12 +01:00
Rajesh Battala
63b23bb341
Fixed VmSync issues in HyperV.
2013-11-08 13:14:52 +05:30
Edison Su
c233492bfc
Add quiencevm option on createsnapshotcmd
2013-11-07 14:57:05 -08:00
Chris Suich
f826dfb918
Fixed bug with deleting VMWare VM Snapshots
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-11-07 14:29:35 -08:00
Chris Suich
d0123f9594
Added option to reload VM during in RevertToVMSnapshotCommand (only in VMWare as I don't believe that XenServer supports anything similar)
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-11-07 14:23:36 -08:00
Sheng Yang
62286fcc6d
Fix Palo Alto Firewall RAT issue
2013-11-07 10:44:45 -08:00
ynojima
b864e677e5
CLOUDSTACK-5039 bugfix: live migration failure in KVM env.
...
Signed-off-by: ynojima <mail@ynojima.net>
2013-11-07 20:56:23 +05:30
Hugo Trippaers
ad0d7f882f
Fix CID 1127045 Dead local store
...
Fix CID 1127041,1127040, 1127039, 1127038, 1127037 String concatenation in loop
2013-11-07 14:40:14 +01:00
ynojima
494ccd821d
Bugfix: VR has double NICs connected to Public network
...
replace vlanid wih broadcast uri to support vxlan to identify whether id is VLAN ID or VNI
Signed-off-by: ynojima <mail@ynojima.net>
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-11-07 11:17:59 +01:00
wilderrodrigues
c06d8a750c
Fix for issues on Coverity related to IDs cv_1125383, cv_1125382, cv_1125380, cv_1125379, cv_1125378, cv_1125377, cv_1125376, cv_1125375, cv_1125374.
...
Those bugs are related to classes not implementing Serializable, nox overriding the equals and/or hashCode methods and with empty finalize method.
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-11-07 10:59:10 +01:00
Devdeep Singh
e77ab38543
Fixing the implementation for AttachCommand and DetachCommand in hyperv agent.
...
Also implemented RebootCommand for rebooting an instance on hyperv host.
2013-11-07 13:13:39 +05:30
Bharat Kumar
7095ea2b5e
CLOUDSTACK-4738 Dynamic compute offering.
...
Signed-off-by: Koushik Das <koushik@apache.org>
2013-11-07 12:41:20 +05:30
Mike Tutkowski
10c513a259
CLOUDSTACK-4810: Enable hypervisor snapshots for CloudStack-managed storage (for XenServer and VMware)
2013-11-06 21:02:39 -07:00
Will Stevens
8f8ad3f38e
Squashed commit of the Palo Alto Networks firewall integration plugin.
...
This patch adds a network plugin to support Palo Alto Networks firewall (their appliance and their VM series firewall).
More information in the FS: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Palo+Alto+Firewall+Integration
Features supported are:
- List/Add/Delete Palo Alto service provider
- List/Add/Delete Palo Alto network service offering
- List/Add/Delete Palo Alto network with above service offering
- Add instance to the new network (creates the public IP and private gateway/cidr on the PA as well as the source nat rule)
- List/Add/Delete Ingress Firewall rule
- List/Add/Delete Egress Firewall rule
- List/Add/Delete Port Forwarding rule
- List/Add/Delete Static Nat rule
- Supports Palo Alto Networks 'Log Forwarding' profile globally per device (additional docs to come)
- Supports Palo Alto Networks 'Security Profile Groups' functionality globally per device (additional docs to come)
Knowns limitations:
- Only supports one public IP range in CloudStack.
- Currently not verifying SSL certificates when creating a connection between CloudStack and the Palo Alto Networks firewall.
- Currently not tracking usage on Public IPs.
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-11-06 10:08:22 -08:00
wilderrodrigues
56070c644b
Fix for 1125389 RV: Bad use of return value - make sure the replace call is done after replaceAll and the correct value is returned
...
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-11-06 15:17:00 +01:00
Likitha Shetty
f03dcdab19
[CLOUDSTACK-5051] Revert "CLOUDSTACK-3715. Socket timeout error is observed in VMware setup if a VMware task (RelocateVM_Task, CloneVM_Task etc.) takes more than 10 minutes. Making this value configurable to allow admins to modify the timeout if required. It defaults to the current value i.e. 10 minutes."
...
This reverts commit 3a9150017339fa9447e7e30b854ccd3351695dcc.
Conflicts:
plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareSecondaryStorageContextFactory.java
2013-11-06 19:07:33 +05:30
Jayapal
88170f9a79
CLOUDSTACK-4736 Monitoring service kvm vmware resource changes
2013-11-06 18:37:43 +05:30
Edison Su
2613c0a821
git config files were missing the ASF license
2013-11-05 15:40:45 -08:00
Jayapal
b464a20a52
CLOUDSTACK-4736: Monitoring services in VR
2013-11-05 23:39:33 +05:30
Likitha Shetty
0ef6135198
CLOUDSTACK-3715. Fix import error.
2013-11-05 17:42:17 +05:30
Harikrishna Patnala
a286dec098
CLOUDSTACK-4908: CPU socket count of host Adding cpu socket count of the host in hostresponse
...
Signed-off-by: Koushik Das <koushik@apache.org>
2013-11-05 16:12:36 +05:30
Likitha Shetty
3a91500173
CLOUDSTACK-3715. Socket timeout error is observed in VMware setup if a VMware task (RelocateVM_Task, CloneVM_Task etc.) takes more than 10 minutes. Making this value configurable to allow admins to modify the timeout if required. It defaults to the current value i.e. 10 minutes.
2013-11-05 15:59:03 +05:30
Edison Su
e60037cb80
Remove primarydatastoreTo in vmwareresource
2013-11-04 14:37:24 -08:00
Hugo Trippaers
479f404aea
Fix several rat issues introduced by recent commits
2013-11-04 20:14:46 +01:00
Hugo Trippaers
9e5e9fdc67
Fix version and build paths for the checkstyle code
2013-11-04 20:01:14 +01:00
Hugo Trippaers
d17a8f8b11
Get rid of some errors and warnings in the plugins user-authenticators ldap sources
2013-11-04 20:01:13 +01:00
Hugo Trippaers
256763cf65
Fix checkstyle errors in Nicira NVP plugin
2013-11-04 15:24:54 +01:00
Hugo Trippaers
f39b6b2c56
Add checkstyle to the build process and enable it for the Nicira NVP plugin
2013-11-04 15:24:54 +01:00
Devdeep Singh
a196fbc836
Application context files so that hyperv guru and discoverer can be loaded. Also made changes
...
to hyperv pom.xml to make sure the resources are picked up at build time.
2013-11-04 18:48:54 +05:30