[openstack-dev] [nova][neutron] How do you use the instance IP filter?

Tony Breeds tony at bakeyournoodle.com
Fri Oct 27 03:55:09 UTC 2017

On Thu, Oct 26, 2017 at 10:35:47PM -0500, Matt Riedemann wrote:
> On 10/26/2017 9:54 PM, Tony Breeds wrote:
> > Can you use RLIKE/REGEX? or is that too MySQL specific ?
> I thought about that, and my gut response is 'no' because even if it does
> work for mysql, I'm assuming regex pattern matching for postgresql is
> different. And then you have different API behavior between clouds based on
> the backend database they are using, and now we've opened that whole can of
> worms again.

    column.op('rlike')() # Mysql
    column.op('~')() # Pgsql

I have no idea if the regexs themselves would be compatible and of
course there are other RDBMSs

Yours Tony.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20171027/f824c695/attachment.sig>

More information about the OpenStack-dev mailing list