examples/ncclient: update Readme.txt with more detailed instructions 28/12328/1
authorMarek Gradzki <mgradzki@cisco.com>
Wed, 2 May 2018 12:20:29 +0000 (14:20 +0200)
committerMarek Gradzki <mgradzki@cisco.com>
Wed, 2 May 2018 12:20:30 +0000 (14:20 +0200)
Change-Id: If22b47736937428b1aa84105ba589f53be8d35fa
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
examples/ncclient/Readme.txt

index 7e1c540..6639cf8 100644 (file)
@@ -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