hi Ivan Hraško , thanks for reply
Do u know is it support in Boron-SR3 ? still not working with --- GET http://localhost:8181/restconf/17/data/opendaylight-inventory:nodes/?fields=node(id) --- My WADL file is https://gist.github.com/linarnan/8a5e6ca7c1374eb60cd7aa7359360a1d can't see any url under this form /restconf/17/data/* do u know is there a document descripting how to use Restconf ? can't find one in http://docs.opendaylight.org/en/stable-boron/user-guide/ 2017-05-18 18:11 GMT+08:00 Ivan Hraško <ivan.hra...@pantheon.tech>: > Hi > > > Fields parameter is part of new restconf specification: READ here: > https://tools.ietf.org/html/rfc8040 <https://tools.ietf.org/html/rfc8040> > > > Yo can use it on address: > > > > <http://localhost:8181/restconf/17/data/opendaylight-inventory:nodes/?fields=node(id)>GET > http://localhost:8181/restconf/17/data/ > <http://localhost:8181/restconf/17/data/opendaylight-inventory:nodes/?fields=node(id)> > opendaylight-inventory:nodes/?fields=node(id) > <http://127.0.0.1:8181/restconf/operational/opendaylight-inventory:nodes/?fields=node%28id%29> > > > > <http://127.0.0.1:8181/restconf/operational/opendaylight-inventory:nodes/?fields=node%28id%29> > > Rather use topology instead of inventory. > > > Regards > <http://127.0.0.1:8181/restconf/operational/opendaylight-inventory:nodes/?fields=node%28id%29> > ------------------------------ > *Od:* linarnan <linar...@estinet.com> > *Odoslané:* streda, 17. mája 2017 14:26:27 > *Komu:* controller-dev@lists.opendaylight.org > *Predmet:* [controller-dev] restconf fields > > I trying to use "fields" query parameter through restconf in Boron-SR3 > > like this > > GET http://127.0.0.1:8181/restconf/operational/ > opendaylight-inventory:nodes/?fields=node(id) > > but not working . > > Does it work in inventory-nodes or topology in ODL now ? > > How should use it ? > > > > > > Ivan Hraško > Software Developer > > PANTHEON technologies s.r.o. > Janka Kráľa 9, 974 01 Banská Bystrica > Slovakia > Tel / +421 220 665 111 > > MAIL / ivan.hra...@pantheon.tech > WEB / www.pantheon.tech > > > -- 林建男 Chien-Nan Lin 思銳科技 (06)3125-124#210 台南市永康區中華路 1-72 號 12 樓
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev