summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-10-10 12:38:13 +0000
committerGerrit Code Review <review@openstack.org>2016-10-10 12:38:13 +0000
commitfa4dc18e41f5d821a86f2dcf14ef1aae4e39ecd7 (patch)
tree39e30b9c24c4b1ad85dcf9c67b0e135cc5460922 /tools
parent6b62b0f228600a3fa7cfb0d3d29fc180fc8affb2 (diff)
parent9a5748de215ef21c985e6b03b4601e1b14d771cc (diff)
downloadnova-fa4dc18e41f5d821a86f2dcf14ef1aae4e39ecd7.tar.gz
Merge "Add Apache 2.0 license to source file"
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.