blob: cc1d63e122af7bc40da04a9b57fcb0ddc6e1e302 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
= Building
== Custom ODL Oxygen build:
[source]
----
git clone https://git.opendaylight.org/gerrit/netconf
cd netconf
git checkout -b honeycomb release/oxygen
----
=== <copy-config> support:
[source]
----
git fetch https://git.opendaylight.org/gerrit/netconf refs/changes/06/69606/1 && git cherry-pick FETCH_HEAD
----
=== ncclient support:
[source]
----
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
----
== Custom HC2VPP build
[source]
----
git clone https://gerrit.fd.io/r/hc2vpp
cd hc2vpp
----
1. Checkout desired branch or use master branch, e.g.
[source]
----
git checkout -b stable1804 origin/stable/1804
----
2. Build vpp-integration module from hc2vpp project:
[source]
----
mvn clean install -pl vpp-integration/minimal-distribution
----
3. (optional) Build honeycomb package
[source]
----
./packaging/deb/xenial/debuild.sh
----
== Build ncclient
[source]
----
git clone https://github.com/ncclient/ncclient.git
cd ncclient
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:
[source]
----
./acl/test_acl.sh
./acl/test_acl_updates.sh
----
NAT:
[source]
----
./acl/test_nat.sh
./acl/test_nat_updates.sh
----
NOTE: Remember that HC by default persists config and restores it after restart.
You can disable this behaviour using config/honeycomb.json.
|