wilderrodrigues
cfbdbd421d
Extracting local variable and formatting the code.
2015-03-16 11:39:15 +01:00
wilderrodrigues
3b6f247d40
Fix problem with reading invalid key form the dictionary
...
I did in the same way Ian did for other files, but we have to find a better way to fix it.
2015-03-16 11:39:15 +01:00
wilderrodrigues
64ab2bf8da
Fix createSetupGuestNetworkCommand() method in order to pass the value of the getIsRedundantRouter() method instead of false.
2015-03-16 11:39:15 +01:00
wilderrodrigues
370fe518f2
Fixing delete_leases function.
...
It was refering a non-existing variable.
2015-03-16 11:39:14 +01:00
Ian Southam
636dfd6217
New unit test
...
Some stupid typos
pep8
2015-03-16 11:39:14 +01:00
wilderrodrigues
8f9f39fa39
[TK-3119] Fix NPEs and improve exception handling + error messages
2015-03-16 11:39:14 +01:00
Ian Southam
406af7e855
Sorting out redundancy
...
some new unit testing
stupid bug in CsCmdLine refactor
2015-03-16 11:39:14 +01:00
wilderrodrigues
014b47f6e6
[TK-3113] fixed CloudRuntimeException: NO EVENT PUBLISH CAN BE WRAPPED WITHIN DB TRANSACTION!
2015-03-16 11:39:14 +01:00
wilderrodrigues
a51690be4b
Formatting the class: it was a mess!
...
[wip]- will fix the "com.cloud.utils.exception.CloudRuntimeException: NO EVENT PUBLISH CAN BE WRAPPED WITHIN DB TRANSACTION!" problem.
2015-03-16 11:39:13 +01:00
wilderrodrigues
ce3c8c755a
[TK-3101] Fix VPCVirtualRouterElement
...
There were more places were the amount of routers is checked.
Not throwing exception when routers > 1
[wip] - we need to refactor VpcViortualRouterElement in order to cope with methods returning true only for the sake of it.
2015-03-16 11:38:18 +01:00
Ian Southam
bdda01d269
Countless bug fixes, mostly do do with VR redundancy
...
Also added some new unit tests and adjusted the code to make them work
2015-03-16 11:38:18 +01:00
wilderrodrigues
553bf21b37
[TK-3101] Fix VPCVirtualRouterElement
...
Iterating through the routers list and adding them to the guest networks
Not throwing exception when routers > 1
2015-03-16 11:38:18 +01:00
Ian Southam
24c8de3c13
Some convenience methods
2015-03-16 11:38:17 +01:00
Ian Southam
8a6a407114
Dhcp refactor
...
Loads of tiny bugs squashed and some big ones
Tested with domR needs VPC testing now
TODO: Unit tests CsDhcp
2015-03-16 11:38:17 +01:00
Ian Southam
31266d354f
Broken code during guest network merge
2015-03-16 11:38:17 +01:00
Hugo Trippaers
75dda0b5b2
Fix imports
2015-03-16 11:38:17 +01:00
Ian Southam
40eb8423b9
Fixed hostname on router
2015-03-16 11:38:16 +01:00
Ian Southam
d89c1e28ab
Forgot to add append method
2015-03-16 11:38:16 +01:00
Ian Southam
ec09f04b88
Small bug
2015-03-16 11:38:16 +01:00
Ian Southam
84624091fd
Load balancer config
2015-03-16 11:38:16 +01:00
Ian Southam
7d0df32560
Lots of fixes from the testing
...
firewallrules implemented sperately from networkacl (ugly but best that can be done ATM)
Some refactoring in CsDHCP as it made no sense to do it that way anymore
processmonitoring implemented
Domain not correctly sourced in VR
2015-03-16 11:38:15 +01:00
Ian Southam
08d2e10cb9
pep8
2015-03-16 11:38:15 +01:00
Ian Southam
0496ba7a00
firewallrules (VR) and metworkacl (VPC) did not as I believe they shgould get combined
...
in the underlying java code
Have split them out again.
Omce tested this will need some refactorinfg because it is currently PFU
2015-03-16 11:38:15 +01:00
Ian Southam
f924a9755d
Adding port forwarding ranges exposes a rather unfortunate typo
2015-03-16 11:38:15 +01:00
Ian Southam
467374c981
This time after running the unittests <blush>
2015-03-16 11:38:14 +01:00
Ian Southam
cca4b58d50
A couple of firewall fixes for DomRouter code
2015-03-16 11:38:14 +01:00
wilderrodrigues
d76ebcde60
Adding .pydevproject to gitignore
2015-03-16 11:38:14 +01:00
Leo Simons
3bd59a4bf3
veewee 0.5 alpha is breaking build
2015-03-16 11:38:14 +01:00
wilderrodrigues
099add4fd6
Removing "global" declaration from if block
...
In python an "if" block doesn't change the scope. So, global not needed as it was creating an warning.
2015-03-16 11:38:13 +01:00
wilderrodrigues
185975f6ac
Adding [ERROR] tag before error message to ease identification
2015-03-16 11:38:13 +01:00
wilderrodrigues
ec398e3c08
Adding pyde configuration to gitignore
2015-03-16 11:38:13 +01:00
Hugo Trippaers
67ee33ff8a
More pep8 checks and fixes
2015-03-16 11:38:12 +01:00
Hugo Trippaers
5c4d221c34
Let's stick to CamelCase for now
2015-03-16 11:38:12 +01:00
Hugo Trippaers
e10545506d
Add boilerplates for module unittests
2015-03-16 11:38:12 +01:00
Hugo Trippaers
628af2f973
Get started with some tests on the python code
2015-03-16 11:38:11 +01:00
Hugo Trippaers
b07ff145b3
Call planDeploymentRouters in the same place as we do in master
2015-03-16 11:38:11 +01:00
Hugo Trippaers
87855d6bb7
Fix a problem where virtual routers were deployed multiple times in a network
2015-03-16 11:38:11 +01:00
Ian Southam
6b0c40ed3e
iAdd chains before provisioning rules
2015-03-16 11:38:11 +01:00
Ian Southam
50ee12c6e3
Corrected basic firewalling setup
2015-03-16 11:38:10 +01:00
Ian Southam
13b7ca1b3f
New code must not run on systemvm
2015-03-16 11:38:10 +01:00
Ian Southam
4cdaada380
Bugger
2015-03-16 11:38:10 +01:00
Ian Southam
dce2c9e35a
Syntax error
2015-03-16 11:38:10 +01:00
Ian Southam
092c8924c9
Bug corrections
2015-03-16 11:38:09 +01:00
Ian Southam
5249df8799
Splitting router and vpc
2015-03-16 11:38:09 +01:00
Ian Southam
99d7c8f457
Fix syntax error
2015-03-16 11:38:09 +01:00
Ian Southam
945cc0bcfb
Aligning router chain names correctly
2015-03-16 11:38:08 +01:00
Hugo Trippaers
a2e7f30542
Fix license headers
2015-03-16 11:38:08 +01:00
Hugo Trippaers
18f517a8b1
pep8
2015-03-16 11:38:08 +01:00
Hugo Trippaers
9385f071d7
Fix PEP8 compliance
2015-03-16 11:38:07 +01:00
Hugo Trippaers
acaeec9a27
Fix indent
2015-03-16 11:38:07 +01:00