Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are two ways to push data into sysrepo.:

  • sysrepocfg: sysrepocfg is the configuration command about sysrepo, you could push init-components data via command like:
Code Block
sysrepocfg --import=init-components.xml --format=xml openconfig-platform

netconf-console

...

: netconf-console is a general Netconf client tool. We can use this command to import config-power XML data:

Code Block
netconf-console --host 127.0.0.1 --port 830 -u root -p root --rpc=/root/script/config-power.xml

...

sysrepo and Netopeer2 provide some useful tools for Netconf testing, however, ouside the docker container, we still recommend netconf-console.. You can find a set of examples here: PowerConfig configuration via ONOS CLI or NetconfThe basic <get> and <merge> <edit-config> operations are executed by the files under directory emulator-test

...

.

1.6.  Notes about modification in yang files under emulator-oc-cassini directory

You can find some notes about modification in yang files under emulator-oc-cassini yang files here in this link