summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCao Xuan Hoang <hoangcx@vn.fujitsu.com>2016-09-29 11:15:32 +0700
committerCao Xuan Hoang <hoangcx@vn.fujitsu.com>2016-09-29 11:15:32 +0700
commit9a5748de215ef21c985e6b03b4601e1b14d771cc (patch)
treeac967bfa3495559eb34403bb2d593cad21e55cf4 /tools
parenta997c966705cefbc815b66793e24bf28eacc43e3 (diff)
downloadnova-9a5748de215ef21c985e6b03b4601e1b14d771cc.tar.gz
Add Apache 2.0 license to source file
As per OpenStack licensing guide lines [1]: [H102 H103] Newly contributed Source Code should be licensed under the Apache 2.0 license. [H104] Files with no code shouldn't contain any license header nor comments, and must be left completely empty. [1] http://docs.openstack.org/developer/hacking/#openstack-licensing Change-Id: I74d25d88ac285c456cbb8874deb000ed782c2192
Diffstat (limited to 'tools')
-rw-r--r--tools/xenserver/destroy_cached_images.py12
-rw-r--r--tools/xenserver/stress_test.py12
2 files changed, 24 insertions, 0 deletions
diff --git a/tools/xenserver/destroy_cached_images.py b/tools/xenserver/destroy_cached_images.py
index b7f0a3bc0e..a330231c46 100644
--- a/tools/xenserver/destroy_cached_images.py
+++ b/tools/xenserver/destroy_cached_images.py
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
"""
destroy_cached_images.py
diff --git a/tools/xenserver/stress_test.py b/tools/xenserver/stress_test.py
index e82b3818ac..de7ad97c8a 100644
--- a/tools/xenserver/stress_test.py
+++ b/tools/xenserver/stress_test.py
@@ -1,3 +1,15 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
"""
This script concurrently builds and migrates instances. This can be useful when
troubleshooting race-conditions in virt-layer code.