diff --git a/docs/source/quickstart.rst b/docs/source/quickstart.rst index ece29b9..cb62d07 100644 --- a/docs/source/quickstart.rst +++ b/docs/source/quickstart.rst @@ -17,7 +17,7 @@ uses KVM hypervisors. Simulation Demonstration ------------------------ -Installation +Testpool Installation ------------ We'll install Testpool from Debian. @@ -64,6 +64,10 @@ We'll install Testpool from Debian. http://127.0.0.1:8000/testpool/view/dashboard + Alternatively, *tpl-demo* can be run with *--product docker*. Don't run + tpl-demo if going through the next section in the **Short Tour**. + + A Short Tour ------------ @@ -79,7 +83,7 @@ manage several hypervisors. Testpool supports KVM which is required for this demonstration. To expedite this guide, Testpool content is installed on the KVM hypervisor. -For final installation, Testpool can be installed either the hypervisor or a +For final installation, Testpool can be installed either on the hypervisor or a separate system. The differences will be identified during the installation steps. @@ -106,7 +110,7 @@ For this quick start guide, we'll need a single VM named test.template on the hypervisor which is off and ready to be cloned. When the VMs starts it must use DHCP to acquire its IP address. What the VM is running is not important and there are good instructions on the internet for setting up a -KVM hypervisor and creating a VM. For installing KVM on Ubuntu 16.04, refer +KVM hypervisor and creating a VM. For installing KVM on Ubuntu 18.04, refer to this site https://help.ubuntu.com/community/KVM/Installation. Once complete, you will need the following information: - user and password that can install VMs. This is the user that is part of @@ -115,17 +119,17 @@ to this site https://help.ubuntu.com/community/KVM/Installation. Once complete, hypervisor For the rest of this guide, we'll assume the user tadmin with password -'password'. Since Testpool is installed on the hypervisor, the IP address used is -localhost. +'password'. Since Testpool is installed on the hypervisor, the IP address used +is localhost. Now a single VM is required which represents the template that is managed and cloned by Testpool. Using virt-manager, these instructions will create an Ubuntu 16.04 server VM. #. sudo apt-get install virt-manager - #. Run virt-manager - #. From File, choose *Add Connection*. - #. If applicable, choose *Connect to remote host* + #. Run **virt-manager** + #. From File, choose **Add Connection**. + #. If applicable, choose **Connect to remote host** #. Enter admin for **Username** and IP address for the **Hostname**. This may be either localhost or the IP address of the KVM hypervisor. The default ssh method will probably work. @@ -133,34 +137,11 @@ an Ubuntu 16.04 server VM. #. Select Hypervisor in the virt-manager, #. Choose **Create a new virtual manager**. #. Choose **Network Install (HTTP, FTP or NFS)** then Forward. - #. For URL, enter **http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/** The URL changes periodically, check the Ubuntu site for the + #. For URL, enter **http://us.archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/** The URL changes periodically, check the Ubuntu site for the latest valid links. - - -Testpool Installation ---------------------- - -We'll install Testpool from source. - - #. Download Testpool from github release area:: - - wget https://github.com/testcraftsman/testpool/archive/v0.0.7.tar.gz - tar -xf testpool-0.0.7.tar.gz - - #. Install several required packages:: - - cd testpool - cat requirements.system | sudo xargs apt-get install -y - sudo apt-file update - sudo pip install -qr requirements.txt - - #. Run Testpool database. In a shell run:: - - ./bin/tpl-db runserver -v 3 - - #. In a second shell, run the Testpool daemon:: - - ./bin/tpl-daemon -v + #. Choose appropriate RAM and CPU. For a demo, select 512 and 1 CPU. + #. Create a disk with 5 GiB of space. + #. Then select Finish fro the network setup. A Short Tour ------------ diff --git a/examples/conftest.py b/examples/conftest.py index b7861af..021d4b9 100644 --- a/examples/conftest.py +++ b/examples/conftest.py @@ -1,20 +1,4 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . - +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Populate test database for examples. Check to see if the user has created an example test profile, if not diff --git a/examples/tpldemo.py b/examples/tpldemo.py index 9ee3c54..83c72f4 100755 --- a/examples/tpldemo.py +++ b/examples/tpldemo.py @@ -80,6 +80,7 @@ def release(self, rsrc): FAKE_POOL_NAMES = ["ubuntu16.04", "centos7.0", "vmware", "ESX6.5"] DOCKER_POOL_NAMES = ["nginx"] +KVM_POOL_NAMES = ["ubuntu1804"] class PoolBaseIfc(object): @@ -148,6 +149,26 @@ def sleep(self): time.sleep(10) +class KvmPool(PoolBaseIfc): + """ Handle KVM demo. """ + + def add(self): + """ Add docker pool. """ + + resource_maxes = [5] + template_name = "test.template" + for (name, resource_max) in zip(KVM_POOL_NAMES, resource_maxes): + logging.info("adding pool %s", name) + self.rest.pool_add(name, "qemu:///system", self.product, + template_name, resource_max) + return KVM_POOL_NAMES + + def sleep(self): + """ Sleep between docker operations. """ + # pylint: disable=no-self-use + time.sleep(120) + + def pool_base_get(rest, product): """ Return appropriate pool manager. """ @@ -155,6 +176,8 @@ def pool_base_get(rest, product): return FakePool(rest, product) elif product == "docker": return DockerPool(rest, product) + elif product == "kvm": + return KvmPool(rest, product) else: raise ValueError("unsupported product %s" % product) diff --git a/testpool/__init__.py b/testpool/__init__.py index 91976c0..0cfc83c 100644 --- a/testpool/__init__.py +++ b/testpool/__init__.py @@ -1,2 +1,2 @@ -# (c) 2015 Mark Hamilton, +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Hold general testbed content. """ diff --git "a/testpool/core/\\" "b/testpool/core/\\" deleted file mode 100644 index 4dc2d93..0000000 --- "a/testpool/core/\\" +++ /dev/null @@ -1,50 +0,0 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . -""" -Contains functionality common to extensions. -Handles logging. -""" -import logging -import testpool.settings - - -def create(): - """ Create logger for tbd application. """ - - logger = logging.getLogger("testpool") - - if len(logger.handlers) == 0: - formatter = logging.Formatter(testpool.settings.FMT) - console = logging.StreamHandler() - console.setFormatter(formatter) - logger.addHandler(console) - - LOGGER = logger - return logger - - -def args_process(logger, args): - """ Process any generic parameters. """ - - if args.verbose == 1: - logger.setLevel(level=logging.INFO) - logger.info("verbosity level set to INFO") - elif args.verbose > 1: - logger.setLevel(level=logging.DEBUG) - logger.info("verbosity level set to DEBUG") - - return logger diff --git a/testpool/core/api.py b/testpool/core/api.py index c8b13e8..d86bafb 100644 --- a/testpool/core/api.py +++ b/testpool/core/api.py @@ -1,4 +1,4 @@ -# (c) 2015 Mark Hamilton, +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Pool API. """ diff --git a/testpool/core/commands.py b/testpool/core/commands.py index eed4f2b..8489288 100644 --- a/testpool/core/commands.py +++ b/testpool/core/commands.py @@ -1,4 +1,4 @@ -# (c) 2015 Mark Hamilton, +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Contains functionality common to extensions. """ diff --git a/testpool/core/ext.py b/testpool/core/ext.py index 0d4d23f..50f80f5 100644 --- a/testpool/core/ext.py +++ b/testpool/core/ext.py @@ -1,4 +1,4 @@ -# (c) 2015 Mark Hamilton, +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Code that handles extensions. """ import sys import unittest diff --git a/testpool/core/logger.py b/testpool/core/logger.py index 7f88492..73ce077 100644 --- a/testpool/core/logger.py +++ b/testpool/core/logger.py @@ -1,4 +1,4 @@ -# (c) 2015 Mark Hamilton, +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Contains functionality common to extensions. Handles logging. diff --git a/testpool/core/pool.py b/testpool/core/pool.py index 52a9d86..7be40c9 100644 --- a/testpool/core/pool.py +++ b/testpool/core/pool.py @@ -1,4 +1,4 @@ -# (c) 2015 Mark Hamilton, +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Fake pools used for development. diff --git a/testpool/core/resource.py b/testpool/core/resource.py index cadea93..b310032 100644 --- a/testpool/core/resource.py +++ b/testpool/core/resource.py @@ -1,4 +1,4 @@ -# (c) 2015 Mark Hamilton, +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Fake pools used for development. diff --git a/testpool/core/server.py b/testpool/core/server.py index b5c0ae3..5676354 100644 --- a/testpool/core/server.py +++ b/testpool/core/server.py @@ -1,4 +1,4 @@ -# (c) 2015 Mark Hamilton, +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Test pool Server. Server algorithm. resources, given a current state, can be assigned an action diff --git a/testpool/db/djconfig/settings/components/base.py b/testpool/db/djconfig/settings/components/base.py index a4fb67e..8af0d60 100644 --- a/testpool/db/djconfig/settings/components/base.py +++ b/testpool/db/djconfig/settings/components/base.py @@ -1,19 +1,4 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Django settings for djconfig project. diff --git a/testpool/db/testpool_docker/api.py b/testpool/db/testpool_docker/api.py index 4c3d779..0772753 100644 --- a/testpool/db/testpool_docker/api.py +++ b/testpool/db/testpool_docker/api.py @@ -1,19 +1,4 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Holds views for tests results. """ diff --git a/testpool/db/testpool_docker/urls.py b/testpool/db/testpool_docker/urls.py index 74434fe..97ff13d 100644 --- a/testpool/db/testpool_docker/urls.py +++ b/testpool/db/testpool_docker/urls.py @@ -1,19 +1,4 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ URLS pools. """ from django.conf.urls import url diff --git a/testpool/db/testpool_pool/api.py b/testpool/db/testpool_pool/api.py index b13ec5b..e16eb09 100644 --- a/testpool/db/testpool_pool/api.py +++ b/testpool/db/testpool_pool/api.py @@ -1,19 +1,4 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Holds views for tests results. """ @@ -200,6 +185,8 @@ def pool_add(request, pool_name): LOGGER.info("testpool_pool.api.pool_add %s", pool_name) + print "MARK: 1" + if request.method != 'POST': msg = "pool_add method %s unsupported" % request.method logging.error(msg) @@ -221,22 +208,29 @@ def pool_add(request, pool_name): msg = "pool_add requires product" return JsonResponse({"msg": msg}, status=404) + print "MARK: 2" resource_max = request.GET["resource_max"] template_name = request.GET["template_name"] connection = request.GET["connection"] product = request.GET["product"] + print "MARK: 2", product try: resource_max = int(resource_max) pool1 = testpool.core.algo.pool_add(connection, product, pool_name, resource_max, template_name) + print "MARK: 3", product, pool1 serializer = PoolSerializer(pool1) + print "MARK: 4", product, pool1 return JSONResponse(serializer.data) except Pool.DoesNotExist, arg: + logging.exception(arg) msg = "pool %s not found" % pool_name logging.error(msg) return JsonResponse({"msg": msg}, status=403) except Exception, arg: + logging.exception(arg) + print "MARK: 4", product, pool1, arg logging.error(arg) return JsonResponse({"msg": arg}, status=500) diff --git a/testpool/db/testpool_pool/serializers.py b/testpool/db/testpool_pool/serializers.py index e8dc4d0..d3ccd19 100644 --- a/testpool/db/testpool_pool/serializers.py +++ b/testpool/db/testpool_pool/serializers.py @@ -1,19 +1,4 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Pool serializers for model data. """ diff --git a/testpool/db/testpool_pool/urls.py b/testpool/db/testpool_pool/urls.py index a50687e..8d1d903 100644 --- a/testpool/db/testpool_pool/urls.py +++ b/testpool/db/testpool_pool/urls.py @@ -1,19 +1,4 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ URLS pools. """ from django.conf.urls import url diff --git a/testpool/db/testpool_resource/api.py b/testpool/db/testpool_resource/api.py index 6d543c6..2465291 100644 --- a/testpool/db/testpool_resource/api.py +++ b/testpool/db/testpool_resource/api.py @@ -1,19 +1,4 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Holds views for tests results. """ diff --git a/testpool/db/testpool_resource/urls.py b/testpool/db/testpool_resource/urls.py index e99cb4a..fbbce6e 100644 --- a/testpool/db/testpool_resource/urls.py +++ b/testpool/db/testpool_resource/urls.py @@ -1,19 +1,4 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ URLS for Host content. """ diff --git a/testpool/db/testpooldb/__init__.py b/testpool/db/testpooldb/__init__.py index d919a2f..510c83a 100644 --- a/testpool/db/testpooldb/__init__.py +++ b/testpool/db/testpooldb/__init__.py @@ -1,19 +1,2 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . -""" -Test database. -""" +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved +""" Test database. """ diff --git a/testpool/db/testpooldb/admin.py b/testpool/db/testpooldb/admin.py index a6a8621..3d543e7 100644 --- a/testpool/db/testpooldb/admin.py +++ b/testpool/db/testpooldb/admin.py @@ -1,19 +1,4 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Admin interface to test models. """ diff --git a/testpool/db/testpooldb/models.py b/testpool/db/testpooldb/models.py index 3f7851d..24244f6 100644 --- a/testpool/db/testpooldb/models.py +++ b/testpool/db/testpooldb/models.py @@ -1,22 +1,5 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . -""" - Test schema for tracking tests and their results. -""" +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved +""" Test schema for tracking tests and their results. """ import traceback import logging import datetime diff --git a/testpool/db/testpooldb/tests.py b/testpool/db/testpooldb/tests.py index 7979cb4..bc7be76 100644 --- a/testpool/db/testpooldb/tests.py +++ b/testpool/db/testpooldb/tests.py @@ -1,19 +1,4 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Create your tests here. """ diff --git a/testpool/libexec/docker/testsuite.py b/testpool/libexec/docker/testsuite.py index 155da7f..ce040c4 100644 --- a/testpool/libexec/docker/testsuite.py +++ b/testpool/libexec/docker/testsuite.py @@ -1,20 +1,4 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . - +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Test docker API diff --git a/testpool/libexec/kvm/testsuite.py b/testpool/libexec/kvm/testsuite.py index 72fe065..f85cafe 100644 --- a/testpool/libexec/kvm/testsuite.py +++ b/testpool/libexec/kvm/testsuite.py @@ -1,20 +1,4 @@ -# (c) 2015 Mark Hamilton, -# -# This file is part of testpool -# -# Testbed is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Testbed 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Testdb. If not, see . - +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Tests KVM API diff --git a/testpool/settings.py b/testpool/settings.py index 7fd0407..231e7b6 100644 --- a/testpool/settings.py +++ b/testpool/settings.py @@ -1,4 +1,4 @@ -# (c) 2015 Mark Hamilton, +# Copyright (c) 2015-2018 Mark Hamilton, All rights reserved """ Provides general settings for testpool. """