Re: [openstack-dev] [congress] table with named parameters in rule's left side ?

2015-06-11 Thread Tim Hinrichs
Hi Radek, 1. You can't use column references on any table except those created by a datasource, mainly because Congress doesn't know the name of the columns for those tables. We've kicked around the idea of letting policy-writers declare the column names of any table, but it's trickier than it

[openstack-dev] [congress] table with named parameters in rule's left side ?

2015-06-11 Thread Pospisil, Radek
Hello, Is it possible to have named parameters on rule's left side, for example: 1. predeploy_modify(eid,oid,add_property,5, name=image, value=pvalue) :- Glancev2:images(name=pvalue,...) 2. predeploy_modify(eid,oid,add_object, 10, type=monitoring, port=8190, path=/aa/bb) :-

Re: [openstack-dev] [congress] table with named parameters in rule's left side ?

2015-06-11 Thread Pospisil, Radek
List (not for usage questions) Subject: Re: [openstack-dev] [congress] table with named parameters in rule's left side ? Hi Radek, 1. You can't use column references on any table except those created by a datasource, mainly because Congress doesn't know the name of the columns for those tables