as new features exposed with new CLI commands were
available over NETCONF right away; at the same time,
this brought all the drawbacks of CLI to network
automation, including unstructured data and vendor-
specific and proprietary CLI commands. YANG was
created as a standard way to define common data models
for NETCONF.
NETCONF provides a set of operations to manage device
configurations and retrieve status information. These
operations include retrieving, configuring, copying, and
deleting configuration data stores and retrieving
operational data. Depending on the NETCONF
capabilities that are advertised by a device, additional
operations can be supported. Table 12-2 shows a
common set of NETCONF operations.
Table 12-2 NETCONF Operations
OperationDescription
<get> Retrieve running configuration and device state
information
<get-
config>
Retrieve all or part of the specified
configuration data store
<edit-
config>
Load all or part of a configuration to the
specified configuration data store
<copy-
config>
Replace an entire configuration data store with
another
<delete-
config>
Delete a configuration data store