summaryrefslogtreecommitdiffstats
path: root/examples/ncclient
AgeCommit message (Collapse)AuthorFilesLines
2019-01-23Update ncclient examplesMichal Cmarada36-593/+1057
- 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: various readme fixesMarek Gradzki1-5/+5
- fix link to honeycomb <validate> implementation - fix paths in the examples Change-Id: Ifa72c4f7dbff67fe090ddbc3a67bd94f587b65a3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-22examples/ncclient: update copyright informationMarek Gradzki11-62/+60
This patch: - removes copyright information from config XML files The change is required due to ncclient bug. If <config> embeded in <copy-config> request contains '://', then it is treated as URL and included in <url> node before sending to NETCONF server. - updates licence to Apache 2.0 in other XML files. Change-Id: I526de3c1beee6ff4cb255481fc01608beea159ff Signed-off-by: Marek Gradzki <mgradzki@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 Gradzki4-11/+11
Change-Id: I959045c8d7ec16291f7144c572faea06cf1ad433 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-22examples/ncclient: update Readme.adoc after bump to Oxygen SR3Marek Gradzki1-14/+39
Patches, that fixes issues with ncclient compatibility, are inclded in Oxygen SR3, so ncclient section can be removed. Detailed information about NETCONF improvements in future ODL versions was added. Change-Id: I33c5013f106fcf5cff3216a723e7670b360d404f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-22examples: add ncclient examples of URL capabilityMarek Gradzki7-7/+67
Change-Id: Icf3bfc331548d1e0f1862bf87615f7c03a24780a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-21examples/ncclient: <copy-config> example of bridge domain configurationMarek Gradzki4-0/+115
Change-Id: I66bf46a953ff40a6937fa77bfe58fa3ee179ed24 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-21examples/ncclient: update readme with <validate> exampleMarek Gradzki11-35/+46
Change-Id: Id5aa173292d00aee0dd37d0853d46cb98e2cce05 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-21examples: convert ncclient Readme to adocMarek Gradzki1-19/+47
Change-Id: Ida137d00b51a480e4f27950cc9bbc609f4782efd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-21examples: add verbose option to ncclient scriptsMarek Gradzki4-8/+32
Change-Id: I42f1efed55072ec9885dda2a9dcd3c8d85980d8f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-21Adapt ncclient examples to 18.07 ietf-nat model changesMarek Gradzki8-201/+220
The ietf-nat model was updated by HC2VPP-226 and HC2VPP-367. Change-Id: I1bf8bfdbc0a106c933a565b5f11032e802598fbb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-08-17HC2VPP-343: enable validation for acl listMarek Gradzki3-0/+76
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>
2018-06-27examples/ncclient: fix repo linkMarek Gradzki1-1/+1
Change-Id: If9b2f1d8fd22b7e9df3069dd65e7db2900027a92 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-06-27examples/ncclient: use ncclient repo instead of forkMarek Gradzki1-1/+1
There is no need for using fork after support for <config> was merged: https://github.com/ncclient/ncclient/pull/232 Change-Id: I0bd4a1ce6c4263228771ae3a74e298640a0c2a40 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-02examples/ncclient: update Readme.txt with more detailed instructionsMarek Gradzki1-4/+22
Change-Id: If22b47736937428b1aa84105ba589f53be8d35fa Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-02HC2VPP-313: <copy-config> examples using nnclient libraryMarek Gradzki18-0/+1530
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)