/srv/irclogs.ubuntu.com/2016/05/05/#cloud-init.txt

harlowjasmoser the whole net stuff doesn't really have any tests or sample files and sample outputs :(17:53
harlowjaseems like i'll have to rewrite alot of it for RH support, but no tests makes that ya, ummm, painful17:54
harlowjadmsimard mgagne smoser sooo first thing i am hitting (in trying to add some basic tests for the conversion process); is that openstack (or at least the example i got from dmsimard has a network type of bridge, but the cloud-init code doesn't handle any bridge type)21:49
dmsimardthat's probably insight from the compute node, there are no bridge to create on the VM21:50
dmsimardin the specific case I sent you, it's a linuxbridge config -- so it goes something like "eth0" -> br-something -> tap-something21:51
dmsimardtap-something is the interface of the VM21:51
harlowjaright, so that example gets processed via http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/sources/DataSourceConfigDrive.py#L36921:52
harlowjainto an internal format that is different from the network_data.json one, but has similar info21:52
harlowjaguess i gotta figure out what to do with bridges21:52
dmsimardcan you paste the specific config you're looking at ?21:53
harlowjai'll do better, ha21:57
harlowjahttp://bazaar.launchpad.net/~harlowja/cloud-init/cloud-init-net-refactor/revision/121621:59
harlowjais the stuff i'm working on, cause there are no tests really of the network format in and expected out22:00
harlowjahttp://bazaar.launchpad.net/~harlowja/cloud-init/cloud-init-net-refactor/revision/121622:00
harlowjaoops look @ test_configdrive.py  there22:00
harlowjaso thats my step 1, adding some basic tests of this conversion process, so i can then go figure out what the heck to do for rhel in the other net files (which also lack tests afaik)22:01

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!