Hugo Trippaers
5c4d221c34
Let's stick to CamelCase for now
2015-03-16 11:38:12 +01:00
Hugo Trippaers
a2e7f30542
Fix license headers
2015-03-16 11:38:08 +01:00
Hugo Trippaers
9385f071d7
Fix PEP8 compliance
2015-03-16 11:38:07 +01:00
Hugo Trippaers
4632936733
We actually don't need all the process stuff
2015-03-16 11:38:05 +01:00
Hugo Trippaers
683e660d60
Small (but important) fixes
2015-03-16 11:35:22 +01:00
Ian Southam
4e63119873
Moved processing the cmd_line databag into update
2015-03-16 11:35:20 +01:00
Hugo Trippaers
9ede758e4d
Small update to try do deal with the stuck issue
2015-03-16 11:35:19 +01:00
Ian Southam
98a43d184b
Fixed bug in which every run of loadQueueFile would append to the json file (merge)
...
cloud-early-config now saves its input file to /var/cache/cloud
Execute load cmd_line.json in update_config
Old way of working still in there to stop and possible clash until the base image is made
2015-03-16 11:35:19 +01:00
Ian Southam
dd6b643ceb
Do not use eth0 or eth1 for random tests
...
One or other will be the control interface of the box
2015-03-16 11:35:15 +01:00
Leo Simons
cf4cdde291
Fix update_config.py use of subprocess.
2015-03-16 11:35:12 +01:00
Ian Southam
c7c1f3202e
Plan B
...
Replace chef with a python script
configure.py will read the bags and (hopefully) create the desired state
At this stage this is ipassociation
This code should work for both VR and VPCrs
TODO:
iptables
ip route throw (present in VR but not in VPCr
Determine default route
Unit tests
2015-03-16 11:35:08 +01:00
Ian Southam
3077eb925b
Include the guestnetwork code
...
This takes the guestnetwork object and also creates an ip object
2015-03-16 11:35:06 +01:00
Hugo Trippaers
0027db6cd1
Switch ip associations to new model and update the recipes
2015-03-16 11:35:04 +01:00
Ian Southam
bcb760e1e2
Can now read the ips out of the cmdline databag (if present)
2015-03-16 11:35:03 +01:00
Ian Southam
0c8f8d945e
Only ip_association files for now
2015-03-16 11:35:03 +01:00
Ian Southam
a357e12943
Add the Python bits
2015-03-16 11:35:02 +01:00
Hugo Trippaers
b596be1a82
Add a placeholder for the trigger file
2015-03-16 11:35:00 +01:00