Created by Scott Moser and last modified
Get this branch:
bzr branch lp:~smoser/cloud-init/trunk.fix-networking
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Scott Moser

Recent revisions

1255. By Scott Moser on 2016-06-03

config drive conversion: recognize 'bridge' as a physical type, fix mtu

the network json in openstack provides a type of 'bridge' when
the underlying (host) type is a bridge. Silly, but we need to
consider that a physical device as it will be for us.

also, the 'mtu' will appear on the link, not on the route

1254. By Scott Moser on 2016-06-03

fix issue with routes on subnets not getting rendered

1253. By Scott Moser on 2016-06-03

avoid rendering 'lo' twice by not writing it in network config.

1252. By Scott Moser on 2016-06-03

lxd: fix log messsage

1251. By Scott Moser on 2016-06-03

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.

1250. By Scott Moser on 2016-06-02

merge with trunk

1249. By Scott Moser on 2016-06-02

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
then upgraded and rebooted, then next boot would show
  Can't get attribute 'DataSourceConfigDriveNet'

1248. By Scott Moser on 2016-06-02

fix untested previous change to smartos

1247. By Scott Moser on 2016-06-02

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 on 2016-06-02

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
 hwaddress 36:4c:e1:3b:14:31

the former is written by openstack (at least on dreamhost).

Also, in the conversion of eni to network config support broadcast
and netmask.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.