Configuring an Open Config Network Instance
YANG
Copy
Edit-config: <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101"> <edit-config> <target> <running/> </target> <config> <network-instances xmlns="http://openconfig.net/yang/network-instance"> <network-instance> <name>vrf10</name> </network-instance> </network-instances> </config> </edit-config> </rpc> Response: <rpc-reply xmlns:if="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nfcli="http://www.cisco.com/nxos:1.0:nfcli" xmlns:nxos="http://www.cisco.com/nxos:1.0" xmlns:vlan_mgr_cli="http://www.cisco.com/nxos:1.0:vlan_mgr_cli" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:196889d8-4f8e-4a5d-99c4-f2dd1a012c41"> <ok/> </rpc-reply>