wilderrodrigues
4c9f4fcdd3
Make virtual router id unique per redundant group
...
Customise the messages showed during VPC restart based on redundancy
Do not show "Make Redundant" option if VPC is already redundant
Show on VPC details if a VPC is redundant
2015-03-16 11:39:58 +01:00
Ian Southam
7a9a356094
Switch control interface for vrrp to guest network
...
Fix rRouter that was deleting the gateway interface
2015-03-16 11:39:57 +01:00
Ian Southam
87d4171c53
Who changed my condition!
...
De Morgans laws chaps
The negation of a conjunction is the disjunction of the negations.
The negation of a disjunction is the conjunction of the negations.
2015-03-16 11:39:56 +01:00
Ian Southam
db48a99678
Restart keepalived if a pub interface gets added or removed
2015-03-16 11:39:55 +01:00
Ian Southam
c828653a0a
Another correction
2015-03-16 11:39:54 +01:00
Ian Southam
267bc52579
Mistake no I set no priority!
2015-03-16 11:39:54 +01:00
Ian Southam
2b0c4c85a9
Fixed up get_dns for normal isolated vrs
2015-03-16 11:39:53 +01:00
Ian Southam
bf6e3fa8b2
Fixed CsAddress destroying the VIP address on a redundant router
...
Taken quite a bit of code out of CsRedundant
Fixed public IP in keepalived when there is no guest network
2015-03-16 11:39:53 +01:00
Ian Southam
9bec4b64e7
This change breaks stuff
...
This id is used to define the groups and will prevent the two vrrp instances from talking to each other
Result = MASTER MASTER
2015-03-16 11:39:52 +01:00
Ian Southam
f5ef75ee7e
Vrrp will fail if your own code keeps killing it off
2015-03-16 11:39:51 +01:00
wilderrodrigues
ae53d5ede1
Fix router priuority using the same logic as the one for the state
...
Fix the router state. do not show UNKNOW, but MASTER or BACKUP depending on the type of router
Implement the virtual_router_id to be passed as a boot parameter to the router
- it is needed for the keepalived configuration
2015-03-16 11:39:51 +01:00
wilderrodrigues
a5d6f90f66
Implementing redundant router arguments to add redundant_state
...
Implementing the arguments on the python side
2015-03-16 11:39:51 +01:00
Ian Southam
279f1a2741
Lots of changes to do with redundancy
2015-03-16 11:39:50 +01:00
wilderrodrigues
62d586e2af
Reverting the changes on CsAddress done in commit 374946e07748dd3ad659381c7d88e5e4140e4eeb
2015-03-16 11:39:50 +01:00
wilderrodrigues
bd7799401b
Removing guest interfaces form the VRRP list
...
Removing the not is_redundant from the check that put interfaces UP.
- it now checks only "not is_public"
2015-03-16 11:39:50 +01:00
wilderrodrigues
da53a5502e
Fix restarting VPC
2015-03-16 11:39:50 +01:00
wilderrodrigues
0be56a5ff6
Fixing the timout )ssh hanging) on the CsApp.py file
...
Adding kill_all() method on the CsProcess.py file (not being used yet)
Changing a bit the logic in the merge.py
The changes in the logic might be reverted, but they are causing no harm now.
2015-03-16 11:39:50 +01:00
Ian Southam
fb094ecafd
get_dns via guest network returns blank dns servers
...
fixed and added unit test
2015-03-16 11:39:49 +01:00
wilderrodrigues
edd839ab10
Fix: allow multiple VIFs per Mac Address
...
Fix: RTNETLINK errors
- Management Server health check trying to create already existing interface
- Changes on update_config.py, cs_guestnetwork.py, merger.py
Fix: replace RRouTER_LOG in the CsRedundant.py per log file location
Fix: Guest Net address association during Router restart
- Changes on NicProfileHelper, NicProfileHelperImpl
Fix: aggregationExecution() method on VirtualNetworkApplianceManagerImpl
- Do not send an AggregationControlCommand to a non-configured router
Some classes have been formatted.
2015-03-16 11:39:48 +01:00
wilderrodrigues
460204fa9f
Fixing CsDhcp.py
...
Fixing assign IPv4 on GuestNetworkGuru.java
Fixing getRouters() on VpcVirtualRouterElement.java
Fixing Fixing paths on keepalived.conf.templ
Refactor on the other files
2015-03-16 11:39:17 +01:00
wilderrodrigues
84bf46dc2f
Java: Fixing the redundant flag for the router control nic and the guest network command;
...
Python: fix the redundant setup in the CsRedundant class
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
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
Ian Southam
406af7e855
Sorting out redundancy
...
some new unit testing
stupid bug in CsCmdLine refactor
2015-03-16 11:39:14 +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
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
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
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
Hugo Trippaers
5c4d221c34
Let's stick to CamelCase for now
2015-03-16 11:38:12 +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
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
Ian Southam
5dcdf26328
Typo
2015-03-16 11:38:07 +01:00
Ian Southam
54f5c53a20
Decided not at this stage to combine VPC and VR code
2015-03-16 11:38:06 +01:00