Hello,
Following some debugging for EGI-Federation/cloud-info-provider#149 it seems that information about ad:traffic_our and ad:traffin_in image attributes is rubyfied.
In https://vmcaster.appdb.egi.eu/store/vappliance/scipion.v1.0/image.list it's expressed as a JSON dict:
"ad:traffic_in": [
{
"ad:net_protocol": "tcp",
"ad:net_port": "8000:8000",
"ad:net_range": "0.0.0.0/0"
}
],
And once it went through cloudkeeper and cloudkeeper-os it's recorded like this in OpenStack, as a string of a somewhat rubyfied hash (with weird : before the keys):
[{:“ad:net_protocol”=>“tcp”, :“ad:net_port”=>“8000:8000", :“ad:net_range”=>“0.0.0.0/0"}]
Looking at https://github.com/the-cloudkeeper-project/cloudkeeper-os/blob/master/cloudkeeper_os/utils.py#L90 it seems that it more something that may be done by cloudkeeper itself.
Could you please have a look?
Hello,
Following some debugging for EGI-Federation/cloud-info-provider#149 it seems that information about
ad:traffic_ourandad:traffin_inimage attributes is rubyfied.In https://vmcaster.appdb.egi.eu/store/vappliance/scipion.v1.0/image.list it's expressed as a JSON dict:
And once it went through cloudkeeper and cloudkeeper-os it's recorded like this in OpenStack, as a string of a somewhat rubyfied hash (with weird
:before the keys):Looking at https://github.com/the-cloudkeeper-project/cloudkeeper-os/blob/master/cloudkeeper_os/utils.py#L90 it seems that it more something that may be done by
cloudkeeperitself.Could you please have a look?