* eval() was previously used to marshall unchecked strings as
filter parameters for QuantumDbPluginV2.get_ports() via
the --fixed_ips flag.
* This change removes the use of eval and cleans up the filtering implementation for get_ports().
* The new filtering implementation does not support arbitrary
OR'ing or AND'ing. Instead, multiple values for a given filter
key are logically OR'ed, and filters across keys are AND'ed.
* Example usage - filter for .2 or .3 in the given subnet:
Reviewed: https:/ /review. openstack. org/13257 github. com/openstack/ quantum/ commit/ eb7f6b7fbe97d49 29093894968d398 35cfff4254
Committed: http://
Submitter: Jenkins
Branch: milestone-proposed
commit eb7f6b7fbe97d49 29093894968d398 35cfff4254
Author: Salvatore Orlando <email address hidden>
Date: Tue Sep 18 18:27:00 2012 -0700
Removed eval of unchecked strings.
* eval() was previously used to marshall unchecked strings as V2.get_ ports() via
implementation for get_ports().
filter parameters for QuantumDbPlugin
the --fixed_ips flag.
* This change removes the use of eval and cleans up the filtering
* The new filtering implementation does not support arbitrary
OR'ing or AND'ing. Instead, multiple values for a given filter
key are logically OR'ed, and filters across keys are AND'ed.
* Example usage - filter for .2 or .3 in the given subnet:
quantum port-list -- --fixed_ips ip_address=10.0.0.3 \
ip_ address= 10.0.0. 2 subnet_ id=nOtaRealId
* Addresses bug 1052179
Change-Id: I451f33ae53e623 f86015b3fc2e6a7 ca2f51ee836