Ask Your Question

allowed address pair delete

asked 2016-06-23 05:22:23 -0600

fresher gravatar image

I have an openstack juno setup. How can I delete the IP added to a VM using allowed address pair.

I did neutron port-update c2dad3ae-c545-447e-b75a-ed4568d25c89 --allowed_address_pairs action=clear


curl -i -X PUT -H "X-Auth-Token: $Token" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient" -d '{"port": {"allowed_address_pairs": []}}'
HTTP/1.1 401 Unauthorized
Www-Authenticate: Keystone uri=''
Content-Type: text/plain
X-Openstack-Request-Id: req-24111548-7719-484e-ac20-cf2ab1d6eadf
Content-Length: 23
Date: Thu, 23 Jun 2016 09:51:16 GMT

Both did not work. Please guide me in this regard.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-09-23 01:37:50 -0600

You have to use --no-allowed-address-pairs option instead.

neutron port-update c2dad3ae-c545-447e-b75a-ed4568d25c89 --no-allowed-address-pairs
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-06-23 05:22:23 -0600

Seen: 3,111 times

Last updated: Sep 23 '16