08-02-2017 02:17 AM - edited 03-01-2019 03:56 AM
Can an example of a netconf edit-config request with the no-networking input parameter be provided.
Solved! Go to Solution.
08-02-2017 02:26 AM
Sure.
The NSO-specific options to <edit-config> are defined in nso/4.4.2/src/ncs/yang//tailf-netconf-ncs.yang which has a namespace id "http://tail-f.com/ns/netconf/ncs" . So applying no-networking would look like something like this:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<edit-config>
<target>
<running/>
</target>
<no-networking xmlns="http://tail-f.com/ns/netconf/ncs"/>
<config xmlns="http://tail-f.com/ns/config/1.0">
<devices xmlns="http://tail-f.com/ns/ncs">
<device>
...
08-02-2017 02:26 AM
Sure.
The NSO-specific options to <edit-config> are defined in nso/4.4.2/src/ncs/yang//tailf-netconf-ncs.yang which has a namespace id "http://tail-f.com/ns/netconf/ncs" . So applying no-networking would look like something like this:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<edit-config>
<target>
<running/>
</target>
<no-networking xmlns="http://tail-f.com/ns/netconf/ncs"/>
<config xmlns="http://tail-f.com/ns/config/1.0">
<devices xmlns="http://tail-f.com/ns/ncs">
<device>
...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide