Commit Graph

16334 Commits

Author SHA1 Message Date
Koushik Das 45bc92b826 Fixed cpmpilation issue as missed out adding this file 2013-03-20 14:58:59 +05:30
Koushik Das 2ce7cdc756 Creating vservice node and associating it with port profile in nexus for guest VMs 2013-03-17 17:02:25 +05:30
Koushik Das 387545caff Added license headers to XML files 2013-03-16 11:14:43 +05:30
Koushik Das 43e2997421 Changes related to instantiating the dao components 2013-03-13 11:51:59 +05:30
Koushik Das 99e88ecbf9 Fix build errors after merge from master 2013-03-12 23:40:35 +05:30
Koushik Das 7c20b120c2 Fixing poms and other xmls 2013-03-12 23:31:46 +05:30
Koushik Das ee868759a8 Merge branch 'master' into cisco-vnmc-api-integration
Conflicts:
	api/src/com/cloud/network/Network.java
	api/src/org/apache/cloudstack/api/ApiConstants.java
	plugins/pom.xml
	setup/db/create-schema.sql
2013-03-12 14:44:59 +05:30
Koushik Das 9c94b6d231 Fixed XML to create static route in VNMC correctly 2013-03-08 22:20:23 +05:30
Koushik Das ef069b3323 Added logic for revoking ACL, PF and Static NAT rules 2013-03-08 15:26:26 +05:30
Koushik Das 4c65b70668 Renamed delete-acl-rule -> delete-rule 2013-03-08 13:51:37 +05:30
Koushik Das aa94eca516 - Creating static routes in VNMC as part of edge firewall configuration
- Passing order parameter while creating rules so that they are evaluated in a specific order
- Added methods in VnmcResource for listing acl policies and rules belonging to variouos policies. This is used to compute order while creation of various rules in VNMC
2013-03-08 00:38:52 +05:30
Koushik Das cc824e8585 Adding appropriate ACL rules for PF and static NAT 2013-03-07 12:16:29 +05:30
Koushik Das fb23c50365 Added logic for deleting various VNMC artifacts. Added/updated relevant xmls as well. 2013-03-01 17:21:45 +05:30
Koushik Das 970c21a9a3 Added implementation for delete of asa and vnmc apis 2013-03-01 01:54:10 +05:30
Koushik Das 22e1455142 List asa api to return guest network if associated. From this it can be inferred if asa is available or not 2013-03-01 01:19:43 +05:30
Koushik Das 32223736c9 Added Vmware cluster info along with asa1kv appliance.
This is used to select the correct n1kv vsm for configuring the guest network
2013-03-01 00:50:55 +05:30
Sheng Yang a1b33cadf5 CLOUDSTACK-1332: Enable IPv6 dns in VR 2013-02-25 19:12:15 -08:00
Sheng Yang cf90b6cd10 CLOUDSTACK-1332: Add ip6dns to zone and domainrouter response 2013-02-25 19:12:09 -08:00
Sheng Yang 596e940264 CLOUDSTACK-1332: Pass IPv6 DNS to VR 2013-02-25 16:08:15 -08:00
Sheng Yang 1b408509d6 CLOUDSTACK-1332: Add IPv6 DNS for Zone 2013-02-25 16:08:10 -08:00
frank c1d513ef12 CloudStack CLOUDSTACK-1382
vm deploy fails with Error "cannot find DeployPlannerSelector for vm"

adding configuration of DeployPlanSelector to nonossComponentContext.xml.in
fixed resolved
2013-02-25 16:07:50 -08:00
frank cd291f6b4b From c72615de97b007517fb324044cb4625258c5fc61 Mon Sep 17 00:00:00 2001
From: Vijayendra <vijayendra.bhamidipati@citrix.com>
Date: Mon, 25 Feb 2013 14:37:27 -0800
Subject: [PATCH] CS-670: Configurable setting to use linked clones or not on
 VMware

