Skip to content

Commit b10991e

Browse files
committed
[#3198] change --edit to --import in docs
to avoid ambiguities caused by the merge operation in sysrepocfg --edit
1 parent d87a3e0 commit b10991e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/sphinx/arm/ext-netconf.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ To populate this new configuration:
835835

836836
.. code-block:: console
837837
838-
$ sysrepocfg -d startup -f xml -m kea-dhcp6-server --edit=startup.xml
838+
$ sysrepocfg -d startup -f xml -m kea-dhcp6-server --import=startup.xml
839839
840840
:iscman:`kea-netconf` pushes the configuration found in the Sysrepo startup
841841
datastore to all Kea servers during its initialization phase, after it
@@ -900,7 +900,7 @@ It is directly rejected by ``sysrepocfg``:
900900

901901
.. code-block:: console
902902
903-
$ sysrepocfg -d running -f xml -m kea-dhcp6-server --edit=BAD-schema.xml
903+
$ sysrepocfg -d running -f xml -m kea-dhcp6-server --import=BAD-schema.xml
904904
905905
In the second case, the configuration is rejected by :iscman:`kea-netconf`.
906906
For example, consider this ``BAD-translator.xml`` file:
@@ -993,7 +993,7 @@ This configuration is installed by:
993993

994994
.. code-block:: console
995995
996-
$ sysrepocfg -d running -f xml -m kea-dhcp6-server --edit=twopools.xml
996+
$ sysrepocfg -d running -f xml -m kea-dhcp6-server --import=twopools.xml
997997
998998
.. _operation-example-2subnets:
999999

@@ -1036,7 +1036,7 @@ This configuration is installed by:
10361036

10371037
.. code-block:: console
10381038
1039-
$ sysrepocfg -d running -f xml -m kea-dhcp6-server --edit=twosubnets.xml
1039+
$ sysrepocfg -d running -f xml -m kea-dhcp6-server --import=twosubnets.xml
10401040
10411041
.. _operation-example-logging:
10421042

@@ -1155,5 +1155,5 @@ are done at the same configuration state and that no change happens between expo
11551155

11561156
.. code-block:: console
11571157
1158-
$ sysrepocfg --datastore running --edit=save.xml
1159-
$ sysrepocfg --datastore startup --edit=save.xml
1158+
$ sysrepocfg --datastore running --import=save.xml
1159+
$ sysrepocfg --datastore startup --import=save.xml

0 commit comments

Comments
 (0)