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
I am making a RESTCONF call to the device to update a YANG module's data. For example; I want to update the hostname of the device via the PATCH request below:
It successfully updates the running data-store in the device. However, when I reboot the device, all changes are gone. Because, this RESTCONF call does not update startup data-store in the device. In RFC 8040, there is a passage as follows:
If the NETCONF server supports :startup, the RESTCONF server MUST
automatically update the non-volatile startup configuration
datastore, after the "running" datastore has been altered as a
consequence of a RESTCONF edit operation.
I think, lighty.io should guarantee that changes must be persisted to startup data-store according RFC 8040 spec.
Expected behavior
Any update on device that is made via RESTCONF call must be recorded to startup data-store (if exists) in additional to running data-store. In this way, changes will be permanent.
Environment (please complete the following information):
OS: Mac OS Monterey 12.6
Java Version: 11.0.16
Maven version: 3.6.3
The text was updated successfully, but these errors were encountered:
We assume that this is not a bug in ODL/lighty.io as its device responsibility to maintain its startup datastores.
Please ask your vendor to make the device RFC8040 compliant.
Hi,
Describe the bug
I am making a RESTCONF call to the device to update a YANG module's data. For example; I want to update the hostname of the device via the PATCH request below:
It successfully updates the running data-store in the device. However, when I reboot the device, all changes are gone. Because, this RESTCONF call does not update startup data-store in the device. In RFC 8040, there is a passage as follows:
I think, lighty.io should guarantee that changes must be persisted to startup data-store according RFC 8040 spec.
Thanks.
Branch
15.x
To Reproduce
RESTCONF call:
Expected behavior
Any update on device that is made via RESTCONF call must be recorded to startup data-store (if exists) in additional to running data-store. In this way, changes will be permanent.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: