Hello, I am using ansible to configure my system over ansible. I am making
a get_config query with a filter.
the filter is : config_filter: <filter type="subtree"><configure-system
xmlns="http://www.cdot.in/ns/cdpm-sys"><system-cfg
xmlns="http://www.cdot.in/ns/agent_config/1.0"><cli><banner/></cli></system-cfg></configure-system></filter>
I call the netconf connection module's get_config with the above filter.
At the device I am receiving the following RPC :
<nc:rpc message-id="urn:uuid:6a853fc2-c3a0-4a74-a579-78020ae28270"
xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">
<nc:get-config>
<nc:source>
<nc:running/>
</nc:source>
<filter type="subtree">
<configure-system xmlns="http://www.cdot.in/ns/cdpm-sys">
<system-cfg xmlns="http://www.cdot.in/ns/agent_config/1.0">
<cli>
<banner/>
</cli>
</system-cfg>
</configure-system>
</filter>
</nc:get-config>
</nc:rpc>
I am unable to find at which point exactly are the wrapping tags added.
Also , since namespace (nc:) is not added to the filter tag, the RPC is
failing at the device.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/26d35f34-154b-4764-beba-31079e4a37b6%40googlegroups.com.