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


_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to