Netconf Sessions and Operations
A Netconf session is the logical connection between a network configuration application and a network device. A device should be capable of supporting multiple sessions and atleast one Netconf session.
Characteristics of a netconf session:
-
Netconf is connection-oriented - SSH is the underlying transport.
-
The netconf client establishes session with the server.
-
Netconf sessions are established with the hello message. Features and capabilities are announced.
-
Sessions can be terminated using the close or kill messages.
Basic Netconf operations:
-
Get configuration <get-config>
-
Get all information <get>
-
Edit configuration <edit-config>
-
Copy configuration <copy-config>
Note
<copy-config> does not support source attribute with “data store” at present.
-
<lock>, <unlock>
-
<kill-session>
-
<close-session>
-
Commit configuration <commit>