aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/VESreporting_vFW5.0_DANOS/DANOS_BUILD.md
diff options
context:
space:
mode:
authorroot <root@danos-build.zbl31w4ywk4ulg0far32rd2huc.cx.internal.cloudapp.net>2020-04-27 21:53:00 +0000
committerMarco Platania <platania@research.att.com>2020-04-28 14:52:48 +0000
commit08eddb8df44beacbb7b4047e313a771292030ccc (patch)
treeede637e3c6725bfd999d115b6ad330f1caa2602f /vnfs/VESreporting_vFW5.0_DANOS/DANOS_BUILD.md
parent6610dc1180d0dfbe30a737306d0f059b463aeb26 (diff)
Initial VES for DANOS vRouter
1. Create vpp_measurement_reporter that use DANOS configd query to retrieve statistics and libevel to transmit 2. Copy VES evel library to build a debian package under vpp_measurement_report 3. Add debian files to create a vpp_measurement_reporter + libevel debian package 4. Add debian install and systemctl start files 5. Add instruction to build VES reporter debian package (that will include libevel.so) 6. Add instructions to build DANOS ISO with VES reporter debian package and creating glance image Issue-ID: INT-1566 Change-Id: If18f16525f07f1b6bae0fc105e0452263b4bf661 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'vnfs/VESreporting_vFW5.0_DANOS/DANOS_BUILD.md')
-rw-r--r--vnfs/VESreporting_vFW5.0_DANOS/DANOS_BUILD.md61
1 files changed, 61 insertions, 0 deletions
diff --git a/vnfs/VESreporting_vFW5.0_DANOS/DANOS_BUILD.md b/vnfs/VESreporting_vFW5.0_DANOS/DANOS_BUILD.md
new file mode 100644
index 00000000..1fd6d1ca
--- /dev/null
+++ b/vnfs/VESreporting_vFW5.0_DANOS/DANOS_BUILD.md
@@ -0,0 +1,61 @@
+
+A version of DANOS with the VES reporting client will be made available for download and uploading into your glance repository.
+ wget http:// ..... danos-1908-amd64-vrouter_20200425T1203-amd64.hybrid.iso
+
+Remember that a flavor for DANOS must be available in your openstack instance for 4 vcpu, 4096 MB, 8 GB since the standard
+ubuntu flavors used for most ONAP VNF demonstrations are not the right size.
+
+
+The following instructions were used to build the custom version and can be used as well.
+
+
+1. Install the DANOS package build tool
+ apt install docker.io
+ git clone https://github.com/jsouthworth/danos-buildpackage
+ cd danos-buildpackage
+ go install jsouthworth.net/go/danos-buildimage/cmd/danos-buildpackage
+
+2. Change to the directory above debian
+ cd ~/demo/vnfs/VESreporting_vFW5.0_DANOS
+
+3. Build ves library and create debian package
+
+ danos-buildpackage -version 1908
+
+ vpp-measurement-reporter-danos_0.1_amd64.deb will be created in the ~/demo/vnfs directory (..)
+
+4. Confirm the debian package has the libevel.so and vpp_measurement_reporter_danos executables
+
+ dpkg-deb -c vpp-measurement-reporter-danos_0.1_amd64.deb
+
+5. Create a DANOS ISO with the addition of the VES debian
+ a. Follow steps in https://danosproject.atlassian.net/wiki/spaces/DAN/pages/491554/Creating+a+DANOS+ISO+using+binary+packages
+ b. At the step: "If any additional packages are required to be added to the DANOS image:"
+ mkdir -p config/packages.chroot/
+ cp <path-to-deb>/vpp-measurement-reporter-danos_0.1_amd64.deb config/packages.chroot/
+
+ c. Since this is a new debian for the iso you need to add the reference to it under config/package-lists
+ cd config/package-lists
+ create a file:
+ vpp-measurement-reporter-danos.list.chroot
+ add the line to the file:
+ vpp-measurement-reporter-danos
+ c. continue the steps include:
+ sed -i 's/--.*distribution .*\\/--distribution '"stretch"' \\/' auto/config
+ auto/clean
+ auto/config
+ auto/build
+
+ d. an iso image should be built like:
+ danos-1908-amd64-vrouter_20200425T1203-amd64.hybrid.iso
+
+
+
+6. Follow the instructions up through Step K. for installing a DANOS ISO in Openstack from
+
+ https://danosproject.atlassian.net/wiki/spaces/DAN/pages/79560705/Creating+a+DANOS+Virtual+Router+VNF+in+Openstack
+
+
+Ignore the creation of the DANOS intance from the new glance image and the traffic source and traffic sink parts since the heat template for ONAP will cover those pieces.
+
+