When we execute neutron port-update, new instance-ip is created and attached to existing VMI.
root@contrail-01:~# neutron port-update 5588a691-9695-4a02-b72d-5338b869f866 --fixed-ips type=dict {ip_address=10.1.0.23,subnet_id=b966187e-bde7-42a9-b15b-3473e68e06dd}
Updated port: 5588a691-9695-4a02-b72d-5338b869f866
When we execute neutron port-update, new instance-ip is created and attached to existing VMI. 9695-4a02- b72d-5338b869f8 66 --fixed-ips type=dict {ip_address= 10.1.0. 23,subnet_ id=b966187e- bde7-42a9- b15b-3473e68e06 dd} 9695-4a02- b72d-5338b869f8 66
root@contrail-01:~# neutron port-update 5588a691-
Updated port: 5588a691-
root@console:~# ./Documents/ python_ test/Contrail_ json.py -d virtual- machine- interface/ 5588a691- 9695-4a02- b72d-5338b869f8 66 machine- interface" : {
"display_ name": "5588a691- 9695-4a02- b72d-5338b869f8 66",
"default- domain" ,
"unregard1 ",
"5588a691- 9695-4a02- b72d-5338b869f8 66" 172.27. 113.202: 8082/virtual- machine- interface/ 5588a691- 9695-4a02- b72d-5338b869f8 66",
"created" : "2015-12- 17T04:05: 18.153750" ,
"creator" : null,
"descripti on": null,
"enable" : true,
"last_ modified" : "2015-12- 21T05:27: 03.367422" ,
"permissio ns": {
"group" : "admin",
"group_ access" : 7,
"other_ access" : 7,
"owner" : "admin",
"owner_ access" : 7
"user_ visible" : true,
"uuid_ lslong" : 131992975859700 18406,
"uuid_ mslong" : 6163359234283358722
"instance_ ip_back_ refs": [
"attr" : null,
"href" : "http:// 172.27. 113.202: 8082/instance- ip/447a6191- d582-4c8e- 9d58-248f656345 23",
"to": [
" 447a6191- d582-4c8e- 9d58-248f656345 23"
"uuid" : "447a6191- d582-4c8e- 9d58-248f656345 23"
"attr" : null,
"href" : "http:// 172.27. 113.202: 8082/instance- ip/94012d38- bbe7-41f7- 851b-2b233e5f1a b9",
"to": [
" 94012d38- bbe7-41f7- 851b-2b233e5f1a b9"
"uuid" : "94012d38- bbe7-41f7- 851b-2b233e5f1a b9" 9695-4a02- b72d-5338b869f8 66",
"parent_ href": "http:// 172.27. 113.202: 8082/project/ 3d4496ba- 5184-4ce4- b28e-6c1885268d 62",
"parent_ type": "project",
"parent_ uuid": "3d4496ba- 5184-4ce4- b28e-6c1885268d 62",
"routing_ instance_ refs": [
"attr" : {
" direction" : "both",
" dst_mac" : null,
" mpls_label" : null,
" protocol" : null,
" service_ chain_address" : null,
" src_mac" : null,
" vlan_tag" : null
"href" : "http:// 172.27. 113.202: 8082/routing- instance/ 1ca0b411- 6955-46c9- b413-46c6d1f4bc d6",
"to": [
" default- domain" ,
" unregard1" ,
" ipchange1" ,
" ipchange1"
"uuid" : "1ca0b411- 6955-46c9- b413-46c6d1f4bc d6"
"security_ group_refs" : [
"attr" : null,
"href" : "http:// 172.27. 113.202: 8082/security- group/32f8679f- 54b4-44d6- a165-6593e15a0b ee",
"to": [
" default- domain" ,
" unregard1" ,
" default"
"uuid" : "32f8679f- 54b4-44d6- a165-6593e15a0b ee" 9695-4a02- b72d-5338b869f8 66",
"virtual_ machine_ interface_ allowed_ address_ pairs": {},
"virtual_ machine_ interface_ device_ owner": "compute:nova",
"virtual_ machine_ interface_ dhcp_option_ list": {},
"virtual_ machine_ interface_ mac_addresses" : {
"mac_ address" : [
"02:55: 88:a6:91: 96"
"virtual_ machine_ interface_ properties" : {},
"virtual_ machine_ refs": [
"attr" : null,
"href" : "http:// 172.27. 113.202: 8082/virtual- machine/ c22a52b9- b7f7-4837- 923d-0da850d302 ac",
"to": [
" c22a52b9- b7f7-4837- 923d-0da850d302 ac"
"uuid" : "c22a52b9- b7f7-4837- 923d-0da850d302 ac"
"virtual_ network_ refs": [
"attr" : null,
"href" : "http:// 172.27. 113.202: 8082/virtual- network/ d7816f14- 85e6-4efb- b211-5b61d677e7 ce",
"to": [
" default- domain" ,
" unregard1" ,
" ipchange1"
"uuid" : "d7816f14- 85e6-4efb- b211-5b61d677e7 ce"
{
"virtual-
"fq_name": [
],
"href": "http://
"id_perms": {
},
"uuid": {
}
},
{
],
},
{
],
}
],
"name": "5588a691-
{
},
],
}
],
{
],
}
],
"uuid": "5588a691-
]
},
{
],
}
],
{
],
}
]
}
}