summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-05-02 14:20:29 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-05-02 14:20:30 +0200
commitb104beedcc9528ce2680e77a041ac26dc3f6a9bf (patch)
tree2cd959fa568c93a4c85644a972460d39ddf12aae /examples
parent9f9d2614ff5bd0d2a1729d1793a9bd6ca3def717 (diff)
examples/ncclient: update Readme.txt with more detailed instructions
Change-Id: If22b47736937428b1aa84105ba589f53be8d35fa Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/ncclient/Readme.txt26
1 files changed, 22 insertions, 4 deletions
diff --git a/examples/ncclient/Readme.txt b/examples/ncclient/Readme.txt
index 7e1c54075..6639cf815 100644
--- a/examples/ncclient/Readme.txt
+++ b/examples/ncclient/Readme.txt
@@ -4,19 +4,32 @@ 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
+git checkout -b honeycomb 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:
+2) Custom HC2VPP build
+
+git clone https://gerrit.fd.io/r/hc2vpp
cd hc2vpp
+
+a) checkout desired branch
+
+e.g. git checkout -b stable1804 origin/stable/1804
+
+or use master branch.
+
+b) build vpp-integration module from hc2vpp project:
+
mvn clean install -pl vpp-integration/minimal-distribution
-3) (optional) Build honeycomb package
+c) (optional) build honeycomb package
./packaging/deb/xenial/debuild.sh
4) Build ncclient
@@ -27,6 +40,11 @@ sudo python setup.py install
Running examples
----------
+Start vpp.
+Start honeycomb
+(either from hc2vpp builddir or using package built in previous steps).
+
+Then invoke:
ACL:
./acl/test_acl.sh