diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-04-18 08:19:36 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-05-02 10:00:35 +0000 |
commit | 9f9d2614ff5bd0d2a1729d1793a9bd6ca3def717 (patch) | |
tree | ef26ca2c2b20f58b77244f8dafec75a5f3346e2d /examples/ncclient/Readme.txt | |
parent | 52ca7c2e86cf982bf1cd4aaea8869555fea0aa4a (diff) |
HC2VPP-313: <copy-config> examples using nnclient library
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)
Diffstat (limited to 'examples/ncclient/Readme.txt')
-rw-r--r-- | examples/ncclient/Readme.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/examples/ncclient/Readme.txt b/examples/ncclient/Readme.txt new file mode 100644 index 000000000..7e1c54075 --- /dev/null +++ b/examples/ncclient/Readme.txt @@ -0,0 +1,41 @@ +Building +---------- + +1) Custom ODL Oxygen build: +git clone https://git.opendaylight.org/gerrit/netconf +cd netconf +git checkout -b honeycomb +git reset --hard release/oxygen +# copy-config support: +git fetch https://git.opendaylight.org/gerrit/netconf refs/changes/06/69606/1 && git cherry-pick FETCH_HEAD +# ncclient support: +git fetch https://git.opendaylight.org/gerrit/netconf refs/changes/81/71181/1 && git cherry-pick FETCH_HEAD +mvn clean install -pl netconf/netconf-util,netconf/netconf-netty-util,netconf/mdsal-netconf-connector + +2) Build vpp-integration module from hc2vpp project: +cd hc2vpp +mvn clean install -pl vpp-integration/minimal-distribution + +3) (optional) Build honeycomb package +./packaging/deb/xenial/debuild.sh + +4) Build ncclient +git clone -b honeycomb https://github.com/marekgr/ncclient.git +cd ncclient +sudo python setup.py install + + +Running examples +---------- + +ACL: +./acl/test_acl.sh +./acl/test_acl_updates.sh + +NAT: +./acl/test_nat.sh +./acl/test_nat_updates.sh + +Suggestions: +Remember that HC by default persists config and restores it after restart. +You can disable this behaviour using config/honeycomb.json. |