This is the JSON data when VM has two ports for connecting different networks :
"addresses": { "nfs_mgmt": [ {"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:f3:ba:c0", "version": 4, "addr": "128.0.0.2", "OS-EXT-IPS:type": "fixed"} ], "public_network": [ {"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:31:52:c5", "version": 4, "addr": "10.251.214.52", "OS-EXT-IPS:type": "fixed"} ] }
So I think the JSON data should be like below:
"addresses": { "testnet1_35cb3d55-cd": [ {"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:65:83:12", "version": 4, "addr": "192.168.0.12", "OS-EXT-IPS:type": "fixed"} ], "testNetwork_f8fad107-4a" : [ {"OS-EXT-IPS-MAC:mac_addr": "fa:16:3e:7c:67:72", "version": 4, "addr": "192.168.0.1", "OS-EXT-IPS:type": "fixed"} ] }
This is the JSON data when VM has two ports for connecting different networks :
"addresses": { "OS-EXT- IPS-MAC: mac_addr" : "fa:16: 3e:f3:ba: c0", "version": 4, "addr": "128.0.0.2", "OS-EXT-IPS:type": "fixed"} network" : "OS-EXT- IPS-MAC: mac_addr" : "fa:16: 3e:31:52: c5", "version": 4, "addr": "10.251.214.52", "OS-EXT-IPS:type": "fixed"}
"nfs_mgmt":
[
{
],
"public_
[
{
]
}
So I think the JSON data should be like below:
"addresses": { 35cb3d55- cd": IPS-MAC: mac_addr" : "fa:16: 3e:65:83: 12", "version": 4, "addr": "192.168.0.12", "OS-EXT-IPS:type": "fixed"} f8fad107- 4a" : IPS-MAC: mac_addr" : "fa:16: 3e:7c:67: 72", "version": 4, "addr": "192.168.0.1", "OS-EXT-IPS:type": "fixed"}
"testnet1_
[
{"OS-EXT-
],
"testNetwork_
[
{"OS-EXT-
]
}