From 40853b8df80fb414c6f09b79447e6c1a0e6666ca Mon Sep 17 00:00:00 2001 From: Simon Crowle <sgc@it-innovation.soton.ac.uk> Date: Tue, 10 Apr 2018 11:45:47 +0100 Subject: [PATCH] Applies IT-INNOV headers to sources --- .gitlab-ci.yml | 21 +++++++++++++++++ clmctest/inputs/conftest.py | 22 ++++++++++++++++++ clmctest/inputs/rspec.yml | 21 +++++++++++++++++ clmctest/inputs/test_rspec.py | 22 ++++++++++++++++++ clmctest/inputs/test_telegraf_agents.py | 22 ++++++++++++++++++ clmctest/monitoring/LineProtocolGenerator.py | 22 ++++++++++++++++++ clmctest/monitoring/StreamingSim.py | 22 ++++++++++++++++++ clmctest/monitoring/conftest.py | 22 ++++++++++++++++++ clmctest/monitoring/rspec.yml | 21 +++++++++++++++++ clmctest/monitoring/test_rspec.py | 22 ++++++++++++++++++ clmctest/monitoring/test_simresults.py | 22 ++++++++++++++++++ clmctest/scripts/rspec.yml | 21 +++++++++++++++++ clmctest/scripts/test_config_telegraf.py | 22 ++++++++++++++++++ clmctest/services/apache/telegraf_apache.conf | 21 +++++++++++++++++ clmctest/services/ffmpeg/install.sh | 20 ++++++++++++++++ clmctest/services/ffmpeg/telegraf_ffmpeg.conf | 21 +++++++++++++++++ clmctest/services/ffmpeg/transcode.sh | 21 +++++++++++++++++ clmctest/services/host/telegraf_host.conf | 20 ++++++++++++++++ .../ipendpoint/telegraf_ipendpoint.conf | 21 +++++++++++++++++ clmctest/services/mongo/telegraf_mongo.conf | 21 +++++++++++++++++ clmctest/services/nginx/nginx.conf | 21 ++++++++++++++++- clmctest/services/nginx/telegraf_nginx.conf | 21 +++++++++++++++++ clmctest/streaming/conftest.py | 22 ++++++++++++++++++ clmctest/streaming/kapacitor.conf | 21 +++++++++++++++++ clmctest/streaming/report.sh | 20 ++++++++++++++++ clmctest/streaming/rspec.yml | 21 +++++++++++++++++ clmctest/streaming/stop.sh | 22 ++++++++++++++++++ clmctest/streaming/test_rspec.py | 22 ++++++++++++++++++ clmctest/streaming/test_streaming.py | 22 ++++++++++++++++++ ...ring specification for a basic scenario.md | 23 +++++++++++++++++++ docs/TestScenarios.md | 23 +++++++++++++++++++ docs/adaptive-streaming-usecase-scenario.md | 23 +++++++++++++++++++ scripts/build/deleteallvms.sh | 20 ++++++++++++++++ scripts/clmc-agent/configure_template.sh | 2 +- scripts/clmc-agent/telegraf.conf | 21 +++++++++++++++++ scripts/clmc-agent/telegraf_output.conf | 21 +++++++++++++++++ setup.py | 23 +++++++++++++++++++ 37 files changed, 773 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ce2b843..4490e05 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,24 @@ +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 21-03-2018 +## Created for Project : FLAME + stages: - build - test diff --git a/clmctest/inputs/conftest.py b/clmctest/inputs/conftest.py index aab39c3..c3b3b40 100644 --- a/clmctest/inputs/conftest.py +++ b/clmctest/inputs/conftest.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 +""" +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 02-03-2018 +## Created for Project : FLAME +""" import pytest import time diff --git a/clmctest/inputs/rspec.yml b/clmctest/inputs/rspec.yml index a7ace28..c82cca8 100644 --- a/clmctest/inputs/rspec.yml +++ b/clmctest/inputs/rspec.yml @@ -1,3 +1,24 @@ +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 02-02-2018 +## Created for Project : FLAME + hosts: - name: clmc-service cpus: 1 diff --git a/clmctest/inputs/test_rspec.py b/clmctest/inputs/test_rspec.py index 5442eed..5658e66 100644 --- a/clmctest/inputs/test_rspec.py +++ b/clmctest/inputs/test_rspec.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 +""" +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 25-02-2018 +## Created for Project : FLAME +""" from subprocess import run from platform import system diff --git a/clmctest/inputs/test_telegraf_agents.py b/clmctest/inputs/test_telegraf_agents.py index b2e8ce5..c465af0 100644 --- a/clmctest/inputs/test_telegraf_agents.py +++ b/clmctest/inputs/test_telegraf_agents.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 +""" +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 02-03-2018 +## Created for Project : FLAME +""" import pytest from subprocess import run diff --git a/clmctest/monitoring/LineProtocolGenerator.py b/clmctest/monitoring/LineProtocolGenerator.py index 1ffeeeb..76ffd32 100644 --- a/clmctest/monitoring/LineProtocolGenerator.py +++ b/clmctest/monitoring/LineProtocolGenerator.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 +""" +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 02-02-2018 +## Created for Project : FLAME +""" # line protocol diff --git a/clmctest/monitoring/StreamingSim.py b/clmctest/monitoring/StreamingSim.py index 6061cfc..290cade 100644 --- a/clmctest/monitoring/StreamingSim.py +++ b/clmctest/monitoring/StreamingSim.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 +""" +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 02-02-2018 +## Created for Project : FLAME +""" import clmctest.monitoring.LineProtocolGenerator as lp import time diff --git a/clmctest/monitoring/conftest.py b/clmctest/monitoring/conftest.py index 9f3c42c..69389c9 100644 --- a/clmctest/monitoring/conftest.py +++ b/clmctest/monitoring/conftest.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 +""" +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 25-02-2018 +## Created for Project : FLAME +""" import pytest import yaml diff --git a/clmctest/monitoring/rspec.yml b/clmctest/monitoring/rspec.yml index 03bb6d7..a364714 100644 --- a/clmctest/monitoring/rspec.yml +++ b/clmctest/monitoring/rspec.yml @@ -1,3 +1,24 @@ +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 02-02-2018 +## Created for Project : FLAME + hosts: - name: clmc-service cpus: 1 diff --git a/clmctest/monitoring/test_rspec.py b/clmctest/monitoring/test_rspec.py index ecce587..a9bd728 100644 --- a/clmctest/monitoring/test_rspec.py +++ b/clmctest/monitoring/test_rspec.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 +""" +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 25-02-2018 +## Created for Project : FLAME +""" from subprocess import run from platform import system diff --git a/clmctest/monitoring/test_simresults.py b/clmctest/monitoring/test_simresults.py index 10c8351..7367371 100644 --- a/clmctest/monitoring/test_simresults.py +++ b/clmctest/monitoring/test_simresults.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 +""" +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Nikolay Stanchev +## Created Date : 06-03-2018 +## Created for Project : FLAME +""" import pytest import time diff --git a/clmctest/scripts/rspec.yml b/clmctest/scripts/rspec.yml index 0de15c5..6ab6679 100644 --- a/clmctest/scripts/rspec.yml +++ b/clmctest/scripts/rspec.yml @@ -1,3 +1,24 @@ +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 20-03-2018 +## Created for Project : FLAME + hosts: - name: test-runner cpus: 1 diff --git a/clmctest/scripts/test_config_telegraf.py b/clmctest/scripts/test_config_telegraf.py index 2ae71b8..72ed589 100644 --- a/clmctest/scripts/test_config_telegraf.py +++ b/clmctest/scripts/test_config_telegraf.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 +""" +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 20-03-2018 +## Created for Project : FLAME +""" import pytest import subprocess diff --git a/clmctest/services/apache/telegraf_apache.conf b/clmctest/services/apache/telegraf_apache.conf index dd61410..3a4650b 100644 --- a/clmctest/services/apache/telegraf_apache.conf +++ b/clmctest/services/apache/telegraf_apache.conf @@ -1,3 +1,24 @@ +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Rowan Powell +## Created Date : 27-02-2018 +## Created for Project : FLAME + [[inputs.apache]] ## An array of URLs to gather from, must be directed at the machine ## readable version of the mod_status page including the auto query string. diff --git a/clmctest/services/ffmpeg/install.sh b/clmctest/services/ffmpeg/install.sh index 02d6e1e..cb3c873 100755 --- a/clmctest/services/ffmpeg/install.sh +++ b/clmctest/services/ffmpeg/install.sh @@ -1,4 +1,24 @@ #!/bin/bash +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 09-02-2018 +## Created for Project : FLAME apt-get update apt-get -y install zip python diff --git a/clmctest/services/ffmpeg/telegraf_ffmpeg.conf b/clmctest/services/ffmpeg/telegraf_ffmpeg.conf index efe72dc..86fa878 100644 --- a/clmctest/services/ffmpeg/telegraf_ffmpeg.conf +++ b/clmctest/services/ffmpeg/telegraf_ffmpeg.conf @@ -1,3 +1,24 @@ +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 08-03-2018 +## Created for Project : FLAME + # # Influx HTTP write listener [[inputs.http_listener]] ## Address and port to host HTTP listener on diff --git a/clmctest/services/ffmpeg/transcode.sh b/clmctest/services/ffmpeg/transcode.sh index 877472b..3645fea 100755 --- a/clmctest/services/ffmpeg/transcode.sh +++ b/clmctest/services/ffmpeg/transcode.sh @@ -1,4 +1,25 @@ #!/bin/bash +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 09-02-2018 +## Created for Project : FLAME + # # Bento4 must be manually obtained from https://www.bento4.com/downloads/ ffmpeg can be installed as follows # (Debian - http://www.deb-multimedia.org/) ~$ diff --git a/clmctest/services/host/telegraf_host.conf b/clmctest/services/host/telegraf_host.conf index 1fdd33a..b1fc8dd 100644 --- a/clmctest/services/host/telegraf_host.conf +++ b/clmctest/services/host/telegraf_host.conf @@ -1,3 +1,23 @@ +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 20-03-2018 +## Created for Project : FLAME ############################################################################### # INPUTS # diff --git a/clmctest/services/ipendpoint/telegraf_ipendpoint.conf b/clmctest/services/ipendpoint/telegraf_ipendpoint.conf index efe72dc..86fa878 100644 --- a/clmctest/services/ipendpoint/telegraf_ipendpoint.conf +++ b/clmctest/services/ipendpoint/telegraf_ipendpoint.conf @@ -1,3 +1,24 @@ +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 08-03-2018 +## Created for Project : FLAME + # # Influx HTTP write listener [[inputs.http_listener]] ## Address and port to host HTTP listener on diff --git a/clmctest/services/mongo/telegraf_mongo.conf b/clmctest/services/mongo/telegraf_mongo.conf index 80a6a69..e80c1a6 100644 --- a/clmctest/services/mongo/telegraf_mongo.conf +++ b/clmctest/services/mongo/telegraf_mongo.conf @@ -1,3 +1,24 @@ +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Rowan Powell +## Created Date : 27-02-2018 +## Created for Project : FLAME + [[inputs.mongodb]] ## An array of URLs of the form: ## "mongodb://" [user ":" pass "@"] host [ ":" port] diff --git a/clmctest/services/nginx/nginx.conf b/clmctest/services/nginx/nginx.conf index 1c906be..5e20c74 100644 --- a/clmctest/services/nginx/nginx.conf +++ b/clmctest/services/nginx/nginx.conf @@ -1,4 +1,23 @@ - +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Rowan Powell +## Created Date : 27-02-2018 +## Created for Project : FLAME events { worker_connections 4096; ## Default: 1024 diff --git a/clmctest/services/nginx/telegraf_nginx.conf b/clmctest/services/nginx/telegraf_nginx.conf index c91cdeb..d6588d5 100644 --- a/clmctest/services/nginx/telegraf_nginx.conf +++ b/clmctest/services/nginx/telegraf_nginx.conf @@ -1,3 +1,24 @@ +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Rowan Powell +## Created Date : 02-02-2018 +## Created for Project : FLAME + # Read Nginx's basic status information (ngx_http_stub_status_module) [[inputs.nginx]] ## An array of Nginx stub_status URI to gather stats. diff --git a/clmctest/streaming/conftest.py b/clmctest/streaming/conftest.py index 71a8ff8..1eb9a2d 100644 --- a/clmctest/streaming/conftest.py +++ b/clmctest/streaming/conftest.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 +""" +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 25-02-2018 +## Created for Project : FLAME +""" import pytest import yaml diff --git a/clmctest/streaming/kapacitor.conf b/clmctest/streaming/kapacitor.conf index e8332d6..7dfb797 100644 --- a/clmctest/streaming/kapacitor.conf +++ b/clmctest/streaming/kapacitor.conf @@ -1,3 +1,24 @@ +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Simon Crowle +## Created Date : 15-02-2018 +## Created for Project : FLAME + # The hostname of this node. # Must be resolvable by any configured InfluxDB hosts. hostname = "localhost" diff --git a/clmctest/streaming/report.sh b/clmctest/streaming/report.sh index ad1251a..0179a1e 100644 --- a/clmctest/streaming/report.sh +++ b/clmctest/streaming/report.sh @@ -1,4 +1,24 @@ #!/bin/bash +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Stephen Phillips +## Created Date : 19-02-2018 +## Created for Project : FLAME # This script reads stdin and expects the output of cvlc. # It is used by the run.sh script and receives the output of the cvlc client. diff --git a/clmctest/streaming/rspec.yml b/clmctest/streaming/rspec.yml index b1291a3..c340424 100644 --- a/clmctest/streaming/rspec.yml +++ b/clmctest/streaming/rspec.yml @@ -1,3 +1,24 @@ +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 02-02-2018 +## Created for Project : FLAME + hosts: - name: clmc-service cpus: 1 diff --git a/clmctest/streaming/stop.sh b/clmctest/streaming/stop.sh index b332fe3..55c8a28 100644 --- a/clmctest/streaming/stop.sh +++ b/clmctest/streaming/stop.sh @@ -1,4 +1,26 @@ #!/bin/bash +""" +// © University of Southampton IT Innovation Centre, 2018 +// +// Copyright in this software belongs to University of Southampton +// IT Innovation Centre of Gamma House, Enterprise Road, +// Chilworth Science Park, Southampton, SO16 7NS, UK. +// +// This software may not be used, sold, licensed, transferred, copied +// or reproduced in whole or in part in any manner or form or in or +// on any media by any person other than in accordance with the terms +// of the Licence Agreement supplied with the software, or otherwise +// without the prior written consent of the copyright owners. +// +// This software is distributed WITHOUT ANY WARRANTY, without even the +// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +// PURPOSE, except where stated in the Licence Agreement supplied with +// the software. +// +// Created By : Michael Boniface +// Created Date : 15-02-2018 +// Created for Project : FLAME +""" for pid in $(ps -ef | grep "/usr/bin/vlc" | awk '{print $2}'); do kill -9 $pid; done # TODO: 'killall vlc' should work: need to test though \ No newline at end of file diff --git a/clmctest/streaming/test_rspec.py b/clmctest/streaming/test_rspec.py index 0bbea54..b90f501 100644 --- a/clmctest/streaming/test_rspec.py +++ b/clmctest/streaming/test_rspec.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 +""" +// © University of Southampton IT Innovation Centre, 2018 +// +// Copyright in this software belongs to University of Southampton +// IT Innovation Centre of Gamma House, Enterprise Road, +// Chilworth Science Park, Southampton, SO16 7NS, UK. +// +// This software may not be used, sold, licensed, transferred, copied +// or reproduced in whole or in part in any manner or form or in or +// on any media by any person other than in accordance with the terms +// of the Licence Agreement supplied with the software, or otherwise +// without the prior written consent of the copyright owners. +// +// This software is distributed WITHOUT ANY WARRANTY, without even the +// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +// PURPOSE, except where stated in the Licence Agreement supplied with +// the software. +// +// Created By : Michael Boniface +// Created Date : 24-02-2018 +// Created for Project : FLAME +""" from subprocess import run from platform import system diff --git a/clmctest/streaming/test_streaming.py b/clmctest/streaming/test_streaming.py index 15ecb68..9097b81 100644 --- a/clmctest/streaming/test_streaming.py +++ b/clmctest/streaming/test_streaming.py @@ -1,4 +1,26 @@ #!/usr/bin/python3 +""" +// © University of Southampton IT Innovation Centre, 2018 +// +// Copyright in this software belongs to University of Southampton +// IT Innovation Centre of Gamma House, Enterprise Road, +// Chilworth Science Park, Southampton, SO16 7NS, UK. +// +// This software may not be used, sold, licensed, transferred, copied +// or reproduced in whole or in part in any manner or form or in or +// on any media by any person other than in accordance with the terms +// of the Licence Agreement supplied with the software, or otherwise +// without the prior written consent of the copyright owners. +// +// This software is distributed WITHOUT ANY WARRANTY, without even the +// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +// PURPOSE, except where stated in the Licence Agreement supplied with +// the software. +// +// Created By : Michael Boniface +// Created Date : 19-03-2018 +// Created for Project : FLAME +""" from threading import Thread from time import sleep diff --git a/docs/CLMC monitoring specification for a basic scenario.md b/docs/CLMC monitoring specification for a basic scenario.md index 032d170..7bce824 100644 --- a/docs/CLMC monitoring specification for a basic scenario.md +++ b/docs/CLMC monitoring specification for a basic scenario.md @@ -1,3 +1,26 @@ +<!-- +// © University of Southampton IT Innovation Centre, 2018 +// +// Copyright in this software belongs to University of Southampton +// IT Innovation Centre of Gamma House, Enterprise Road, +// Chilworth Science Park, Southampton, SO16 7NS, UK. +// +// This software may not be used, sold, licensed, transferred, copied +// or reproduced in whole or in part in any manner or form or in or +// on any media by any person other than in accordance with the terms +// of the Licence Agreement supplied with the software, or otherwise +// without the prior written consent of the copyright owners. +// +// This software is distributed WITHOUT ANY WARRANTY, without even the +// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +// PURPOSE, except where stated in the Licence Agreement supplied with +// the software. +// +// Created By : Simon Crowle +// Created Date : 10-01-2018 +// Created for Project : FLAME +--> + # Adaptive Streaming Use Case Scenario ## Infrastructure Slice diff --git a/docs/TestScenarios.md b/docs/TestScenarios.md index d9758c9..d40d24a 100644 --- a/docs/TestScenarios.md +++ b/docs/TestScenarios.md @@ -1,3 +1,26 @@ +<!-- +// © University of Southampton IT Innovation Centre, 2018 +// +// Copyright in this software belongs to University of Southampton +// IT Innovation Centre of Gamma House, Enterprise Road, +// Chilworth Science Park, Southampton, SO16 7NS, UK. +// +// This software may not be used, sold, licensed, transferred, copied +// or reproduced in whole or in part in any manner or form or in or +// on any media by any person other than in accordance with the terms +// of the Licence Agreement supplied with the software, or otherwise +// without the prior written consent of the copyright owners. +// +// This software is distributed WITHOUT ANY WARRANTY, without even the +// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +// PURPOSE, except where stated in the Licence Agreement supplied with +// the software. +// +// Created By : Rowan Powell +// Created Date : 05-01-2018 +// Created for Project : FLAME +--> + # Test Scenarios |author| diff --git a/docs/adaptive-streaming-usecase-scenario.md b/docs/adaptive-streaming-usecase-scenario.md index 6f77df0..7fc524a 100644 --- a/docs/adaptive-streaming-usecase-scenario.md +++ b/docs/adaptive-streaming-usecase-scenario.md @@ -1,3 +1,26 @@ +<!-- +// © University of Southampton IT Innovation Centre, 2018 +// +// Copyright in this software belongs to University of Southampton +// IT Innovation Centre of Gamma House, Enterprise Road, +// Chilworth Science Park, Southampton, SO16 7NS, UK. +// +// This software may not be used, sold, licensed, transferred, copied +// or reproduced in whole or in part in any manner or form or in or +// on any media by any person other than in accordance with the terms +// of the Licence Agreement supplied with the software, or otherwise +// without the prior written consent of the copyright owners. +// +// This software is distributed WITHOUT ANY WARRANTY, without even the +// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +// PURPOSE, except where stated in the Licence Agreement supplied with +// the software. +// +// Created By : Michael Boniface +// Created Date : 15-01-2018 +// Created for Project : FLAME +--> + # Adaptive Streaming Use Case Scenario  diff --git a/scripts/build/deleteallvms.sh b/scripts/build/deleteallvms.sh index 4c68a7a..be8b957 100755 --- a/scripts/build/deleteallvms.sh +++ b/scripts/build/deleteallvms.sh @@ -1,4 +1,24 @@ #!/bin/bash +## © University of Southampton IT Innovation Centre, 2017 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 28-03-2018 +## Created for Project : FLAME vboxmanage list vms | awk ' {print $1} ' | awk -F',' '{gsub(/"/, "", $1); print $1}' > runningvms diff --git a/scripts/clmc-agent/configure_template.sh b/scripts/clmc-agent/configure_template.sh index 04d1229..2df916b 100644 --- a/scripts/clmc-agent/configure_template.sh +++ b/scripts/clmc-agent/configure_template.sh @@ -19,7 +19,7 @@ #// the software. #// #// Created By : Michael Boniface -#// Created Date : 19/03/2018 +#// Created Date : 18/12/2017 #// Created for Project : FLAME #// #///////////////////////////////////////////////////////////////////////// diff --git a/scripts/clmc-agent/telegraf.conf b/scripts/clmc-agent/telegraf.conf index afe301e..1800940 100644 --- a/scripts/clmc-agent/telegraf.conf +++ b/scripts/clmc-agent/telegraf.conf @@ -1,3 +1,24 @@ +## © University of Southampton IT Innovation Centre, 2017 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Simon Crowle +## Created Date : 03-01-2018 +## Created for Project : FLAME + # Telegraf configuration # Telegraf is entirely plugin driven. All metrics are gathered from the diff --git a/scripts/clmc-agent/telegraf_output.conf b/scripts/clmc-agent/telegraf_output.conf index b8e34bc..e77f247 100644 --- a/scripts/clmc-agent/telegraf_output.conf +++ b/scripts/clmc-agent/telegraf_output.conf @@ -1,3 +1,24 @@ +## © University of Southampton IT Innovation Centre, 2018 +## +## Copyright in this software belongs to University of Southampton +## IT Innovation Centre of Gamma House, Enterprise Road, +## Chilworth Science Park, Southampton, SO16 7NS, UK. +## +## This software may not be used, sold, licensed, transferred, copied +## or reproduced in whole or in part in any manner or form or in or +## on any media by any person other than in accordance with the terms +## of the Licence Agreement supplied with the software, or otherwise +## without the prior written consent of the copyright owners. +## +## This software is distributed WITHOUT ANY WARRANTY, without even the +## implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE, except where stated in the Licence Agreement supplied with +## the software. +## +## Created By : Michael Boniface +## Created Date : 08-03-2018 +## Created for Project : FLAME + ############################################################################### # OUTPUTS # ############################################################################### diff --git a/setup.py b/setup.py index 7f18cd7..f015c18 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,26 @@ +""" +// © University of Southampton IT Innovation Centre, 2018 +// +// Copyright in this software belongs to University of Southampton +// IT Innovation Centre of Gamma House, Enterprise Road, +// Chilworth Science Park, Southampton, SO16 7NS, UK. +// +// This software may not be used, sold, licensed, transferred, copied +// or reproduced in whole or in part in any manner or form or in or +// on any media by any person other than in accordance with the terms +// of the Licence Agreement supplied with the software, or otherwise +// without the prior written consent of the copyright owners. +// +// This software is distributed WITHOUT ANY WARRANTY, without even the +// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +// PURPOSE, except where stated in the Licence Agreement supplied with +// the software. +// +// Created By : Michael Boniface +// Created Date : 25-03-2018 +// Created for Project : FLAME +""" + import os from setuptools import setup, find_packages -- GitLab