lp://staging/~raharper/cloud-init/trunk.fix-networking-subnet-routes
- Get this branch:
- bzr branch lp://staging/~raharper/cloud-init/trunk.fix-networking-subnet-routes
Branch merges
Branch information
Recent revisions
- 1251. By Scott Moser
-
ConfigDrive: do not use 'id' on a link for the device name
'id' on a link in the openstack spec should be "Generic, generated ID".
current implementation was to use the host's name for the host
side nic. Which provided names like 'tap-adfasdffd'.We do not want to name devices like that as its quite unexpected
and non user friendly. So here we use the system name for any
nic that is present, but then require that the nics found also
be present at the time of rendering.The end result is that if the system boots with net.ifnames=0
then it will get 'eth0' like names. and if it boots without net.ifnames
then it will get enp0s1 like names. - 1249. By Scott Moser
-
re-add the 'Net' classes for datasources
When the .pkl file is loaded, the module that it is loaded
from must have the same symbol. Ie, if booted once and got
DataSourceConfigDriveNet
then upgraded and rebooted, then next boot would show
Can't get attribute 'DataSourceConfigDriveNet' - 1247. By Scott Moser
-
smartos: do not raise error when not on smartos
if get_smartos_
environ( ) returned a None, then
the datasoure would raise a ValueError when get_data was called.
Fix that. - 1246. By Scott Moser
-
eni parsing: support 'ether' in hwaddress, netmask and broadcast
this adds ability to support ENI that has:
hwadress ether 36:4c:e1:3b:14:31
or
hwaddress 36:4c:e1:3b:14:31the former is written by openstack (at least on dreamhost).
Also, in the conversion of eni to network config support broadcast
and netmask. - 1245. By Scott Moser
-
openstack: support decoding when reading files, use that for network_config
The network config file is /etc/network/
interfaces formated.
We will decode that here so that the user can expect that it is
a string. The issue was that it was bytes but convert_eni_data
was expecting a string.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/~cloud-init-dev/cloud-init/trunk