/srv/irclogs.ubuntu.com/2014/09/11/#cloud-init.txt

smoserharlowja, JayF lp:~smoser/cloud-init/os-vd-cleanup01:20
smoserhttps://code.launchpad.net/~smoser/cloud-init/os-vd-cleanup01:20
harlowjacool01:22
harlowjajust one problem ;)01:23
harlowjasmoser i think u want to use the raw json loads here then01:24
harlowjahttp://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/sources/helpers/openstack.py#L22401:24
harlowjautil.load_json doesn't allow non-dicts as the root type01:24
harlowjaso u might want to switch that to just json.loads as the function01:25
=== praneshp_ is now known as praneshp
=== harlowja is now known as harlowja_away
=== zz_gondoi is now known as gondoi
smoserharlowja_away, i think i just fixed that http://bazaar.launchpad.net/~smoser/cloud-init/os-vd-cleanup/revision/101314:41
JayFlooking at that now smoser 16:34
JayFthe vd merge req from late yesterday afternoon16:34
=== harlowja_away is now known as harlowja
harlowjasmoser checking17:09
smoserJayF, the idea would be to keep the _pure available, and we'd read the networking information from there as it would not be under cloud-init. 17:10
harlowjasmoser looks good17:11
JayFyou know how I said I was looking at it17:11
harlowjathose the root types u wanted, no numbers and such i guess 17:11
JayFwhat I meant was I opened it in a tab and got distracted for 40m17:11
JayFhe17:11
JayF*heh17:11
JayFIs there a way in LP to view a diff of a branch vs the master?17:12
JayFor do I have to pull that revision down to see a diff17:12
smoserJayF, you have to propose it for mergint. 17:13
smoserJayF, http://paste.ubuntu.com/8320474/17:14
JayFsmoser: lgtm -- so the idea is that I can add a hook, that checks to see if self.vendordata_pure is a dict, and if so, if it contains vd['network_magic_string'] and if so, take that data and do things with it17:16
smoserJayF, yeah. the "hook" is already there really17:18
smoseryou'll just improve the code that does it for 'interaces'17:19
smoserresults['network_config'] = self._read_content_path(net_item)17:19
smoserthat stuff17:19
smoserin cloudinit/sources/helpers/openstack.py17:19
JayFmakes sense17:19
=== gondoi is now known as zz_gondoi
=== zz_gondoi is now known as gondoi

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