yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #46998
[Bug 1537734] Re: Users cannot clear allowed address pairs from a port via --action=clear parameter from neutronclient
Reviewed: https://review.openstack.org/273018
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8052c3985325e9067d83496936092ee9334df75b
Submitter: Jenkins
Branch: master
commit 8052c3985325e9067d83496936092ee9334df75b
Author: Kevin Benton <blak111@xxxxxxxxx>
Date: Wed Jan 27 04:34:54 2016 -0800
Allow address pairs to be cleared with None
When the neutron client attempts to clear the allowed
address pairs using the '--action=clear' CLI param, it
sends a value of None to the Neutron server for allowed
address pairs. However, the allowed address pairs extension
was only allowing an empty list to clear the pairs.
This patch just converts None to an empty list on allowed
address pairs to be compatible with the client.
APIImpact
Closes-Bug: #1537734
Change-Id: Iba618b3e07bd3bdc202a9577954d7b97c2a5bf09
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1537734
Title:
Users cannot clear allowed address pairs from a port via
--action=clear parameter from neutronclient
Status in neutron:
Fix Released
Bug description:
http://lists.openstack.org/pipermail/openstack-
dev/2016-January/084819.html
It appears that the validator "validate_allowed_address_pairs" does
not take into account the --action=clear parameter that is used to
update a port and remove allowed address pairs.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1537734/+subscriptions
References