Commit Graph

244 Commits

Author SHA1 Message Date
Koushik Das 4d2168bfa9 Egress firewall rule 2013-03-22 00:30:01 +05:30
Koushik Das e81ab3a2f4 More tests for VnmcResource class 2013-03-21 10:50:29 +05:30
Koushik Das f0c1af2b5c Merge branch 'master' into cisco-vnmc-api-integration
Conflicts:
	api/src/com/cloud/network/Network.java
	api/src/org/apache/cloudstack/api/ApiConstants.java
	client/tomcatconf/components-nonoss.xml.in
	client/tomcatconf/nonossComponentContext.xml.in
	plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareManagerImpl.java
	plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
	setup/db/db/schema-410to420.sql
	vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.java
2013-03-20 16:20:10 +05:30
Koushik Das 4f305c2beb Initial set of tests, will add more in subsequent commits 2013-03-20 15:09:34 +05:30
Rajesh Battala 183b989d30 CLOUDSTACK-664:AWS-Health Check feature: Patch applied cleanly , RAT build is successful 2013-03-18 14:01:15 +05:30
Koushik Das 387545caff Added license headers to XML files 2013-03-16 11:14:43 +05:30
Murali Reddy 2feda05ecd CLOUDSTACK-1427: Failed to delete Guestnetwork which has LB with
Netscaler

There is no need for getIpDeployer to depend on the fact a NetScaler
device is allocated (network is implemented state) or not-allocated
(network is in shutdown state)
2013-03-13 17:30:15 +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
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
Koushik Das 681f0b7b50 Added implementation for firewall and port forwarding rules in Cisco VNMC element class 2013-02-25 10:44:13 +05:30
Koushik Das 66b01a6589 VNMC xml for deleting NAT policy 2013-02-22 19:19:44 +05:30
Koushik Das 5d98686768 Added support for PF/DNAT rules.
Created methods in VNMCConnection class to create PF rules. Also moved out common code for PF and source NAT in methods.
Updated the corresponding VNMC resource class.
2013-02-22 19:16:41 +05:30
Koushik Das 8db2fbeb8f Added xml for creating NAT policy set in VNMC 2013-02-22 18:21:45 +05:30
Koushik Das f2da0d50ca Added VNMC XMLs for supporting PF/DNAT rules.
Also moved out some XMLs related to source NAT to common files so that these can be used for both source NAT and DNAT
2013-02-22 18:17:53 +05:30
Hugo Trippaers 368a5d5a9a Prachi's commit 20a747601c introduced a
new call to network.getPhysicalNetworkId() which wasn't mocked yet in
the nvp plugin unittests.(cherry picked from commit aea5b268b4)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-21 14:08:56 +01:00
Koushik Das 124a48819d Separated out creation of ACL policy set and policy in VNMC 2013-02-21 17:53:12 +05:30
Koushik Das 1e38515f35 Added changes to create ingress fw rules in VNMC 2013-02-21 11:54:44 +05:30
Prachi Damle ec1f48a4b2 CLOUDSTACK-1331: Upgrade fails for a 2.2.14 Zone having multiple guest networks using network_tags and Public Vlan
Changes:
-We need to update the physical_network_id for public vlans.
-Physical network ID should be retrieved from the network if present.
2013-02-20 11:23:32 -08:00
Rohit Yadav 80d58b6c73 CLOUDSTACK-1317: Bump CloudStack package version to 4.2.0-SNAPSHOT in all poms
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 16:42:56 +05:30
Koushik Das cb2fba9e7c Source NAT in VNMC 2013-02-14 16:23:05 +05:30
Koushik Das 720fe2f908 Fix Vnmc test file 2013-02-13 14:16:47 +05:30
Koushik Das 3fd7e30f6e Changes:
- Added implementation for add/list asa1kv APIs
- Added agent command for associating asa1kv appliance with logical edge firewall in VNMC
- Added handler for the above agent command in VNMC resource class
- Updated VNMC element class to support the above
2013-02-13 11:52:12 +05:30
Koushik Das d08e2a1faf Added lifecycle APIs for Cisco Asa 1000v appliance.
Added corresponding Dao and VO classes.
Also added mapping Dao and VO for guest netwok and asa appliance
2013-02-13 11:40:58 +05:30
Koushik Das 6b999ec867 Changes:
a. Added handlers for CreateLogicalEdgeFirewall and ConfigureNexusVSMForASA commands
b. Logic for add/list vnmc device API
c. Partial implementation for network element implement()
2013-02-12 00:05:39 +05:30
Koushik Das 0656250308 Moved VNMC provider creation to Network.java. The plugin code would have been the ideal place to keep it but current state of the code doesn't allow it. 2013-02-11 23:48:19 +05:30
Koushik Das dc402eaa7a Added new commands for the following:
a. Logical edge firewall creation in VNMC
b. Asa1kv vservice node creation and updating asa1kv inside port profile with guest network vlan id in n1kv VSM
2013-02-11 23:35:19 +05:30
Rohit Yadav 41fc03d4e7 bigswitch-vns: Fix since version in apis, add spring annotation to fix NPE
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-08 16:36:24 +05:30
Koushik Das 74de210359 Added name attribute for the VNMC lifecycle commands 2013-02-08 15:06:11 +05:30
Kishan Kavala fc0bf21a13 CLOUDSTACK-786, CLOUDSTACK-1014: Moved usage APIs to cloud-api. Removed ManagementServerExt. Usage API related implementation is added to UsageServiceImpl 2013-02-05 16:49:34 +05:30
Kelven Yang 296c20332d Merge javelin into master 2013-02-01 14:40:45 -08:00
Kelven Yang 7b75f0d990 Sync master to javelin one more time 2013-02-01 11:37:33 -08:00
Murali Reddy bfc4f982fd adding missing license in one of the files of BigSwitch 2013-02-01 13:32:13 +05:30
Kanzhe Jiang 736b236eaf bigswitch controller support
Reviewed-by: Chiradeep Vittal <chiradeepv@gmail.com>

Signed-off-by: Murali Reddy <murali.reddy@citrix.com>
2013-02-01 12:42:04 +05:30
Murali Reddy e7a554fc6a Merging events framework branch into master. This commit will bring
following changes

   - introduced notion of event bus with publish, subscribe, unsubscribe
     semantics

   - a plug-in can implement the EventBus abstraction to provide event
     bug to CloudStack

   - A rabbitMQ based plug-in that can interact with AMQP servers to
     provide message broker based event-bug

   - stream lines, action events, usage events, alerts publishing in to
     convineance classed which are also used to publish corresponding
     event on to event bus

   - introduced notion of state change event. On a state change, in the
     state machine corrsponding to the resource, a state change event is
     published on the event bug

   - associated a state machined with Snapshot and Network objects

   - Virtual Machine, Volume, Snaphost, Network object state changes wil
     result in a state change event
2013-02-01 01:37:24 +05:30
Kelven Yang 1b2b369ecb Merge latest master into javelin 2013-01-31 11:34:49 -08:00
Jayapal b6727e5646 CLOUDSTACK-299: Egress firewall rules feature for guest network on VR 2013-01-31 11:20:47 +05:30
Kelven Yang 176523254e Improve component lifecycle management with system run-level concept 2013-01-30 15:21:02 -08:00
Kelven Yang af4485ae9e Put nonoss under Spring framework 2013-01-25 15:41:48 -08:00