Add simple query filter parser
authorMichael Hanselmann <hansmi@google.com>
Fri, 19 Nov 2010 19:41:26 +0000 (20:41 +0100)
committerMichael Hanselmann <hansmi@google.com>
Mon, 29 Nov 2010 20:00:24 +0000 (21:00 +0100)
commita123dc19f1b8739dd03908267951bcfd220ed01b
treebc80860ecb700175bd5e0000ae4026be12981322
parent4ca96421fec4df6494d6c999626e70164a04c44b
Add simple query filter parser

This parser reads only the format described by the query2
design document: either an empty filter or an OR operator
with equality checks as operands.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Makefile.am
lib/qlang.py [new file with mode: 0644]
test/ganeti.qlang_unittest.py [new file with mode: 0755]