2 A version of DANOS with the VES reporting client will be made available for download and uploading into your glance repository.
3 wget http:// ..... danos-1908-amd64-vrouter_20200425T1203-amd64.hybrid.iso
5 Remember that a flavor for DANOS must be available in your openstack instance for 4 vcpu, 4096 MB, 8 GB since the standard
6 ubuntu flavors used for most ONAP VNF demonstrations are not the right size.
9 The following instructions were used to build the custom version and can be used as well.
12 1. Install the DANOS package build tool
14 git clone https://github.com/jsouthworth/danos-buildpackage
16 go install jsouthworth.net/go/danos-buildimage/cmd/danos-buildpackage
18 2. Change to the directory above debian
19 cd ~/demo/vnfs/VESreporting_vFW5.0_DANOS
21 3. Build ves library and create debian package
23 danos-buildpackage -version 1908
25 vpp-measurement-reporter-danos_0.1_amd64.deb will be created in the ~/demo/vnfs directory (..)
27 4. Confirm the debian package has the libevel.so and vpp_measurement_reporter_danos executables
29 dpkg-deb -c vpp-measurement-reporter-danos_0.1_amd64.deb
31 5. Create a DANOS ISO with the addition of the VES debian
32 a. Follow steps in https://danosproject.atlassian.net/wiki/spaces/DAN/pages/491554/Creating+a+DANOS+ISO+using+binary+packages
33 b. At the step: "If any additional packages are required to be added to the DANOS image:"
34 mkdir -p config/packages.chroot/
35 cp <path-to-deb>/vpp-measurement-reporter-danos_0.1_amd64.deb config/packages.chroot/
37 c. Since this is a new debian for the iso you need to add the reference to it under config/package-lists
38 cd config/package-lists
40 vpp-measurement-reporter-danos.list.chroot
41 add the line to the file:
42 vpp-measurement-reporter-danos
43 c. continue the steps include:
44 sed -i 's/--.*distribution .*\\/--distribution '"stretch"' \\/' auto/config
49 d. an iso image should be built like:
50 danos-1908-amd64-vrouter_20200425T1203-amd64.hybrid.iso
54 6. Follow the instructions up through Step K. for installing a DANOS ISO in Openstack from
56 https://danosproject.atlassian.net/wiki/spaces/DAN/pages/79560705/Creating+a+DANOS+Virtual+Router+VNF+in+Openstack
59 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.