Commit Graph

15157 Commits

Author SHA1 Message Date
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
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
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 d6dbe790c6 Added db. tables for asa1kv devices and their mapping with guest network 2013-02-13 12:07:03 +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
Koushik Das d6cdfe35f8 Added helper method to create port profile in n1kv VSM with additional parameters VDC tenant and edge security profile
Added helper method to create a vservice node in n1kv VSM
2013-02-11 23:06:36 +05:30
Koushik Das db42da17e9 Added database table for storing VNMC devices 2013-02-11 22:44:01 +05:30
Koushik Das f991436335 Added support for network offering creation with VNMC as provider for firewall, port forwarding, source nat 2013-02-08 16:00:15 +05:30
Koushik Das 74de210359 Added name attribute for the VNMC lifecycle commands 2013-02-08 15:06:11 +05:30
Chiradeep Vittal 6ce25ef11d Fix licensing 2013-01-16 16:44:28 -08:00
Chiradeep Vittal 392cd8ed63 cisco-vnmc: Fix api to use new conventions 2013-01-16 16:38:19 -08:00
Chiradeep Vittal 6b142bbaab WIP: configure ASA port profile
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 15:33:33 -08:00
Chiradeep Vittal 1ae21ea49a WIP rename device to resource to better reflect nature of VNMC
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 15:33:01 -08:00
Chiradeep Vittal 84d218f972 WIP: fixes for associating ASA1000v to tenant
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 15:32:54 -08:00
Chiradeep Vittal d74c6a9ac2 WIP: fixes for associating ASA1000v to tenant
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 15:32:45 -08:00
Chiradeep Vittal 9350d10849 WIP: admin commands for adding / listing VNMC
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 15:32:29 -08:00
Chiradeep Vittal a8031a0cfe WIP ASA 1000v listing"
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 15:30:41 -08:00
Chiradeep Vittal f9cc674b9c WIP : edge firewall
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 15:30:36 -08:00
Chiradeep Vittal 6a0964af00 WIP : edge security policy
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 15:30:30 -08:00
Chiradeep Vittal e32295e8cf WIP : dhcp server policy
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 15:30:24 -08:00
Chiradeep Vittal 446a9b8491 WIP : dhcp server policy
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 15:30:18 -08:00
Chiradeep Vittal e35e0eb59b Move unit test
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 15:30:14 -08:00
Chiradeep Vittal 2b43a3e74e Move unit test
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 15:30:08 -08:00
Chiradeep Vittal 11b804a894 WIP: XML control of VNMC
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-01-16 15:29:54 -08:00
Pranav Saxena a69e7f9bf6 CLOUDSTACK-972:The template will disappear after reordering in template section 2013-01-17 00:02:11 +05:30
Marcus Sorensen 4f479e2b23 Summary: Modifying integration tests to use 128MB service offerings
Detail: The default devcloud tiny template is set up via devcloud.sql to have
at least 100MB RAM, changing the tests as well. This will also allow the builtin
devcloud-kvm tiny template to work for tests as it requires a bit more.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1358357431 -0700
2013-01-16 10:30:31 -07:00
Marcus Sorensen 310d35f88e Summary: Change template details in devcloud-kvm sql file
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1358357054 -0700
2013-01-16 10:24:14 -07:00
Murali Reddy 4b67340d8c Revert "Summary: partical check-in for L4-L7 network services in the
shared"

This reverts commits 0de5a145e4,
28bbf6c527

Reverting due to IP clearance issues for the commits done as part of CLOUDSTACK-312
2013-01-16 16:43:37 +05:30
Murali Reddy 88a0b5ac48 Revert "Summary: partical check-in for L4-L7 network services in the shared"
This reverts commit 6657246cd4.

Reverting due to IP clearance issued for the commit done as part of CLOUDSTACK-312
2013-01-16 16:05:17 +05:30
Murali Reddy 316c5267cc Revert " Summary: check-in for L4-L7 network services in the shared network in"
This reverts commit 7fcfcdf91e.

Reverting due to IP clearance issued for the commit done as part of CLOUDSTACK-312
2013-01-16 16:04:14 +05:30
Murali Reddy 156ed7a336 Revert "Summary: partical check-in for L4-L7 network services in the shared"
Reverting due to IP clearance issued for the commit done as part of
CLOUDSTACK-312

This reverts commit d4c604cfd8.
2013-01-16 15:58:44 +05:30
Murali Reddy c7840cf91f reverting the earlier commit 432ea9c7d4
done for bug CLOUDSTACK-265 due to IP clearence issues.
2013-01-16 15:10:27 +05:30
Min Chen 939acb0f4c Remove unused CloudExecutionException. 2013-01-15 18:17:35 -08:00
Min Chen 8608925216 Consolidate RuntimeCloudException and CloudRuntimeException into one
class CloudRuntimeException, and removed RuntimeCloudException to avoid
confusion.
2013-01-15 18:07:08 -08:00
Rohit Yadav f6a8b45de5 ApiDiscovery: Use UserContext getCallerUser, do a lazy eval to get account service
Impl. and use UserContext to get User.
CloudStack's @Inject is horrible, it may sometimes fail to inject account service
during startup. Do a lazy injection using ComponentLocator when needed.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-15 16:11:51 -08:00
Sheng Yang 4f889bd426 CLOUDSTACK-985: Make sure RvR would always have same MAC address
Even with newly created RvR using "restartNetwork&cleanup=false" API.
2013-01-15 15:22:41 -08:00
Sheng Yang c32dbec468 CLOUDSTACK-985: Revert "Using different MAC for a pair of redundant routers"
The different MAC address for a pair of redundant router have issues when short
time network outrage happened. When this happened:

1. BACKUP(r-2) cannot receive the broadcast from MASTER(r-1).
2. Then r-2 would announce it's MASTER after 3 seconds, and send gratuitous ARP
to the gateway of public ip(usually a rack router).
3. The gateway of public ip would update it's ARP cache to associate the public
ip of the network to the MAC of r-2.
4. In the meantime, r-1 still sending out VRRP broadcast(due to network issue,
the broadcast never arrived at r-2), and acting as MASTER.
5. After network outrage, r-2 would receive the higher priority VRRP broadcast
from MASTER again, then receded as BACKUP.
6. But the public gateway would still associate public ip with MAC of r-2, thus
caused the issue. r-1 would no longer able to receive any packets from public
network.

And there is no way for r-1 to send gratuitous ARP again, because it's always
consider itself as MASTER, no state changed, and no hook existed for receiving
lower priority broadcast.

So I would revert this change, and introduce another commit to ensure the newly
create redundant router would share the same MAC as the first one.

This reverts commit 9f257aa60b.
2013-01-15 15:02:21 -08:00
Marcus Sorensen 47251b51a7 Summary: Allow ssh keypairs to be created if developer flag set and user ! cloud
Detail: Previously in the code we allowed the configuration to create ssh
keypairs and put them in the configuration table so that systemvms could have
ssh key auth and work properly if the user was 'cloud' or if the developer
configuration item was set to true. It got changed to requiring both the cloud
user and the developer flag (using an || on a negative) somwhere along the way.
This changes it back to && on a negative to allow us to run as non-cloud users
with the dev flag set, and for cloud to deploy properly without the developer
flag.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1358285190 -0700
2013-01-15 14:53:28 -07:00