G.4 After a VM Instance has been Booted: Allowed Address Pairs
# neutron port-update <Port ID> --allowed_address_pairs list=true type=dict ip_address=<VIP address to be added>
Where the bolded items have the following meaning:
- <Port ID>
Identifies the ID of the port within Neutron which can be determined by listing the ports,
neutron port-list
, or if the port is named then the port ID can be obtained directly in the above command with a sequence like$ (neutron port-show –f value –F id <Port Name>)
to replace the <Port ID> placeholder. - <VIP address to be added>
Identifies the IP address, a virtual IP address in this case, that should additionally be associated with the port where this can be a single IP address, for example, 10.133.97.135/32, or a range of IP addresses as indicated by a value such as 10.133.97.128/30.
# neutron port-update 8a440d3f-4e5c-4ba2-9e5e-7fc942111277 --allowed_address_pairs list=true type=dict ip_address=10.133.97.136/30