Python ncclient returns RPCError: Unsupported capability :candidate when editing config of devnet ios xe

162 Views Asked by At

The xml conf:

    <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">  
       <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
          <interface>
            <name>Loopback138</name>
            <description>TEST_SPSJM</description>
            <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:softwareLoopback</type>
            <enabled>true</enabled>
          </interface>
      </interfaces>
    </config>

ncclient cmd:

nc_manager.edit_config(conf, default_operation="merge")

response:

RPCError: Unsupported capability :candidate

while getting interfaces with the ietf-interfaces yang works fine.

0

There are 0 best solutions below