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 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 XML data:

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

...