SR OS supports several datastores including the following standard datastores:
<running>
<candidate>
<startup>
<intended>
Some NETCONF functions use data from <url> locations.
For additional details about datastores, see Datastores and regions.
The supported datastores can be obtained through the ‟/yang-library” state data model that contains a list of supported datastores, as defined in RFC 8525.
The :candidate capability is advertised in the SR OS NETCONF server <hello> as:
<capability>urn:ietf:params:netconf:capability:candidate:1.0</capability>
Configuration changes (using the Nokia SR OS YANG data models) made to the <candidate> datastore take effect after a successful <commit> operation.
The <intended> datastore is a read-only datastore that represents the configuration after configuration transformations (such as configuration group expansion) to <running> are performed.
The <startup> datastore and <url> can only be used with <copy-config> and <delete-config> and are not supported with any other operations (including <edit-config>, <get-config>, <get>, <validate>, and so on).
The :startup capability is advertised in the SR OS NETCONF server <hello> as:
<capability>urn:ietf:params:netconf:capability:startup:1.0</capability>
The <url> supports the same options as CLI <file-url>: local urls (CF) and remote urls (ftp and tftp).
The :url capability is advertised in the SR OS NETCONF server <hello> as:
<capability>urn:ietf:params:netconf:capability:url:1.0?scheme=ftp,tftp,file</capability>
The following examples show the format of each URL scheme:
<url>ftp://name:passwd@IP_ADDRESS/myfiles/myfile.cfg</url>
<url>tftp://name:passwd@IP_ADDRESS/myfiles/myfile.cfg</url>
<url>file:///cf3:/myfiles/myfile.cfg</url>
<url>cf3:/myfiles/myfile.cfg</url>
BOF (Boot Options File) is a separate configuration region, and configuration over NETCONF can be performed using the Nokia SR OS YANG models.
Debug configuration (such as debug mirrors, or any debug configuration saved with admin save debug) is not available as a configuration region.
Lawful Intercept (LI) is a separate configuration region, and configuration over NETCONF can be performed using the Nokia SR OS YANG models (including configuring any LI log-ids needed to subscribe/receive LI NETCONF notifications). The same user permissions apply using NETCONF as with MD-CLI (in other words, only LI users can access LI data).
The <candidate> datastore supports the XML content layer only.