A.4.5 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>
- <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.
For example: To indicate to Neutron that the allowed addresses for a port should include the range of addresses between 10.133.97.136 to 10.133.97.139 and the port had an ID of 8a440d3f-4e5c-4ba2-9e5e-7fc942111277 then runthe following command:# neutron port-update 8a440d3f-4e5c-4ba2-9e5e-7fc942111277 --allowed_address_pairs list=true type=dict ip_address=10.133.97.136/30