Update Node Details using MD-SAL

asked 2015-05-19 06:52:14 -0700

bsvTag gravatar image

Hi, Is it possible to update generic node information,like description, hardware or manufacturer using PUT /restconf/operational/opendaylight-inventory:nodes/node/ endpoint? As I understand, it's possible, but every time I try to do this, the response is 200, but operational data is not updated. Here is my request:

PUT /restconf/config/opendaylight-inventory:nodes/node/openflow:108556646647878 HTTP/1.1
Host: xxx.xxx.xxx.xx:8181
Authorization: Basic YWRtaW46YWRtaW4=
Accept: application/xml
Content-Type: application/xml
Cache-Control: no-cache

<node xmlns="urn:opendaylight:inventory">
<id>openflow:108556646647878</id>
<description xmlns="urn:opendaylight:flow:inventory">Test</description>
</node>

As I remember, correspondent AD-SAL API worked as expected, but I might be wrong.

edit retag flag offensive close merge delete