= Building == Custom ODL Oxygen build Honeycomb currently uses ODL Oxygen SR3. Some additional features are planned in https://jira.fd.io/browse/HONEYCOMB-433[ODL Fluorine] and in https://jira.fd.io/browse/HONEYCOMB-443[ODL Neon] To support them in current honeycomb version, custom build of ODL Netconf project is required. [source] ---- git clone https://git.opendaylight.org/gerrit/netconf cd netconf git checkout -b honeycomb release/oxygen-sr3 ---- Here is a full list of patches required: https://git.opendaylight.org/gerrit/#/q/topic:oxygen-hc-improvements+(status:open+OR+status:merged) === support https://jira.opendaylight.org/browse/NETCONF-529[The feature] will be present in https://jira.fd.io/browse/HONEYCOMB-433[ODL Fluorine] To make it work with ODL Oxygen SR3, following patches are required: [source] ---- git fetch https://git.opendaylight.org/gerrit/netconf refs/changes/06/69606/4 && git cherry-pick FETCH_HEAD git fetch https://git.opendaylight.org/gerrit/netconf refs/changes/54/72754/3 && git cherry-pick FETCH_HEAD git fetch https://git.opendaylight.org/gerrit/netconf refs/changes/55/72755/3 && git cherry-pick FETCH_HEAD mvn clean install -pl netconf/mdsal-netconf-connector ---- === support https://jira.opendaylight.org/browse/NETCONF-536[The feature] will be present in https://jira.fd.io/browse/HONEYCOMB-433[ODL Fluorine] To make it work with ODL Oxygen SR3, following patches are required: [source] ---- git fetch https://git.opendaylight.org/gerrit/netconf refs/changes/56/72756/4 && git cherry-pick FETCH_HEAD git fetch https://git.opendaylight.org/gerrit/netconf refs/changes/34/73034/2 && git cherry-pick FETCH_HEAD git fetch https://git.opendaylight.org/gerrit/netconf refs/changes/95/74795/3 && git cherry-pick FETCH_HEAD mvn clean install -pl netconf/mdsal-netconf-connector ---- == URL capability support https://jira.opendaylight.org/browse/NETCONF-557[The feature] will be present in https://jira.fd.io/browse/HONEYCOMB-443[ODL Neon]. To make it work with ODL Oxygen SR3, following patch is required: [source] ---- git fetch https://git.opendaylight.org/gerrit/netconf refs/changes/68/75368/1 && git cherry-pick FETCH_HEAD mvn clean install -pl netconf/netconf-api/,netconf/netconf-impl/,netconf/mdsal-netconf-connector/ ---- == Custom Honeycomb build Clone project, checkout desired branch or use master branch: [source] ---- git clone https://gerrit.fd.io/r/honeycomb cd honeycomb ---- === support Support for RPC requires ODL Fluorine, so custom build is required: [source] ---- git fetch https://gerrit.fd.io/r/honeycomb refs/changes/40/14040/4 && git cherry-pick FETCH_HEAD mvn clean install -pl infra/data-impl ---- == Custom HC2VPP build 1. Clone project, checkout desired branch or use master branch: [source] ---- git clone https://gerrit.fd.io/r/hc2vpp cd hc2vpp ---- 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). NOTE: Remember that HC by default persists config and restores it after restart. You can disable this behaviour using config/honeycomb.json. == === ACL Example configuration of ACLs on loopback interface. [source] ---- ./acl/test_acl.sh ./acl/test_acl_update.sh ---- === Bridge Domain Example configuration of loopback interface and bridge domain assignment. [source] ---- ./bd/test_bd.sh ---- === NAT Example configuration of NAT on loopback interface. [source] ---- ./nat/test_nat.sh ./nat/test_nat_update.sh ---- == == ACL + [source] ---- ./edit_config.py --validate acl/config_invalid_acl.xml ---- == URL capability Provide URL as source or target. Source URL can use file, http, https or ftp protocol. Target URL can use file protocol. When using file protocol, provided patch should correspond to a file accessible by Honeycomb. Example: [source] ---- ./copy_config_url.py "file:///[ABSOLUTE PATH TO hc2vpp]/examples/ncclient/bd/config_bd.xml" candidate ----