summaryrefslogtreecommitdiffstats
path: root/examples/ncclient/edit_config.py
AgeCommit message (Collapse)AuthorFilesLines
2019-01-23Update ncclient examplesMichal Cmarada1-1/+2
- 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: make validate and commit optionalMarek Gradzki1-4/+6
Change-Id: I9da8729b58500d18c82981284c44ad07bcbee167 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-22examples/ncclient: set default log level to INFOMarek Gradzki1-4/+4
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-08-17HC2VPP-343: enable validation for acl listMarek Gradzki1-0/+43
This patch moves all validation for acl list to VppAclValidator, implementation of Validator interface brought by (HONEYCOMB-431): https://gerrit.fd.io/r/#/c/14022/ To test <validate> RPC, run ncclient tests with: ./edit_config.py acl/copy_config_unsupported-acl-type.xml -v Support for <validate> RPC requres: https://gerrit.fd.io/r/#/c/14040/ Change-Id: Iea591a76022e893f6aaf2a52637f45cadb284e4e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>