Ask Your Question
1

allowed address pair delete

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

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

and

curl -i http://10.129.2.57:9696/v2.0/ports/c2dad3ae-c545-447e-b75a-ed4568d25c89.json -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='http://10.129.2.57:5000/'
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
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 2,229 times

Last updated: Sep 23 '16