{"action":"created","issue":{"url":"https://api.github.com/repos/CESNET/netopeer/issues/60","labels_url":"https://api.github.com/repos/CESNET/netopeer/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/CESNET/netopeer/issues/60/comments","events_url":"https://api.github.com/repos/CESNET/netopeer/issues/60/events","html_url":"https://github.com/CESNET/netopeer/issues/60","id":113733191,"number":60,"title":"Question: I want to implement like cisco the \"Extended NETCONF Operations\" ","user":{"login":"JackLIN-F","id":12999678,"avatar_url":"https://avatars.githubusercontent.com/u/12999678?v=3","gravatar_id":"","url":"https://api.github.com/users/JackLIN-F","html_url":"https://github.com/JackLIN-F","followers_url":"https://api.github.com/users/JackLIN-F/followers","following_url":"https://api.github.com/users/JackLIN-F/following{/other_user}","gists_url":"https://api.github.com/users/JackLIN-F/gists{/gist_id}","starred_url":"https://api.github.com/users/JackLIN-F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackLIN-F/subscriptions","organizations_url":"https://api.github.com/users/JackLIN-F/orgs","repos_url":"https://api.github.com/users/JackLIN-F/repos","events_url":"https://api.github.com/users/JackLIN-F/events{/privacy}","received_events_url":"https://api.github.com/users/JackLIN-F/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-28T02:58:47Z","updated_at":"2015-10-29T10:18:53Z","closed_at":null,"body":"Hi~\r\nAs title ~ \r\nhttp://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/nx-os/xml/user/guide/nxos_xml_interface/using.html\r\n\r\nHow to implement the function? \r\nThanks,\r\nJLin\r\n\r\nExample 1-10 Configuration CLI Commands Sent Through <exec-command>\r\n <?xml version=\"1.0\"?>\r\n  <nf:rpc xmlns:nf=\"urn:ietf:params:xml:ns:netconf:base:1.0\" \r\n   xmlns:nxos=\"http://www.cisco.com/nxos:1.0\" message-id=\"3\">\r\n    <nxos:exec-command>\r\n       <nxos:cmd>conf t ; interface ethernet 2/1 </nxos:cmd>\r\n       <nxos:cmd>channel-group 2000 ; no shut; </nxos:cmd>\r\n    </nxos:exec-command>\r\n </nf:rpc>]]>]]>\r\n"},"comment":{"url":"https://api.github.com/repos/CESNET/netopeer/issues/comments/152136751","html_url":"https://github.com/CESNET/netopeer/issues/60#issuecomment-152136751","issue_url":"https://api.github.com/repos/CESNET/netopeer/issues/60","id":152136751,"user":{"login":"michalvasko","id":12510224,"avatar_url":"https://avatars.githubusercontent.com/u/12510224?v=3","gravatar_id":"","url":"https://api.github.com/users/michalvasko","html_url":"https://github.com/michalvasko","followers_url":"https://api.github.com/users/michalvasko/followers","following_url":"https://api.github.com/users/michalvasko/following{/other_user}","gists_url":"https://api.github.com/users/michalvasko/gists{/gist_id}","starred_url":"https://api.github.com/users/michalvasko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalvasko/subscriptions","organizations_url":"https://api.github.com/users/michalvasko/orgs","repos_url":"https://api.github.com/users/michalvasko/repos","events_url":"https://api.github.com/users/michalvasko/events{/privacy}","received_events_url":"https://api.github.com/users/michalvasko/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T10:18:53Z","updated_at":"2015-10-29T10:18:53Z","body":"Hi,\r\n\r\nI have problems understanding what you are trying to do. If you want to implement you own RPC (none of edit-config, get-config, ...), it is quite simple (look at the **turing** or **cfgsystem** transAPI module implementation). If you need a custom data store (not using an XML file for storing the configuration) for some reason then I suggest you wait for *libnetconf2*. It will still take some time, but implementing a custom data store with the current *libnetconf* is difficult, to put it mildly.\r\n\r\nRegards,\r\nMichal"}}