Hugo Trippaers
9c8eba1da3
Fix the tests
...
Note to self, surefire actually runs with assertions enabled where junit
inside eclipse doesn't. Sure surefire will mark tests as failed when an
assertion is triggered. Take care when mocking stuff.
2012-12-07 17:34:14 +01:00
Hugo Trippaers
2b74b6e827
Start removing the old ant build files
...
Removed all build.xml files from the plugins
2012-12-07 15:58:56 +01:00
Hugo Trippaers
fa207d2b4d
Add unittests for NiciraNvpApi
...
Added some unittests for the NiciraNvpApi. These tests mainly validate
the logic of the execute methods, which are the main thing in this
class. Other methods are basically wrappers around these functions.
Changed NiciraNvpApi to have a factory method for obtaining the
HttpMethod. This makes it easier to mock it.
Changed the executeMethods in NiciraNvpApi to protected so the unittests
have access.
Fixed a bug in NiciraNvpApi where releaseconnection was not called in
some cases.
2012-12-07 15:55:26 +01:00
Hugo Trippaers
1fbf2a2864
Fix bug in Port Forwarding
...
Nicira NVP can't handle a range of port when implementing port
forwarding, so return an error message when a rule is being implemented
that uses port ranges.
Include unittest to verify this behaviour
2012-12-06 16:50:56 +01:00
Hugo Trippaers
cfd2a0bdf8
Fixes for some bug discovered while writing unittests
...
Rewritten handling for static nat and port forwarding, should make some
more sense now and the complex functions are split in smaller units.
Fix a small bug in Match
Add equals function to NatRule that ignores the uuid field.
2012-12-06 14:45:58 +01:00
Hugo Trippaers
22ef646b23
Add more unittests for NiciraNvpResource
2012-12-06 14:45:58 +01:00
Hugo Trippaers
48308ec070
Redoing NatRule usage and some fixes based on issues found while writing
...
unittests
2012-12-06 14:45:37 +01:00
Hugo Trippaers
700050a713
More unittests for NiciraNvpResource
...
Add some basic unittest for NatRule
2012-12-06 14:45:09 +01:00
Hugo Trippaers
b0955e43ff
Put the mockito version in the central version list
2012-12-06 14:42:59 +01:00
Murali Reddy
6657246cd4
Summary: partical check-in for L4-L7 network services in the shared
...
network in the advanced zone
Changing the F5, NetScaler, SRX network elemetns to handle both 'isolated networks'
and 'shared networks' in the advanced zone
Bug ID:CLOUDSTACK-312 enable L4-L7 network services in the shared network in the advanced zone
2012-12-06 11:55:19 +05:30
Hugo Trippaers
0902f60c61
Quickly add the license header before Chip finds out.
2012-12-02 11:19:32 -08:00
Hugo Trippaers
751e74708e
Setup unittests for the nicira nvp plugin
...
Changed the creation of the NiciraNvpApi to a factory method that can be
overridden by a mock object.
Setup two tests to test the configure function of the NiciraNvpResource
to test this factory method.
2012-12-02 10:50:14 -08:00
Hiroaki Kawai
a28f4cac3c
HttpClient needs releaseConnection method call
...
reviewboard: https://reviews.apache.org/r/8186/
Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2012-11-29 20:23:30 +01:00
Hiroaki Kawai
c8832cd4b6
Commit https://reviews.apache.org/r/8075/
...
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2012-11-19 12:02:26 +01:00
Vijay Venkatachalam
affc162556
AutoScale: Fixing issues that occurred during rebase with master
2012-11-16 11:04:37 +05:30
Vijay Venkatachalam
527b5c8ee2
Autoscale: Supporting network element independent counter parameters Reviewed-By:Devdeep
2012-11-16 10:57:00 +05:30
Vijay Vekatachalam
4836aba56f
Create Autoscale config in Netscaler with unique Identifier based on Vmgroup
2012-11-16 10:56:59 +05:30
Vijay Vekatachalam
35b0e086d4
enable Autoscale VMs to be named as Autoscale-LB-<lbname>
2012-11-16 10:56:59 +05:30
Vijay Vekatachalam
57416188a2
Enabling aUtoscale VMs to be provisioned in a loadbalancer's network
2012-11-16 10:56:59 +05:30
Deepak Garg
bf1e6ed991
CS-15644-Autoscale: Implemented UUIDs for templateId-serviceOff Reviewed-By:Vijay
2012-11-16 10:56:58 +05:30
Vijay venkatachalam
3e32a29048
Autoscale:Changes for addressing AutoScale bugs CS-15930, CS-15931, CS-15934, CS-15935
2012-11-16 10:56:58 +05:30
Vijay venkatachalam
c7f84cae77
Autoscale:7078-NetScaler's API changes for autoscale
2012-11-16 10:56:58 +05:30
Vijay venkatachalam
3ceebc140a
AutoScale. Re-organized NetScalerResource. Bringing autoscale functions in a logical order.
2012-11-16 10:56:57 +05:30
Vijay venkatachalam
eec892dfbc
Handling of errors during AutoScaleConfig in NetScaler.
2012-11-16 10:56:57 +05:30
Vijay
dda4d39b55
AutoScale changes in Apache master
2012-11-16 10:56:44 +05:30
Hugo Trippaers
53cea844bc
The interface change introduced by commit
...
214bbf3ebd957f571901869f319da61ebad7ed23 broke the nonoss build.
2012-10-18 09:40:13 +02:00
Alena Prokharchyk
214bbf3ebd
CLOUDSTACK-279: fixed deleteProject when executed by the regular user. Always pass System account as a caller when do account cleanup
...
Conflicts:
api/src/com/cloud/api/commands/DeleteRemoteAccessVpnCmd.java
server/src/com/cloud/network/element/CiscoNexusVSMElement.java
server/src/com/cloud/network/element/ElasticLoadBalancerElement.java
server/src/com/cloud/network/element/F5ExternalLoadBalancerElement.java
server/src/com/cloud/network/element/JuniperSRXExternalFirewallElement.java
server/src/com/cloud/network/element/NetscalerElement.java
server/src/com/cloud/network/element/OvsElement.java
server/src/com/cloud/network/element/VpcJuniperSRXExternalFirewallElement.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/vpc/VpcManagerImpl.java
server/src/com/cloud/network/vpn/RemoteAccessVpnManagerImpl.java
server/src/com/cloud/storage/StorageManager.java
2012-10-17 17:26:19 -07:00
Hugo Trippaers
28c31e3707
truncate names that are longer than 40 characters, this is the max
...
length nicira api accepts for display_name.
2012-10-17 13:29:03 +02:00
Hugo Trippaers
a4a3194899
Fix license headers
2012-10-15 10:22:12 +02:00
Chip Childers
b48d0d7d08
CLOUDSTACK-326: Removing extra license and README files
...
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-10-12 14:29:51 -04:00
Hugo Trippaers
c07d6d28ee
Merge branch 'nicira-l3support'
...
This commit merges the nicira-l3support branch with master. This
effectively adds nicira nvp l3 support to master. The NiciraNVP Provider
can support the following services with this modification: Connectivity,
SourceNat, StaticNat and PortForwarding
Testing done:
Create, Delete network offerings with Nicira Element
Use Gui to add, modify, remove Nicira Element and Provider
Provision, deprovision SourceNat networks
Provision, deprovision Portforwarding and StaticNat rules
Tested with Nicira NVP release 2.1.0, 2.2.0 and 2.2.1 (2.2.x recommended)
2012-10-12 14:15:17 +02:00
Hugo Trippaers
51f9a98871
Check all TODO and FIXME tasks
2012-10-12 12:02:54 +02:00
Hugo Trippaers
ab8ba3d61d
Implement the portforwarding code in the resource
...
Fix a small naming typo
2012-10-12 11:57:27 +02:00
Hugo Trippaers
553a72047f
Implement static nat handling
2012-10-11 18:13:47 +02:00
Hugo Trippaers
18e11ac0c8
These need to be objects instead of primitives otherwise they get
...
included by default during conversion to json.
2012-10-05 09:27:21 -07:00
Hugo Trippaers
aa6355ffe6
Updated master to 4.1.0
...
mvn release:update-versions -DautoVersionSubmodules=true -Dnonoss -P
client,deps,developer -DdevelopmentVersion=4.1.0-SNAPSHOT
2012-10-01 11:00:55 -07:00
Hugo Trippaers
bb4dadaed8
small fixes
2012-10-01 10:12:59 -07:00
Hugo Trippaers
c9b0b0b1a9
Add Nicira configuration to the UI
2012-09-30 23:33:37 -07:00
Hugo Trippaers
c5634b9687
Wire the PortForwarding and StaticNat calls
2012-09-30 10:20:54 -07:00
Hugo Trippaers
de41cb7cb5
Start implementing IpDeployer
2012-09-28 11:32:53 -07:00
Hugo Trippaers
dd68a00338
Persist the uuid of the logical router once created
2012-09-27 22:16:11 -07:00
Hugo Trippaers
af77912034
Keep naming consistent
2012-09-27 18:26:56 -07:00
Hugo Trippaers
8ba7749869
Prepare all capabilities we will be supporting
...
Remove the logical router if we are done with it.
2012-09-27 18:24:19 -07:00
Hugo Trippaers
fe997651a6
Wired up the creation of the SourceNat router in the element
2012-09-27 15:34:53 -07:00
Hugo Trippaers
bfc8da1082
Update Nicira Api to support L3 functionality
2012-09-25 15:51:48 -07:00
Chip Childers
763311c006
License header updates, and modification to root pom for exclusions.
2012-09-13 16:55:48 -04:00
Jie Feng
c9aa08350a
[DOC] docbook conversion - choosing a deployment architecture
2012-09-13 16:12:06 -04:00
Mice Xia
5532f58bbc
remove cloud.com license headers
2012-09-13 12:34:32 +08:00
Sheng Yang
fe8a2992a2
Elimiate mystery guestIp in IpAddressTO
...
Nobody can explain why it's there...
Also fix wrong return result of several empty network element callbacks
2012-09-12 15:42:48 -07:00
Chip Childers
2ba09d88c8
Patch from Gavin Lee: Change license to ASL2.0 in plugin
2012-08-30 09:17:11 -04:00