You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
According to the RFC, I understand that if one can access a resource with GET, then it's a target resource.
I can get the content of a leaf node in a container with GET method, however I cannot delete it via DELETE method via RESTCONF.
Branch
lighty.io branch [14.0.x and 15.0.x]
To Reproduce
Steps to reproduce the behavior:
Setup a netconf server with tailf-d dhcpd yang example
Hello Sezer,
I have verified that issue is present in lighty. Furthermore, I have tested
this issue in ODL Netconf 2.0.9 with netconf-testtool and found out
that same error is present in ODL. I have created and describe your issue
inside ODL Netconf Jira where you can track progress of resolving this problem. https://jira.opendaylight.org/browse/NETCONF-831
Hi Peter,
Thanks for reproducing the issue. I'll be following the ODL issue. I think we should leave this issue open. If it's fixed in the ODL side then we can look forward to having ODL official release in lighty.io release train. Do you have a guess about how long would it take? (I know that ODL gives releases twice a year)
Describe the bug
According to the RFC, I understand that if one can access a resource with GET, then it's a target resource.
I can get the content of a leaf node in a container with GET method, however I cannot delete it via DELETE method via RESTCONF.
Branch
lighty.io branch [14.0.x and 15.0.x]
To Reproduce
Steps to reproduce the behavior:
So I cannot figure out that why it's not working for a leaf node while it's working for the container of the leaf node.
Expected behavior
The data shall be deleted. When I try it with a netconf client and edit configuration as below, it's working properly:
Request:
Response:
Screenshots
Not applicable
Environment (please complete the following information):
Additional context
I come to this point while I was trying Yang-Patch to delete a leaf node. This is another yang module that we are using, but the structure is similar.
Yang-Patch request to: http://localhost:8888/restconf/data/network-topology:network-topology/topology=topology-netconf/node={{node}}/yang-ext:mount/dhcpd-kea:dhcp-kea/subnetscon/subnets={{subnet_uuid}}
Request Body:
Response:
I'm pretty sure that the request body is OK for yang-patch, but again the problem is I cannot DELETE a leaf node in a container.
Appendix example dhcp yang module:
Thanks in advance,
Sezer
The text was updated successfully, but these errors were encountered: