aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/VESreporting_vFW5.0_DANOS/debian
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/debian
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/debian')
-rw-r--r--vnfs/VESreporting_vFW5.0_DANOS/debian/changelog5
-rw-r--r--vnfs/VESreporting_vFW5.0_DANOS/debian/compat1
-rw-r--r--vnfs/VESreporting_vFW5.0_DANOS/debian/control20
-rw-r--r--vnfs/VESreporting_vFW5.0_DANOS/debian/copyright19
-rwxr-xr-xvnfs/VESreporting_vFW5.0_DANOS/debian/rules6
-rw-r--r--vnfs/VESreporting_vFW5.0_DANOS/debian/source/format1
-rwxr-xr-xvnfs/VESreporting_vFW5.0_DANOS/debian/vpp-measurement-reporter-danos.install5
-rw-r--r--vnfs/VESreporting_vFW5.0_DANOS/debian/vpp-measurement-reporter-danos.service10
8 files changed, 67 insertions, 0 deletions
diff --git a/vnfs/VESreporting_vFW5.0_DANOS/debian/changelog b/vnfs/VESreporting_vFW5.0_DANOS/debian/changelog
new file mode 100644
index 00000000..8870dcb9
--- /dev/null
+++ b/vnfs/VESreporting_vFW5.0_DANOS/debian/changelog
@@ -0,0 +1,5 @@
+vpp-measurement-reporter-danos (0.1) unstable; urgency=medium
+
+ * Initial create
+
+ -- Brian Freeman <bf1936@att.com> Tue, 21 Apr 2020 10:57:54 +0000
diff --git a/vnfs/VESreporting_vFW5.0_DANOS/debian/compat b/vnfs/VESreporting_vFW5.0_DANOS/debian/compat
new file mode 100644
index 00000000..ec635144
--- /dev/null
+++ b/vnfs/VESreporting_vFW5.0_DANOS/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/vnfs/VESreporting_vFW5.0_DANOS/debian/control b/vnfs/VESreporting_vFW5.0_DANOS/debian/control
new file mode 100644
index 00000000..0b284738
--- /dev/null
+++ b/vnfs/VESreporting_vFW5.0_DANOS/debian/control
@@ -0,0 +1,20 @@
+Source: vpp-measurement-reporter-danos
+Section: contrib/net
+Priority: optional
+Maintainer: Brian Freeman <bf1936@att.com>
+Build-depends:
+ debhelper (>= 9),
+ dh-exec,
+ libvyatta-cfg-dev,
+ libcurl4-dev,
+ libjansson-dev,
+Standards-Version: 3.9.8
+
+Package: vpp-measurement-reporter-danos
+Architecture: any
+Depends: ${misc:Depends}, dh-exec, libvyatta-cfg1, ${shlibs:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
+Description: ONAP VES Event Library for vFW Closed Loop Demonstration
+ VES reporting library
+
diff --git a/vnfs/VESreporting_vFW5.0_DANOS/debian/copyright b/vnfs/VESreporting_vFW5.0_DANOS/debian/copyright
new file mode 100644
index 00000000..83ac7724
--- /dev/null
+++ b/vnfs/VESreporting_vFW5.0_DANOS/debian/copyright
@@ -0,0 +1,19 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: *
+Copyright: 2018-2020, AT&T Intellectual Property.
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache version 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/vnfs/VESreporting_vFW5.0_DANOS/debian/rules b/vnfs/VESreporting_vFW5.0_DANOS/debian/rules
new file mode 100755
index 00000000..1bd1ef41
--- /dev/null
+++ b/vnfs/VESreporting_vFW5.0_DANOS/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+DH_VERBOSE = 1
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+%:
+ dh $@ --with=systemd
diff --git a/vnfs/VESreporting_vFW5.0_DANOS/debian/source/format b/vnfs/VESreporting_vFW5.0_DANOS/debian/source/format
new file mode 100644
index 00000000..89ae9db8
--- /dev/null
+++ b/vnfs/VESreporting_vFW5.0_DANOS/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/vnfs/VESreporting_vFW5.0_DANOS/debian/vpp-measurement-reporter-danos.install b/vnfs/VESreporting_vFW5.0_DANOS/debian/vpp-measurement-reporter-danos.install
new file mode 100755
index 00000000..0d81653e
--- /dev/null
+++ b/vnfs/VESreporting_vFW5.0_DANOS/debian/vpp-measurement-reporter-danos.install
@@ -0,0 +1,5 @@
+#!/usr/bin/dh-exec
+dcae_collector.env run/VES/
+evel/evel-library/libs/x86_64/libevel.so usr/lib/${DEB_HOST_MULTIARCH}
+onap-ca.crt opt/VES/config
+vpp-measurement-reporter-danos opt/VES/bin/
diff --git a/vnfs/VESreporting_vFW5.0_DANOS/debian/vpp-measurement-reporter-danos.service b/vnfs/VESreporting_vFW5.0_DANOS/debian/vpp-measurement-reporter-danos.service
new file mode 100644
index 00000000..7d5b0ba4
--- /dev/null
+++ b/vnfs/VESreporting_vFW5.0_DANOS/debian/vpp-measurement-reporter-danos.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=ONAP VES Reporting
+
+[Service]
+EnvironmentFile=/run/VES/dcae_collector.env
+ExecStart=/opt/VES/bin/vpp-measurement-reporter-danos $DCAE_COLLECTOR_IP $DCAE_COLLECTOR_PORT $PORT_TO_REPORT
+Restart=always
+
+[Install]
+WantedBy=multi-user.target