summaryrefslogtreecommitdiffstats
path: root/examples/ncclient/copy_config.py
AgeCommit message (Collapse)AuthorFilesLines
2019-01-23Update ncclient examplesMichal Cmarada1-1/+3
- added optional parameter host for copy_config, get_config and edit-config. - added basic tests for interfaces: - loopback interface - af-packet interface - tap interface - added diff_xml.py to find differences between two sets of config. It supports both full xml comparison and comparison based on xPath - added example diff between running and candidate config (interfaces) - fixed formatting and namespaces Change-Id: If6dd7a76fab538735ab92c67f9457326fbcba7ec Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
2018-08-22examples/ncclient: set default log level to INFOMarek Gradzki1-3/+3
Change-Id: I959045c8d7ec16291f7144c572faea06cf1ad433 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-21examples: add verbose option to ncclient scriptsMarek Gradzki1-2/+8
Change-Id: I42f1efed55072ec9885dda2a9dcd3c8d85980d8f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-02HC2VPP-313: <copy-config> examples using nnclient libraryMarek Gradzki1-0/+39
Shows how to configure VPP using nnclient library. Requires following changes to ODL Netconf (HC2VPP-312): - <copy-config> support: https://git.opendaylight.org/gerrit/#/c/69606/ - various fixes to make ODL Netconf compatible with nnclient: https://git.opendaylight.org/gerrit/#/c/71181/ and ncclient library with the following change: https://github.com/marekgr/ncclient/commit/fbc31b06daf114c11dcb6bf1bcfac9127b2e0062 Change-Id: I3dceb8ead6e6f558a3c76f6c1c3b0ba5f7c52f93 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 2e96f3423a2619cd2aa9d188de513723416c15e6)