aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-09-08 12:28:22 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-09-08 12:29:09 +0200
commit5df60950404c3e00c14b7364e0e3bca9126799db (patch)
treee5580d82e357335f3273101bbfa18965de261b01
parentf3f51c550ef9751bada8ffcd4d4e846c786a26e0 (diff)
downloadrumba-5df60950404c3e00c14b7364e0e3bca9126799db.tar.gz
rumba-5df60950404c3e00c14b7364e0e3bca9126799db.zip
rumba: Update license headers
This makes the license headers uniform and adds the authors and a copyright.
-rw-r--r--rumba/__init__.py24
-rw-r--r--rumba/log.py14
-rw-r--r--rumba/model.py10
-rw-r--r--rumba/prototypes/__init__.py24
-rwxr-xr-xrumba/prototypes/enroll.py25
-rw-r--r--rumba/prototypes/irati.py13
-rw-r--r--rumba/prototypes/irati_templates.py25
-rw-r--r--rumba/prototypes/ouroboros.py13
-rw-r--r--rumba/prototypes/rlite.py13
-rw-r--r--rumba/recpoisson.py25
-rw-r--r--rumba/ssh_support.py14
-rw-r--r--rumba/testbeds/__init__.py24
-rw-r--r--rumba/testbeds/emulab.py14
-rw-r--r--rumba/testbeds/faketestbed.py13
-rw-r--r--rumba/testbeds/jfed.py13
-rw-r--r--rumba/testbeds/qemu.py15
16 files changed, 235 insertions, 44 deletions
diff --git a/rumba/__init__.py b/rumba/__init__.py
index e69de29..16b18f5 100644
--- a/rumba/__init__.py
+++ b/rumba/__init__.py
@@ -0,0 +1,24 @@
+#
+# A library to manage ARCFIRE experiments
+#
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
diff --git a/rumba/log.py b/rumba/log.py
index c509532..c7afbd4 100644
--- a/rumba/log.py
+++ b/rumba/log.py
@@ -1,7 +1,12 @@
#
-# Logging wrapper for Rumba
+# A library to manage ARCFIRE experiments
#
-# Marco Capitani <m.capitani@nextworks.it>
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -15,8 +20,9 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301 USA
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
+
import logging
import sys
diff --git a/rumba/model.py b/rumba/model.py
index 1adc3b0..6303799 100644
--- a/rumba/model.py
+++ b/rumba/model.py
@@ -1,8 +1,12 @@
#
# A library to manage ARCFIRE experiments
#
-# Sander Vrijders <sander.vrijders@intec.ugent.be>
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -16,8 +20,8 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301 USA
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
import abc
import os
diff --git a/rumba/prototypes/__init__.py b/rumba/prototypes/__init__.py
index e69de29..16b18f5 100644
--- a/rumba/prototypes/__init__.py
+++ b/rumba/prototypes/__init__.py
@@ -0,0 +1,24 @@
+#
+# A library to manage ARCFIRE experiments
+#
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
diff --git a/rumba/prototypes/enroll.py b/rumba/prototypes/enroll.py
index 99b49a6..6d55b36 100755
--- a/rumba/prototypes/enroll.py
+++ b/rumba/prototypes/enroll.py
@@ -1,7 +1,26 @@
-#!/usr/bin/env python
-
#
-# Author: Vincenzo Maffione <v.maffione@nextworks.it>
+# A library to manage ARCFIRE experiments
+#
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., http://www.fsf.org/about/contact/.
#
import argparse
diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py
index 14d4c27..f104054 100644
--- a/rumba/prototypes/irati.py
+++ b/rumba/prototypes/irati.py
@@ -1,8 +1,12 @@
#
-# Commands to setup and instruct IRATI
+# A library to manage ARCFIRE experiments
#
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
# Vincenzo Maffione <v.maffione@nextworks.it>
-# Marco Capitani <m.capitani@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -16,8 +20,9 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301 USA
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
+
import copy
import json
diff --git a/rumba/prototypes/irati_templates.py b/rumba/prototypes/irati_templates.py
index 7d06c96..0b2b40d 100644
--- a/rumba/prototypes/irati_templates.py
+++ b/rumba/prototypes/irati_templates.py
@@ -1,3 +1,28 @@
+#
+# A library to manage ARCFIRE experiments
+#
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
+
# Environment setup for VMs. Standard linux approach
env_dict = {'installpath': '/usr', 'varpath': ''}
diff --git a/rumba/prototypes/ouroboros.py b/rumba/prototypes/ouroboros.py
index 43cb1d5..afc80d3 100644
--- a/rumba/prototypes/ouroboros.py
+++ b/rumba/prototypes/ouroboros.py
@@ -1,7 +1,12 @@
#
-# Commands to instruct Ouroboros
+# A library to manage ARCFIRE experiments
#
-# Sander Vrijders <sander.vrijders@intec.ugent.be>
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -15,8 +20,8 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301 USA
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
import rumba.ssh_support as ssh
import rumba.model as mod
diff --git a/rumba/prototypes/rlite.py b/rumba/prototypes/rlite.py
index abab080..c4c34e6 100644
--- a/rumba/prototypes/rlite.py
+++ b/rumba/prototypes/rlite.py
@@ -1,7 +1,12 @@
#
-# Commands to setup and instruct rlite
+# A library to manage ARCFIRE experiments
#
-# Author: Vincenzo Maffione <v.maffione@nextworks.it>
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -15,8 +20,8 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301 USA
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
import rumba.ssh_support as ssh
import rumba.model as mod
diff --git a/rumba/recpoisson.py b/rumba/recpoisson.py
index 3c1e6fe..d594811 100644
--- a/rumba/recpoisson.py
+++ b/rumba/recpoisson.py
@@ -1,3 +1,28 @@
+#
+# A library to manage ARCFIRE experiments
+#
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
+
import math
import random
diff --git a/rumba/ssh_support.py b/rumba/ssh_support.py
index 53d81a1..9261ce0 100644
--- a/rumba/ssh_support.py
+++ b/rumba/ssh_support.py
@@ -1,7 +1,12 @@
#
-# SSH support for Rumba
+# A library to manage ARCFIRE experiments
#
-# Sander Vrijders <sander.vrijders@intec.ugent.be>
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -15,8 +20,9 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301 USA
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
+
import os
import paramiko
diff --git a/rumba/testbeds/__init__.py b/rumba/testbeds/__init__.py
index e69de29..16b18f5 100644
--- a/rumba/testbeds/__init__.py
+++ b/rumba/testbeds/__init__.py
@@ -0,0 +1,24 @@
+#
+# A library to manage ARCFIRE experiments
+#
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
diff --git a/rumba/testbeds/emulab.py b/rumba/testbeds/emulab.py
index 53eebe5..66c5b7f 100644
--- a/rumba/testbeds/emulab.py
+++ b/rumba/testbeds/emulab.py
@@ -1,8 +1,12 @@
#
-# Emulab support for Rumba
+# A library to manage ARCFIRE experiments
#
-# Sander Vrijders <sander.vrijders@intec.ugent.be>
-# Wouter Tavernier <wouter.tavernier@intec.ugent.be>
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -16,8 +20,8 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301 USA
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
import os
import time
diff --git a/rumba/testbeds/faketestbed.py b/rumba/testbeds/faketestbed.py
index 10d2580..6512850 100644
--- a/rumba/testbeds/faketestbed.py
+++ b/rumba/testbeds/faketestbed.py
@@ -1,7 +1,12 @@
#
-# Fake testbed for Rumba testing
+# A library to manage ARCFIRE experiments
#
-# Vincenzo Maffione <v.maffione@nextworks.it>
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -15,8 +20,8 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301 USA
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
import rumba.model as mod
import rumba.log as log
diff --git a/rumba/testbeds/jfed.py b/rumba/testbeds/jfed.py
index 8867dc6..c541037 100644
--- a/rumba/testbeds/jfed.py
+++ b/rumba/testbeds/jfed.py
@@ -1,7 +1,12 @@
#
-# jFed support for Rumba
+# A library to manage ARCFIRE experiments
#
-# Sander Vrijders <sander.vrijders@intec.ugent.be>
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -15,8 +20,8 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301 USA
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
import subprocess
import getpass
diff --git a/rumba/testbeds/qemu.py b/rumba/testbeds/qemu.py
index 3d30ce2..5a157bd 100644
--- a/rumba/testbeds/qemu.py
+++ b/rumba/testbeds/qemu.py
@@ -1,8 +1,12 @@
#
-# QEMU testbed for Rumba
+# A library to manage ARCFIRE experiments
#
-# Vincenzo Maffione <v.maffione@nextworks.it>
-# Marco Capitani <m.capitani@nextworks.it>
+# Copyright (C) 2017 Nextworks S.r.l.
+# Copyright (C) 2017 imec
+#
+# Sander Vrijders <sander.vrijders@ugent.be>
+# Vincenzo Maffione <v.maffione@nextworks.it>
+# Marco Capitani <m.capitani@nextworks.it>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -16,8 +20,9 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301 USA
+# Foundation, Inc., http://www.fsf.org/about/contact/.
+#
+
import multiprocessing
import time
import subprocess