harlowja | smoser the whole net stuff doesn't really have any tests or sample files and sample outputs :( | 17:53 |
---|---|---|
harlowja | seems like i'll have to rewrite alot of it for RH support, but no tests makes that ya, ummm, painful | 17:54 |
harlowja | dmsimard 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 |
dmsimard | that's probably insight from the compute node, there are no bridge to create on the VM | 21:50 |
dmsimard | in the specific case I sent you, it's a linuxbridge config -- so it goes something like "eth0" -> br-something -> tap-something | 21:51 |
dmsimard | tap-something is the interface of the VM | 21:51 |
harlowja | right, so that example gets processed via http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/sources/DataSourceConfigDrive.py#L369 | 21:52 |
harlowja | into an internal format that is different from the network_data.json one, but has similar info | 21:52 |
harlowja | guess i gotta figure out what to do with bridges | 21:52 |
dmsimard | can you paste the specific config you're looking at ? | 21:53 |
harlowja | i'll do better, ha | 21:57 |
harlowja | http://bazaar.launchpad.net/~harlowja/cloud-init/cloud-init-net-refactor/revision/1216 | 21:59 |
harlowja | is the stuff i'm working on, cause there are no tests really of the network format in and expected out | 22:00 |
harlowja | http://bazaar.launchpad.net/~harlowja/cloud-init/cloud-init-net-refactor/revision/1216 | 22:00 |
harlowja | oops look @ test_configdrive.py there | 22:00 |
harlowja | so 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!