diff --git a/Vagrantfile b/Vagrantfile index ae26dee0f94f528bc889d52bc5a317b1fca380ed..02fc7bb504c593f0da8c3dc4e28c27f4da86525d 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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 : 18-12-2018 +## Created for Project : FLAME + $lxc_script = <<-SCRIPT apt-get update diff --git a/docs/aggregation.md b/docs/aggregation.md index bedb0e28c57adb9487d443bcf14c4e9b7c2bfcda..41a929839ee666ba95ce01d72212f9193c7114ce 100644 --- a/docs/aggregation.md +++ b/docs/aggregation.md @@ -1,5 +1,5 @@ <!-- -// © University of Southampton IT Innovation Centre, 2017 +// © University of Southampton IT Innovation Centre, 2018 // // Copyright in this software belongs to University of Southampton // IT Innovation Centre of Gamma House, Enterprise Road, diff --git a/docs/dashboards.md b/docs/dashboards.md index 2f4f8dd803a4907f47cf39ef2c3abcdbf3132db1..69601709d1809745f273e11f39dafd8e2a2b33e2 100644 --- a/docs/dashboards.md +++ b/docs/dashboards.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 : Nikolay Stanchev, Michael Boniface +// Created Date : 27-04-2018 +// Created for Project : FLAME +--> + # Sample Chronograf Dashboards The folder located at src/test/clmctest/dashboards contains several sample dashboards for use in Chronograf. diff --git a/docs/flips-integration.md b/docs/flips-integration.md index 23f455a7a6c38cf38aa5d8b4aadfd5486ae11186..03ec883ccf517be698351835b2a097e5ea23d6fc 100644 --- a/docs/flips-integration.md +++ b/docs/flips-integration.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 : 18-12-2018 +// Created for Project : FLAME +--> + # **Service Management and Control Decisions** © University of Southampton IT Innovation Centre, 2018 diff --git a/docs/service-management-decisions.md b/docs/service-management-decisions.md index 53b037a2328d7161bba19d47048279588e8d3eac..c9fffce0c36c2283809f4a4351971240740214fe 100644 --- a/docs/service-management-decisions.md +++ b/docs/service-management-decisions.md @@ -1,3 +1,26 @@ +<!-- +// © 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 : 18-12-2017 +// Created for Project : FLAME +--> + # **Service Management and Control Decisions** © University of Southampton IT Innovation Centre, 2017 diff --git a/scripts/clmc-agent/build-telegraf.sh b/scripts/clmc-agent/build-telegraf.sh index 4e071c6d6d9e78e7b07bcc6be9c6b74586dc473f..10b60396b0f50051911bbffd7d71cd73ec8a5098 100755 --- a/scripts/clmc-agent/build-telegraf.sh +++ b/scripts/clmc-agent/build-telegraf.sh @@ -1,4 +1,30 @@ #!/bin/bash +#///////////////////////////////////////////////////////////////////////// +#// +#// (c) 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 : 13/12/2017 +#// Updated By : Nikolay Stanchev +#// Updated Date : 30/08/2018 +#// Created for Project : FLAME +#// +#///////////////////////////////////////////////////////////////////////// # install build prequisites apt-get install ruby ruby-dev rubygems build-essential rpm -y diff --git a/scripts/clmc-agent/configure.sh b/scripts/clmc-agent/configure.sh index 13a87bf9e794a017c062c74a29718459219afab0..9b2f0355276e0911461de094ad7a5b55bc4af5c2 100755 --- a/scripts/clmc-agent/configure.sh +++ b/scripts/clmc-agent/configure.sh @@ -1,7 +1,7 @@ #!/bin/bash #///////////////////////////////////////////////////////////////////////// #// -#// (c) University of Southampton IT Innovation Centre, 2017 +#// (c) University of Southampton IT Innovation Centre, 2018 #// #// Copyright in this software belongs to University of Southampton #// IT Innovation Centre of Gamma House, Enterprise Road, diff --git a/scripts/clmc-agent/telegraf.conf b/scripts/clmc-agent/telegraf.conf index 039502c4b469c2554dad3084222f83b88d4f757f..d0735478d38a60f6793b2882f1886d0aeb3d0466 100644 --- a/scripts/clmc-agent/telegraf.conf +++ b/scripts/clmc-agent/telegraf.conf @@ -1,4 +1,4 @@ -## © University of Southampton IT Innovation Centre, 2017 +## © University of Southampton IT Innovation Centre, 2018 ## ## Copyright in this software belongs to University of Southampton ## IT Innovation Centre of Gamma House, Enterprise Road, diff --git a/scripts/clmc-service/install-clmc-service.sh b/scripts/clmc-service/install-clmc-service.sh index d2d45d527357f5f70ef08e6ee4f74a38876d6506..a3755cd4ce86d7147381b0d5cfae188b41f03324 100755 --- a/scripts/clmc-service/install-clmc-service.sh +++ b/scripts/clmc-service/install-clmc-service.sh @@ -1,5 +1,28 @@ #!/bin/bash - +#///////////////////////////////////////////////////////////////////////// +#// +#// (c) 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, Nikolay Sanchev +#// Created Date : 13/12/2018 +#// Created for Project : FLAME +#// +#///////////////////////////////////////////////////////////////////////// apt-get update apt-get install libssl-dev -y diff --git a/scripts/clmc-service/install-neo4j.sh b/scripts/clmc-service/install-neo4j.sh index e0a7deba8cf7d0ecbfbbbe0adee2d099f251b325..a841a48d7744880b6587456024f124fcc80c10b6 100755 --- a/scripts/clmc-service/install-neo4j.sh +++ b/scripts/clmc-service/install-neo4j.sh @@ -1,4 +1,28 @@ #!/bin/bash +#///////////////////////////////////////////////////////////////////////// +#// +#// (c) 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, Nikolay Sanchev +#// Created Date : 13/12/2018 +#// Created for Project : FLAME +#// +#///////////////////////////////////////////////////////////////////////// # status of neo4j can be found using: journalctl -e -u neo4j # Directories: diff --git a/scripts/clmc-service/install-tick-stack.sh b/scripts/clmc-service/install-tick-stack.sh index 2ca0c5464429309afbad3f6ea429dfe6e5cdeb4a..5896abb920f5eb94704a06e1439a8112e24c6468 100755 --- a/scripts/clmc-service/install-tick-stack.sh +++ b/scripts/clmc-service/install-tick-stack.sh @@ -1,4 +1,28 @@ #!/bin/bash +#///////////////////////////////////////////////////////////////////////// +#// +#// (c) 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, Nikolay Sanchev +#// Created Date : 13/12/2018 +#// Created for Project : FLAME +#// +#///////////////////////////////////////////////////////////////////////// echo "----> Installing Tick Stack" # Define tickstack software versions diff --git a/scripts/clmc-service/nginx.conf b/scripts/clmc-service/nginx.conf index bfdc4641147d52599aa9fec4c1af1d0fcd6e0064..0dab3defb2a3a106a94f8ca3166a6ae678614f56 100644 --- a/scripts/clmc-service/nginx.conf +++ b/scripts/clmc-service/nginx.conf @@ -1,3 +1,28 @@ +#///////////////////////////////////////////////////////////////////////// +#// +#// (c) 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 Sanchev +#// Created Date : 13/12/2018 +#// Created for Project : FLAME +#// +#///////////////////////////////////////////////////////////////////////// + user www-data; worker_processes auto; pid /run/nginx.pid; diff --git a/scripts/test/deleteallvms.py b/scripts/test/deleteallvms.py index 27bbeee836b3cf2c960b626fbc4a5399ca967cff..1c411c8825d19f9aa758b7e05857bc4e495938f4 100644 --- a/scripts/test/deleteallvms.py +++ b/scripts/test/deleteallvms.py @@ -19,6 +19,7 @@ ## Created By : Michael Boniface ## Created Date : 28-03-2018 ## Created for Project : FLAME + import subprocess import sys diff --git a/scripts/test/fixture.sh b/scripts/test/fixture.sh index a7165742181b29ad435ee8da14e2c25173e7944b..2cfbae5fdf77a33fde8360058158bee569d14140 100755 --- a/scripts/test/fixture.sh +++ b/scripts/test/fixture.sh @@ -1,4 +1,28 @@ #!/bin/bash +#///////////////////////////////////////////////////////////////////////// +#// +#// (c) 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 : 13/12/2018 +#// Created for Project : FLAME +#// +#///////////////////////////////////////////////////////////////////////// repo_root="/vagrant" target_root="/opt/clmc" diff --git a/scripts/test/install-git-runner.sh b/scripts/test/install-git-runner.sh index 10aed80a5ee9421f3e449ddf179499b6004713ec..58669987f4a4940f1cc3e3003ac228cc69bb9452 100755 --- a/scripts/test/install-git-runner.sh +++ b/scripts/test/install-git-runner.sh @@ -1,6 +1,30 @@ #!/bin/bash -apt-get update +#///////////////////////////////////////////////////////////////////////// +#// +#// (c) 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 : 13/12/2018 +#// Created for Project : FLAME +#// +#///////////////////////////////////////////////////////////////////////// +apt-get update wget -O /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64 chmod +x /usr/local/bin/gitlab-runner diff --git a/src/service/clmcservice/generate_network_measurements.py b/src/service/clmcservice/generate_network_measurements.py index 5d1a16268052771c0675094a3872e01c05e7917a..14eb8b4dbdd0d985dacbabc11289ebe442e5d82b 100644 --- a/src/service/clmcservice/generate_network_measurements.py +++ b/src/service/clmcservice/generate_network_measurements.py @@ -1,3 +1,28 @@ +#!/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 : 25-06-2018 +// Created for Project : FLAME +""" + + import getopt import sys from itertools import permutations