Netopeer is a set of NETCONF tools built on the libnetconf library.
It has single level server, multiple level server, and cli to use.
Basically I think if we don't try, we won't truly understand what NETCONF/YANG look like and how it works. During the compilation and setup, I encounter some problems, but I find the following information that save me a lot of time to do trouble shooting.
Here is a URL about how to setup Netopeer server and to use it with cli.
http://seguesoft.com/how-to-set-up-netopeer-server-to-use-with-netconfc
This URL provides a lot of YANG Modules and examples to refer:
http://www.netconfcentral.org/
Showing posts with label NETCONF. Show all posts
Showing posts with label NETCONF. Show all posts
Wednesday, November 5, 2014
Wednesday, March 12, 2014
[NETCONF] The summary of NETCONF Content
The following content is about the summary of the NET-CONF web site:
http://www.netconfcentral.org/netconf_docs
Session Initiation For Clients
<?xml version="1.0" encoding="UTF-8"?> <hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <capabilities> <capability>urn:ietf:params:netconf:base:1.0</capability> </capabilities> </hello>]]>]]>
Protocol Capabilities
<capability>
urn:ietf:params:netconf:capability:writable-running:1.0
</capability>
<capability>urn:ietf:params:netconf:base:1.0</capability>
<capability> urn:ietf:params:netconf:capability:writable-running:1.0 </capability>
<capability>urn:ietf:params:netconf:base:1.0</capability>
Standard Capabilities
:candidate
:confirmed-commit
:interleave
:notification
:partial-lock
:rollback-on-error
:startup
:url
:validate
:writable-running
:xpath
Configuration Databases
<running/>
<candidate/>
<startup/>
Protocol Operations
Once a NETCONF session is established, the client knows which capabilities the server supports. The client then can send RPC method requests and receive RPC replies from the server. The server's request queue is serialized, so requests will be processed in the order received.
Operation | Usage | Description |
close-session | :base | Terminate this session |
commit | :base AND :candidate | Commit the contents of the <candidate/> configuration database to the <running/> configuration database |
copy-config | :base | Copy a configuration database |
create-subscription | :notification | Create a NETCONF notification subscription |
delete-config | :base | Delete a configuration database |
discard-changes | :base AND :candidate | Clear all changes from the <candidate/> configuration database and make it match the <running/> configuration database |
edit-config | :base | Modify a configuration database |
get | :base | Retrieve data from the running configuration database and/or device statistics |
get-config | :base | Retrieve data from the running configuration database |
kill-session | :base | Terminate another session |
lock | :base | Lock a configuration database so only my session can write |
unlock | :base | Unlock a configuration database so any session can write |
validate | :base AND :validate | Validate the entire contents of a configuration database |
http://www.netconfcentral.org/slides/netconf/netconf_tutorial.html
NETCONF and Yang
https://www.ietf.org/proceedings/75/slides/opsarea-5.pdf
http://www.slideshare.net/cmoberg/a-30minute-introduction-to-netconf-and-yang
http://packetpushers.net/using-netconf-yang-to-configure-network-devices-and-why-it-does-not-replace-snmp/
http://packetpushers.net/using-netconf-yang-to-configure-network-devices-and-why-it-does-not-replace-snmp/
NETCONF and Yang
https://www.ietf.org/proceedings/75/slides/opsarea-5.pdf
http://www.slideshare.net/cmoberg/a-30minute-introduction-to-netconf-and-yang
http://packetpushers.net/using-netconf-yang-to-configure-network-devices-and-why-it-does-not-replace-snmp/
http://packetpushers.net/using-netconf-yang-to-configure-network-devices-and-why-it-does-not-replace-snmp/
Subscribe to:
Posts (Atom)