Comment 2 for bug 1708316

Revision history for this message
Jonghan (forhim-park) wrote :

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"}
  ]
}