This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RackspaceNodeDriver(OpenStack_1_1_NodeDriver): | |
name = 'Rackspace Cloud' | |
website = 'http://www.rackspace.com' | |
connectionCls = RackspaceConnection | |
type = Provider.RACKSPACE | |
api_name = None | |
def __init__(self, key, secret=None, secure=True, host=None, port=None, | |
region='dfw', **kwargs): | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def __init__(self, id, name, size, driver, extra=None): | |
self.id = id | |
self.name = name | |
self.size = size | |
self.driver = driver | |
self.extra = extra | |
UuidMixin.__init__(self) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# AWS environments root | |
AWS_ENV_ROOT="${HOME}/.aws" | |
# Make sure we got a valid environment variable | |
# | |
if [[ -z "${1}" ]] || [[ ! -d "${AWS_ENV_ROOT}/${1}/" ]]; then | |
echo "No environment name specified or the environment directory is missing." | |
echo | |
echo "Usage:" | |
echo "setup-aws-env.sh <environment>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Inputs/Generation | |
http://metrics.codahale.com/ | |
http://bazaarvoice.github.com/snitch/ | |
Collection |
NewerOlder