From 36a7e6221b316a21bd42e594150e7e22d5f77447 Mon Sep 17 00:00:00 2001 From: kwadronaut Date: Sun, 2 Feb 2014 13:51:02 +0100 Subject: cleanup openrc files --- DC-openrc.sh | 60 ----------------------------------- HK-LEAP-platform-kwadronaut-openrc.sh | 24 -------------- HK-openrc.sh | 24 -------------- PP-admin-openrc.sh | 60 ----------------------------------- 4 files changed, 168 deletions(-) delete mode 100644 DC-openrc.sh delete mode 100644 HK-LEAP-platform-kwadronaut-openrc.sh delete mode 100644 HK-openrc.sh delete mode 100644 PP-admin-openrc.sh diff --git a/DC-openrc.sh b/DC-openrc.sh deleted file mode 100644 index 96487be..0000000 --- a/DC-openrc.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash - - -# Nova original used project_id as the *account* that owned resources (servers, -# ip address, ...) With the addition of Keystone we have standardized on the -# term **tenant** as the entity that owns the resources. **novaclient** still -# uses the old deprecated terms project_id. Note that this field should now be -# set to tenant_name, not tenant_id. -export NOVA_PROJECT_ID=admin - - -# In addition to the owning entity (tenant), nova stores the entity performing -# the action as the **user**. -export NOVA_USERNAME=admin - -# With Keystone you pass the keystone password instead of an api key. -# The most recent versions of novaclient use NOVA_PASSWORD instead of NOVA_API_KEY -echo "Please enter your Nova Password: " -read -s NOVA_PASSWORD -export NOVA_PASSWORD -export NOVA_API_KEY=$NOVA_PASSWORD - -# With the addition of Keystone, to use an openstack cloud you should -# authenticate against keystone, which returns a **Token** and **Service -# Catalog**. The catalog contains the endpoint for all services the user/tenant -# has access to - including nova, glance, keystone, swift, ... We currently -# recommend using the 2.0 *auth api*. -# -# *NOTE*: Using the 2.0 *auth api* does not mean that compute api is 2.0. We -# will use the 1.1 *compute api* -export NOVA_URL=http://192.168.3.3:5000/v2.0 - -# Currently novaclient needs you to specify the *compute api* version. This -# needs to match the config of your catalog returned by Keystone. -export NOVA_VERSION=1.1 - - -# Set the ec2 url so euca2ools works -export EC2_URL=http://192.168.3.5:8773/services/Cloud - - -# Access key is set in the initial keystone data to be the same as username -export EC2_ACCESS_KEY=admin -# Secret key is set in the initial keystone data to the admin password -export EC2_SECRET_KEY=$NOVA_PASSWORD - -# set log level to DEBUG (helps debug issues) -# export NOVACLIENT_DEBUG=1 - -# Max time till the vm is bootable -export BOOT_TIMEOUT=15 - -# Max time to wait while vm goes from build to active state -export ACTIVE_TIMEOUT=10 - -# Max time from run instance command until it is running -export RUNNING_TIMEOUT=${RUNNING_TIMEOUT:-$(($BOOT_TIMEOUT + $ACTIVE_TIMEOUT))} - -# Max time to wait for proper IP association and dis-association. -export ASSOCIATE_TIMEOUT=10 diff --git a/HK-LEAP-platform-kwadronaut-openrc.sh b/HK-LEAP-platform-kwadronaut-openrc.sh deleted file mode 100644 index dd824c2..0000000 --- a/HK-LEAP-platform-kwadronaut-openrc.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -# With the addition of Keystone, to use an openstack cloud you should -# authenticate against keystone, which returns a **Token** and **Service -# Catalog**. The catalog contains the endpoint for all services the -# user/tenant has access to - including nova, glance, keystone, swift. -# -# *NOTE*: Using the 2.0 *auth api* does not mean that compute api is 2.0. We -# will use the 1.1 *compute api* -export OS_AUTH_URL=http://192.168.9.3:5000/v2.0 - -# With the addition of Keystone we have standardized on the term **tenant** -# as the entity that owns the resources. -export OS_TENANT_ID=f9d34c2a4eb24d74bdf9fd203ff4b684 -export OS_TENANT_NAME="LEAP - platform" - -# In addition to the owning entity (tenant), openstack stores the entity -# performing the action as the **user**. -export OS_USERNAME=kwadronaut - -# With Keystone you pass the keystone password. -echo "Please enter your OpenStack Password: " -read -s OS_PASSWORD_INPUT -export OS_PASSWORD=$OS_PASSWORD_INPUT diff --git a/HK-openrc.sh b/HK-openrc.sh deleted file mode 100644 index e6d034f..0000000 --- a/HK-openrc.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -# With the addition of Keystone, to use an openstack cloud you should -# authenticate against keystone, which returns a **Token** and **Service -# Catalog**. The catalog contains the endpoint for all services the -# user/tenant has access to - including nova, glance, keystone, swift. -# -# *NOTE*: Using the 2.0 *auth api* does not mean that compute api is 2.0. We -# will use the 1.1 *compute api* -export OS_AUTH_URL=http://192.168.9.3:5000/v2.0 - -# With the addition of Keystone we have standardized on the term **tenant** -# as the entity that owns the resources. -export OS_TENANT_ID=a32a66b2441a4fa18d05bf7cc12f2ac6 -export OS_TENANT_NAME="admin" - -# In addition to the owning entity (tenant), openstack stores the entity -# performing the action as the **user**. -export OS_USERNAME=admin - -# With Keystone you pass the keystone password. -echo "Please enter your OpenStack Password: " -read -s OS_PASSWORD_INPUT -export OS_PASSWORD=$OS_PASSWORD_INPUT diff --git a/PP-admin-openrc.sh b/PP-admin-openrc.sh deleted file mode 100644 index a35c173..0000000 --- a/PP-admin-openrc.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash - - -# Nova original used project_id as the *account* that owned resources (servers, -# ip address, ...) With the addition of Keystone we have standardized on the -# term **tenant** as the entity that owns the resources. **novaclient** still -# uses the old deprecated terms project_id. Note that this field should now be -# set to tenant_name, not tenant_id. -export NOVA_PROJECT_ID=admin - - -# In addition to the owning entity (tenant), nova stores the entity performing -# the action as the **user**. -export NOVA_USERNAME=admin - -# With Keystone you pass the keystone password instead of an api key. -# The most recent versions of novaclient use NOVA_PASSWORD instead of NOVA_API_KEY -echo "Please enter your Nova Password: " -read -s NOVA_PASSWORD -export NOVA_PASSWORD -export NOVA_API_KEY=$NOVA_PASSWORD - -# With the addition of Keystone, to use an openstack cloud you should -# authenticate against keystone, which returns a **Token** and **Service -# Catalog**. The catalog contains the endpoint for all services the user/tenant -# has access to - including nova, glance, keystone, swift, ... We currently -# recommend using the 2.0 *auth api*. -# -# *NOTE*: Using the 2.0 *auth api* does not mean that compute api is 2.0. We -# will use the 1.1 *compute api* -export NOVA_URL=http://192.168.14.3:5000/v2.0 - -# Currently novaclient needs you to specify the *compute api* version. This -# needs to match the config of your catalog returned by Keystone. -export NOVA_VERSION=1.1 - - -# Set the ec2 url so euca2ools works -export EC2_URL=http://192.168.14.5:8773/services/Cloud - - -# Access key is set in the initial keystone data to be the same as username -export EC2_ACCESS_KEY=admin -# Secret key is set in the initial keystone data to the admin password -export EC2_SECRET_KEY=$NOVA_PASSWORD - -# set log level to DEBUG (helps debug issues) -# export NOVACLIENT_DEBUG=1 - -# Max time till the vm is bootable -export BOOT_TIMEOUT=15 - -# Max time to wait while vm goes from build to active state -export ACTIVE_TIMEOUT=10 - -# Max time from run instance command until it is running -export RUNNING_TIMEOUT=${RUNNING_TIMEOUT:-$(($BOOT_TIMEOUT + $ACTIVE_TIMEOUT))} - -# Max time to wait for proper IP association and dis-association. -export ASSOCIATE_TIMEOUT=10 -- cgit v1.2.3