CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
290 stars 186 forks source link

How to generate netconf-confirmed-commit notification #1548

Open chunlovemail opened 3 months ago

chunlovemail commented 3 months ago

sh-5.1# sysrepoctl -h sysrepoctl - sysrepo YANG schema manipulation tool, compiled with libsysrepo v2.1.84 (SO v7.8.10)

sh-5.1# netopeer2-server -V netopeer2-server 2.1.36

Use netopeer2-cli to connect server and execute "subscribe" to receive notifications. I modify the candidate data and execute "commit --confirm-timeout 120". I can see the "netconf-config-change", but here is NO "netconf-confirmed-commit ",

After this, I execute command "commit --confirmed-commit", there is still NO "netconf-confirmed-commit "

Am my procedure WRONG? or the "netconf-confirmed-commit" notification is NOT support in the laster code?

michalvasko commented 3 months ago

Actually, we have completely missed this notification and it is not implemented and never sent. It is not a priority but I have noted it and we will implement it once there is some spare time, will reply here.

chunlovemail commented 3 months ago

Hi Michalvasko, Thanks for your response, I got it

lePici commented 2 months ago

Sending netconf-confirmed-commit notifications has been implemented. Please try it by updating Netopeer's devel branch.