[in progress] Azure support.

This commit is contained in:
Luke Sneeringer
2014-07-28 13:22:58 -05:00
parent e19984d6db
commit 95567ff004
8 changed files with 324 additions and 29 deletions

View File

@@ -437,6 +437,42 @@ GCE_EXCLUDE_EMPTY_GROUPS = True
GCE_INSTANCE_ID_VAR = None
# -------------------
# -- Windows Azure --
# -------------------
# It's not possible to get zones in Azure without authenticating, so we
# provide a list here.
WA_REGION_CHOICES = [
('Central_US', 'US Central'),
('East_US_1', 'US East'),
('East_US_2', 'US East 2'),
('North_Central_US', 'US North Central'),
('South_Central_US', 'US South Central'),
('West_US', 'US West'),
('North_Europe', 'Europe North'),
('West_Europe', 'Europe West'),
('East_Asia_Pacific', 'Asia Pacific East'),
('Southest_Asia_Pacific', 'Asia Pacific Southeast'),
('East_Japan', 'Japan East'),
('West_Japan', 'Japan West'),
('South_Brazil', 'Brazil South'),
]
WA_REGIONS_BLACKLIST = []
# Inventory variable name/value for determining whether a host is active
# in Google Compute Engine.
WA_ENABLED_VAR = 'status'
WA_ENABLED_VALUE = 'running'
# Filter for allowed group and host names when importing inventory from
# Google Compute Engine.
WA_GROUP_FILTER = r'^.+$'
WA_HOST_FILTER = r'^.+$'
WA_EXCLUDE_EMPTY_GROUPS = True
WA_INSTANCE_ID_VAR = None
# ---------------------
# -- Activity Stream --
# ---------------------