diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ce2b84324651d7c8b83d8967bedec87633ef529d..4490e054a0094b2bde4c6a6a6112c87aeb0ab8be 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 aab39c31dc321060faa907d7c8adc3fe9261c704..c3b3b40eb5ee6141e7096d161b591f5e5a43bc19 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 a7ace2852a5e884608f491e3cbb8f93cc19d3e24..c82cca84a708b8940af35c66cefe620cec513929 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 5442eed2d366f64c32e8896f87de02f662e21dae..5658e663b786dc2a13687c8dccbc2a1c1beb2cc7 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 b2e8ce59e229dc1862f200e833e946c6c6272d2e..c465af09179ff78b3636d3eb2c7a0ca896efa7c4 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 1ffeeebcb01242cad5017837b81592c9d1f80b4d..76ffd32d28acf86ab201a71a3d56dbc1cbaf8828 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 6061cfc79f11d65599b055fdab916f2d5ee12aa2..290cadec1a7b0a3b0e59929478f5f8c920c087de 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 9f3c42cd62743c24c2939063ce1dacbfcb5b1d4d..69389c98a172e75e4600a8baf909a204ecfc9447 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 03bb6d746208d1bfec28dbeda791242d5c54cbe0..a36471442bc83ea6a64f91a10f2a31a7c3d26c63 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 ecce587eab36aab6873b6c10c1c3924bcee93717..a9bd72884b235315a288ed1a971add4f445c04c8 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 10c8351c67f0c833f710a3f3237167a9af3d5f58..73673711d372425518aef5b90de0b6db7c7c5756 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 0de15c5fdecb2fecf1719720ab499020a1382444..6ab6679744312a786ea0b7b10c8005a99d426193 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 2ae71b896942b6d3db600a077ab4caad6ca37050..72ed589207d0f65d651289bfb8a189f5fd89d59c 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 dd614108a27146a226b508c8095c6ab1be6eb86d..3a4650b81037cac5b4d7a99290f62ddb87117807 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 02d6e1e3d7394a636b80731ac0c3d8aa5d295e1e..cb3c873afe87ea7ac52651ab8314ab8c7d28486f 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 efe72dc2d05e785c1615f1b6c55794294f630be2..86fa878a160c9dfb78b65b2a68f1e84ba5a61ebd 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 877472b2be6f55f5ec8a60d9f2b3e41ba57ae301..3645fea34f54430b6aab81d5012bef0d7e241515 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 1fdd33a7b4c8eef188469cd9c94bcef746351ed4..b1fc8ddc55650ade37a074a26ab651d1a6f04c41 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 efe72dc2d05e785c1615f1b6c55794294f630be2..86fa878a160c9dfb78b65b2a68f1e84ba5a61ebd 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 80a6a6964394ca33a50e1389121ea142e273bcc2..e80c1a61fa461c861e167a30e87c31b0e103a5c0 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 1c906bec4096ecd77a0eb8d46c091288841b92d5..5e20c74c7e478f2dadb878ec3b9a8154ee28056d 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 c91cdeb3265bf703a6438456d12942956938c96d..d6588d5599fb3951f105b2b1d2f056a76c8381c0 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 71a8ff81cb1baba9f57f59253f06b535b1717500..1eb9a2dbfb7998ed67998de242051a520f8ba7d4 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 e8332d6297a5ba109fff0a191ff5a50d9ade15fd..7dfb7974600c5c2a8775d5c1d5a0f6caa8d94e87 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 ad1251a7cb908a97b4bb97834fc39c455cabbc5d..0179a1e652f0c61b34788360e0c57129db0ca323 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 b1291a381c3ca2eb09078958dec0e0f29706a7a3..c340424059185137df158b8dbc19aac60a5fb152 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 b332fe3b1d7d1e9ff2e974cb59b036e2252d0bc9..55c8a28389b00dc5dc6e4360ad4b9536106b5d8b 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 0bbea5403b59178f609661eb2f4fd280822b5b74..b90f5010f8f6b0d18d3389f7e591c98f957c934d 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 15ecb680b068ea83dce525020aae905985159ccf..9097b817770e94351695199ef31e87fdde4c2a4e 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 032d170cbf8278385945eb95208383704ffa3a9a..7bce8245fad97010150e3ebd00bc3c3814532022 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 d9758c908ca1d5bfcde7038eb340a2d06b374923..d40d24a04d3aa62bb01c7a388a585cee0a4dd3b5 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 6f77df0e261d7c1db4fd6f543b4a07c1eaf50352..7fc524ab9f768d0f401bdca725a8e1fba0173f7e 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 4c68a7a733f909b64ddac4610f27a735b7e2d479..be8b957507e754a604bf3e7fad1a80e439d90cf2 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 04d1229646e57e5d8415ea9addcae315141ca671..2df916b132f6bf760921a2f566e518c44fa82cbb 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 afe301ea820079c8b47d61d7034d527f2e8ce0d0..180094022dd874009b38e8255dea94393974f75e 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 b8e34bc44882b4e2168b23922e471a41cb8d0103..e77f2476c1d3d8ff330580fb5a8b33350041adf8 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 7f18cd7528e77be3153107671db448b9d94cd72b..f015c18db76b0d92b579006a2d5242beb13b62a6 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