lp:~raharper/cloud-init/config-drive-network-data
- Get this branch:
- bzr branch lp:~raharper/cloud-init/config-drive-network-data
Branch merges
- Scott Moser: Pending requested
-
Diff: 1971 lines (+1515/-72)18 files modifiedbin/cloud-init (+12/-4)
cloudinit/distros/__init__.py (+11/-0)
cloudinit/distros/debian.py (+11/-1)
cloudinit/net/__init__.py (+580/-0)
cloudinit/net/network_state.py (+446/-0)
cloudinit/net/udev.py (+54/-0)
cloudinit/sources/DataSourceConfigDrive.py (+135/-0)
cloudinit/sources/DataSourceNoCloud.py (+56/-32)
cloudinit/sources/__init__.py (+4/-0)
cloudinit/sources/helpers/openstack.py (+8/-1)
cloudinit/stages.py (+60/-30)
setup.py (+2/-1)
systemd/cloud-init-generator (+3/-0)
systemd/cloud-init-local.service (+2/-0)
tests/unittests/test_datasource/test_configdrive.py (+50/-1)
tests/unittests/test_distros/test_netconfig.py (+3/-2)
udev/79-cloud-init-net-wait.rules (+10/-0)
udev/cloud-init-wait (+68/-0)
- Scott Moser: Needs Fixing
-
Diff: 476 lines (+277/-11)5 files modifiedcloudinit/net/__init__.py (+40/-8)
cloudinit/net/network_state.py (+44/-1)
cloudinit/sources/DataSourceConfigDrive.py (+135/-0)
cloudinit/sources/helpers/openstack.py (+8/-1)
tests/unittests/test_datasource/test_configdrive.py (+50/-1)
Branch information
Recent revisions
- 1211. By Ryan Harper
-
fix review comments
net: add render_route comment to document why we added || true to route
statements
DataSourceConfigDrive: Only convert network_json to network_config when
caller reads network_config attr. Cache the conversion. - 1208. By Ryan Harper
-
unittest: fix bad json test with ConfigDrive
Introduced a new path in configdrive, openstack/
2015-10- 15/, needed
to add bogus data in that path as well to ensure config reader didn't
find good data when testing for exception thrown. - 1204. By Scott Moser
-
make NoCloud work for seeding network.
Tested now with the generated fallback config in an lxc container.
Had to change to return a config rather than a network state.Also this makes nocloud look in nocloud-net's seed dir.
This way it will read the seed and clame the datasource but
not do anything other than apply networking and the init_modules early.It is a change in behavior of the time that boothooks woudl run to do
this. May need to change that back. - 1202. By Scott Moser
-
add code to invoke networking config
there is no data source that has a populated network_config()
so at this point this doesn't do anything.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~cloud-init-dev/cloud-init/trunk