From d3ada7b2bf483d90f695fb064a810a948f246dae Mon Sep 17 00:00:00 2001 From: Michael Boniface <mjb@it-innovation.soton.ac.uk> Date: Tue, 18 Dec 2018 10:53:03 +0000 Subject: [PATCH] adding all copyright headers --- Vagrantfile | 21 +++++++++++++++ docs/aggregation.md | 2 +- docs/dashboards.md | 23 ++++++++++++++++ docs/flips-integration.md | 23 ++++++++++++++++ docs/service-management-decisions.md | 23 ++++++++++++++++ scripts/clmc-agent/build-telegraf.sh | 26 +++++++++++++++++++ scripts/clmc-agent/configure.sh | 2 +- scripts/clmc-agent/telegraf.conf | 2 +- scripts/clmc-service/install-clmc-service.sh | 25 +++++++++++++++++- scripts/clmc-service/install-neo4j.sh | 24 +++++++++++++++++ scripts/clmc-service/install-tick-stack.sh | 24 +++++++++++++++++ scripts/clmc-service/nginx.conf | 25 ++++++++++++++++++ scripts/test/deleteallvms.py | 1 + scripts/test/fixture.sh | 24 +++++++++++++++++ scripts/test/install-git-runner.sh | 26 ++++++++++++++++++- .../generate_network_measurements.py | 25 ++++++++++++++++++ 16 files changed, 291 insertions(+), 5 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index ae26dee..02fc7bb 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 bedb0e2..41a9298 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 2f4f8dd..6960170 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 23f455a..03ec883 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 53b037a..c9fffce 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 4e071c6..10b6039 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 13a87bf..9b2f035 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 039502c..d073547 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 d2d45d5..a3755cd 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 e0a7deb..a841a48 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 2ca0c54..5896abb 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 bfdc464..0dab3de 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 27bbeee..1c411c8 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 a716574..2cfbae5 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 10aed80..5866998 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 5d1a162..14eb8b4 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 -- GitLab