
This patch changes v3 attach_interface API to v2.1 and makes v2 unit tests share between v2 and v2.1. The differences between v2 and v3 are described on the wiki page https://wiki.openstack.org/wiki/NovaAPIv2tov3. Partially implements blueprint v2-on-v3-api Change-Id: If18676604edc8fea41d7888eb6546245163e91c2
14 lines
402 B
JSON
14 lines
402 B
JSON
{
|
|
"interfaceAttachment": {
|
|
"fixed_ips": [
|
|
{
|
|
"ip_address": "192.168.1.3",
|
|
"subnet_id": "f8a6e8f8-c2ec-497c-9f23-da9616de54ef"
|
|
}
|
|
],
|
|
"mac_addr": "fa:16:3e:4c:2c:30",
|
|
"net_id": "3cb9bc59-5699-4588-a4b1-b87f96708bc6",
|
|
"port_id": "ce531f90-199f-48c0-816c-13e38010b442",
|
|
"port_state": "ACTIVE"
|
|
}
|
|
} |