Description:

  Providing support for creation of user VMs as full clones on ESX.
  Putting in unit tests for VO and Dao classes introduced in this commit.

Signed-off-by: Vijayendra <vijayendra.bhamidipati@citrix.com>
---
 core/src/com/cloud/vm/UserVmCloneSettingVO.java    |  50 ++++++
 .../hypervisor/vmware/manager/VmwareManager.java   |   3 +
 .../vmware/manager/VmwareManagerImpl.java          |  18 +-
 .../hypervisor/vmware/resource/VmwareResource.java | 117 +++++++++----
 server/conf/migration-components.xml               |   1 +
 server/src/com/cloud/configuration/Config.java     |   1 +
 server/src/com/cloud/vm/UserVmManagerImpl.java     | 184 ++++++++++-----------
 .../com/cloud/vm/dao/UserVmCloneSettingDao.java    |  37 +++++
 .../cloud/vm/dao/UserVmCloneSettingDaoImpl.java    |  74 +++++++++
 .../vm/dao/UserVmCloneSettingDaoImplTest.java      |  62 +++++++
 .../UserVmCloneSettingDaoTestConfiguration.java    |  52 ++++++
 .../test/resources/CloneSettingDaoTestContext.xml  |  42 +++++
 setup/db/db/schema-410to420.sql                    |   9 +
 13 files changed, 527 insertions(+), 123 deletions(-)
 create mode 100755 core/src/com/cloud/vm/UserVmCloneSettingVO.java
 create mode 100755 server/src/com/cloud/vm/dao/UserVmCloneSettingDao.java
 create mode 100755 server/src/com/cloud/vm/dao/UserVmCloneSettingDaoImpl.java
 create mode 100644 server/test/com/cloud/vm/dao/UserVmCloneSettingDaoImplTest.java
 create mode 100644 server/test/com/cloud/vm/dao/UserVmCloneSettingDaoTestConfiguration.java
 create mode 100644 server/test/resources/CloneSettingDaoTestContext.xml
2013-02-25 14:57:57 -08:00
Edison Su cc25e58dc2 move copy scripts after classes folder is created 2013-02-25 14:06:30 -08:00
Sebastien Goasguen d4bada3a5e Docs: Fixing NFS shares setup 2013-02-25 16:51:02 -05:00
Hugo Trippaers 02192db9a3 Package awsapi into the cloudstack-bridge package 2013-02-25 22:26:27 +01:00
Sebastien Goasguen b174165445 Docs: Fix for CS-1300 2013-02-25 14:44:04 -05:00
Sebastien Goasguen 1dc25f25c5 Docs: Fixing issues 2013-02-25 14:25:53 -05:00
Sebastien Goasguen 3424212638 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2013-02-25 14:06:55 -05:00
radhikap bf9ff8c4f6 cloudstack-462
Signed-off-by: radhikap <radhika.puthiyetath@citrix.com>
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2013-02-25 13:57:21 -05:00
Edison Su 310e99087f CLOUDSTACK-1380: add db upgrade for vm_template, in 4.1 to 4.2 upgrade procedure 2013-02-25 10:45:04 -08:00
Brenn Oosterbaan c30da35811 Commit review 9586
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-25 14:40:15 +01:00
Vijayendra Bhamidipati 6675d2c1a3 CLOUDSTACK-778: user provided hostname to be specified in vCenter instead of CloudStack generated name
Introducing flag to allow display name to be appended to internal instance name.
2013-02-25 18:57:18 +05:30
Kishan Kavala 15201d908f CLOUDSTACK-749: updated mockvpcdao mockvpcmanagerimpl with external device related changes 2013-02-25 18:54:30 +05:30
Kishan Kavala 836ce6c11a CLOUDSTACK-749: External device support for VPC. VPC offering can be created with providers other than VPCVirtualRouter 2013-02-25 18:32:23 +05:30
Koushik Das deed3cc951 Added support for static NAT rules.
- Xmls for creating static nat rules in VNMC
- applyStaticNats implementation in VNMC network element
- handler for static nat in resource class
2013-02-25 18:03:59 +05:30
Deepti Dohare 4d573ddd1b CLOUDSTACK-357 ISOs can be deleted while still attached to a running VM, and they subsequently cannot be detached from a running VM
I made the changes to make sure that:
1. ISO will be deleted from the UI, but it is not deleted from the secondary storage as long as it is attached to a VM.
2. The storage cleanup thread will check whether the iso is attached to any vm, if not, it removes the ISO from the secondary storage.
3. Detach operation is now working which was failing before for the vms having attached iso(deleted).

