This group is locked. No changes can be made to the group while it is locked.
Re: restconf/mdsal wildcard queries
Tony Tkacik -X (ttkacik - PANTHEON TECHNOLOGIES@Cisco) <ttkacik@...>
Hi Sam,toggle quoted messageShow quoted text
We are planning to indroduce some support of queries and filtering in MD-SAL
And hopefully also NETCONF and RESTCONF (this is tracked by https://bugs.opendaylight.org/show_bug.cgi?id=2300)
I added to bug report your use-case so we would consider it during design
of filtering and queries.
I plan to post soon draft release plans for yangtools, md-sal, netconf (and restconf included) so we can move conversation forward.
From: Sam Hague [mailto:shague@...]
Sent: Monday, July 06, 2015 10:35 PM
To: Tony Tkacik -X (ttkacik - PANTHEON TECHNOLOGIES at Cisco); ovsdb-dev; Robert Varga -X (rovarga - PANTHEON TECHNOLOGIES at Cisco)
Subject: restconf/mdsal wildcard queries
Anil mentioned there is a possibility to add wildcard queries to mdsal? Is that a feature that can be added for Be?
The idea is to be able to search for something using a field in the model that is not a key. For instance, the ovsdb.yang imports the network-topology and adds a Node to the datastore. The model augments the node to include ip-addresses. We would like the ability to issue a restconf query to return the node with that ip-address.
Today to do this we would implement an RPC to terminate in our backend code. Then retrieve all the Nodes in the datastore, loop over them and look for the specific matching data. We figure this is a common block of code that might be able to be implemented in the mdsal itself.