From 4956a64ce1e53acefa5fab3c5200ce90ec27c025 Mon Sep 17 00:00:00 2001 From: tanlin Date: Thu, 13 Feb 2014 16:52:11 +0800 Subject: [PATCH] Rename Openstack to OpenStack Change-Id: I64530a086f591a2f0e33ab734e4241b4c9846820 --- .../services/volume/xml/admin/volume_hosts_client.py | 2 +- tempest/test.py | 2 +- tools/install_venv.py | 6 +++--- tools/tempest_auto_config.py | 12 ++++++------ 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tempest/services/volume/xml/admin/volume_hosts_client.py b/tempest/services/volume/xml/admin/volume_hosts_client.py index 7278fd9f36..7f4c4e7080 100644 --- a/tempest/services/volume/xml/admin/volume_hosts_client.py +++ b/tempest/services/volume/xml/admin/volume_hosts_client.py @@ -1,4 +1,4 @@ -# Copyright 2013 Openstack Foundation. +# Copyright 2013 OpenStack Foundation. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/tempest/test.py b/tempest/test.py index 5464c032b2..810964dff7 100644 --- a/tempest/test.py +++ b/tempest/test.py @@ -277,7 +277,7 @@ class BaseTestCase(testtools.TestCase, @classmethod def get_client_manager(cls, interface=None): """ - Returns an Openstack client manager + Returns an OpenStack client manager """ cls.isolated_creds = isolated_creds.IsolatedCreds( cls.__name__, network_resources=cls.network_resources) diff --git a/tools/install_venv.py b/tools/install_venv.py index e41ca43528..96b8279777 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -25,12 +25,12 @@ import install_venv_common as install_venv # noqa def print_help(venv, root): help = """ - Openstack development environment setup is complete. + OpenStack development environment setup is complete. - Openstack development uses virtualenv to track and manage Python + OpenStack development uses virtualenv to track and manage Python dependencies while in development and testing. - To activate the Openstack virtualenv for the extent of your current shell + To activate the OpenStack virtualenv for the extent of your current shell session you can run: $ source %s/bin/activate diff --git a/tools/tempest_auto_config.py b/tools/tempest_auto_config.py index 9aeb077789..5b8d05be7f 100644 --- a/tools/tempest_auto_config.py +++ b/tools/tempest_auto_config.py @@ -13,14 +13,14 @@ # License for the specific language governing permissions and limitations # under the License. # -# This script aims to configure an initial Openstack environment with all the -# necessary configurations for tempest's run using nothing but Openstack's +# This script aims to configure an initial OpenStack environment with all the +# necessary configurations for tempest's run using nothing but OpenStack's # native API. # That includes, creating users, tenants, registering images (cirros), # configuring neutron and so on. # # ASSUMPTION: this script is run by an admin user as it is meant to configure -# the Openstack environment prior to actual use. +# the OpenStack environment prior to actual use. # Config import ConfigParser @@ -32,7 +32,7 @@ import urllib2 import glanceclient as glance_client import keystoneclient.v2_0.client as keystone_client -# Import Openstack exceptions +# Import OpenStack exceptions import glanceclient.exc as glance_exception import keystoneclient.exceptions as keystone_exception @@ -88,7 +88,7 @@ class ClientManager(object): def get_image_client(self, version="1", *args, **kwargs): """ - This method returns Openstack glance python client + This method returns OpenStack glance python client :param version: a string representing the version of the glance client to use. :param string endpoint: A user-supplied endpoint URL for the glance @@ -333,7 +333,7 @@ def create_images(image_client, config, config_section, """ Creates images for tempest's use and registers the environment variables IMAGE_ID and IMAGE_ID_ALT with registered images - :param image_client: Openstack python image client + :param image_client: OpenStack python image client :param config: a ConfigParser object representing the tempest config file :param config_section: the section name where the IMAGE ids are set :param download_url: the URL from which we should download the UEC tar