Updated the patch for template sync during MS restart.

Manually tested the following:
setup: upload ISO1 and ISO 2
Attach ISO1 to VM1 and VM2
Attach ISO2 to VM3
set storage.cleanup.interval to 300

test cases:
1. delete ISO1 from UI, gets deleted
2. In VM Details of VM1 and VM2, can see detach ISO option
3. ISO1 exists in secondary storage
4. detach ISO1 from VM1, successful
5. ISO1 still exists in secondary storage.
6. Restart MS, template sync will not delete ISO1.
7. Detach ISO1 from VM2, successfull detached.
8. Wait for storage cleanup thread to execute, ISO1 gets deleted from Secondary storage.
9. Detach ISO2 from VM3
10.ISO2 exists in secondary storage, Delete ISO2 form UI, get deleted from secondary storage.
2013-02-25 16:02:25 +05:30
Noa Resare fe9df2186b Have cloud-setup-* tools detect Debian
To minimize this change, treat Debian as Ubuntu for now.

Reviewed-by: Wido (https://reviews.apache.org/r/9310)
2013-02-25 12:32:25 +05:30
Sanjay Tripathi a4398af353 CloudStack-1371 : In case of ResourceAllocationException, server is not returnig any response.
Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
2013-02-25 14:05:33 +08:00
Rohit Yadav a32c6d5c9d db: Fix deploydb, make sure scripts are in path
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-25 11:00:56 +05:30
Rohit Yadav 357b4e63ac Revert "make the create database work"
This reverts commit 1c77ae6237.
2013-02-25 11:00:56 +05:30
Prasanna Santhanam f5ba9137cc Back to the old expunge logic
The expunge interval and delay are respected and no additional delays
are introduced.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-25 10:59:02 +05:30
Koushik Das 681f0b7b50 Added implementation for firewall and port forwarding rules in Cisco VNMC element class 2013-02-25 10:44:13 +05:30
Ricardo P. Katz c1e47ad329 Changed the cloud.spec to use the right version on cloudstack-common requirement 2013-02-24 20:19:00 -05:00
Alex Huang ac1b529f78 Revert "Revert "Fix fresh db install problem. (still pending one part of finding db""
This reverts commit ebcf6b1b7c.
2013-02-23 19:16:13 -08:00
Alex Huang 1c77ae6237 make the create database work 2013-02-23 19:07:22 -08:00
Min Chen ebcf6b1b7c Revert "Fix fresh db install problem. (still pending one part of finding db"
This reverts commit 5b760f903f.
2013-02-22 21:38:15 -08:00
Min Chen 5b760f903f Fix fresh db install problem. (still pending one part of finding db
script file correctly).
2013-02-22 18:01:55 -08:00
Sheng Yang f87759dabe IPv6: Enable specifying ipv6 address in DeployVMCmd 2013-02-22 14:25:48 -08:00
Hugo Trippaers 8761a1d0db CLOUDSTACK-1373: Fix regression in db-schema due to recent branch merges
Missed a few lines, did someone mention something about testing
recently?
2013-02-22 22:30:28 +01:00
Brian Federle df0039368b Fix missing 'add' action on instances page 2013-02-22 11:21:59 -08:00