netopeer2
netopeer2 copied to clipboard
Some incomprehensible behavior when using a --defop=replace (netopeer2 version = 2.1.49)
Some incomprehensible behavior when using a --defop=replace with xml below:
<user-plane-configuration xmlns="urn:o-ran:uplane-conf:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">
<static-srs-configurations nc:operation="delete"/>
</user-plane-configuration>
On netopeer-server side:
Nov 03 12:19:12 ... netopeer2-server[3034]: Published event "rpc" "/ietf-netconf:edit-config" with ID 1 priority 0 for 1 subscribers.
Nov 03 12:19:12 ... netopeer2-server[3034]: Processing "/ietf-netconf:edit-config" "rpc" event with ID 1 priority 0 (remaining 1 subscribers).
Nov 03 12:19:12 ... netopeer2-server[3034]: edit-config error-option "stop-on-error" not supported, rollback-on-error will be performed.
Nov 03 12:19:12 ... audit[3034]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3034 comm="netopeer2-serve" exe="/usr/sbin/netopeer2-server" sig=11 res=1
Nov 03 12:19:12 ... kernel: audit: type=1701 audit(1698994152.132:2): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3034 comm="netopeer2-serve" exe="/usr/sbin/netopeer2-server" sig=11 res=1
On netopeer2-cli side:
> edit-config --target=running --config=/root/test/test.xml --defop=replace
nc ERROR: SSH channel poll error (Socket error: disconnected).
cli_send_recv: Failed to receive a reply.
While with --defop=merge it works as expected.