Hello,
While trying to perform a modification of a ConfD 6.3 example linuxcfg with NETCONF (call done using YDK and Crud service) - I am getting an error after a commit.
Modfication of a config:
"<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<target>
<candidate/>
</target>
<error-option>rollback-on-error</error-option>
<config><interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" nc:operation="merge">
<interface nc:operation="merge">
<name>enp0s8</name>
<type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:gigabitEthernet</type>
<enabled>true</enabled>
</interface>
</interfaces>
</config>
</edit-config>
</rpc>"
It is accepted by ConfD:
"<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="3">
<ok/>"
Then crud tries to commit:
"<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="4">
<commit/>
</rpc>"
And it fails:
"<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="4"><rpc-error>
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-path xmlns:sys="urn:ietf:params:xml:ns:yang:ietf-system">
/sys:system/sys:contact
</error-path><error-message xml:lang="en">application error</error-message><error-info><bad-element>contact</bad-element>
</error-info>
</rpc-error>
</rpc-reply>"