summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Shrewsbury <shrewsbury.dave@gmail.com>2015-05-22 11:25:37 -0700
committerMonty Taylor <mordred@inaugust.com>2015-05-27 23:21:39 -0400
commit6daed957c3647efb3d47d7e85065a33a74e39047 (patch)
tree40f7f7baf9331984bfde5be75b7ec1b2ea68b8f4
parentfa941945bed1a52995638a257b45a56a4937914c (diff)
downloados-client-config-6daed957c3647efb3d47d7e85065a33a74e39047.tar.gz
Add flag to indicate handling of security groups
Security groups can be handled by either nova, neutron, or just not be supported. This adds a flag for that. Values will be one of 'neutron' (the default), 'nova', or None. None indicates that security groups are not supported. Change-Id: I81a2e10e14e53acc9ffc328771d8ef721e2fd370
-rw-r--r--doc/source/vendor-support.rst6
-rw-r--r--os_client_config/defaults.py1
-rw-r--r--os_client_config/vendors.py1
3 files changed, 8 insertions, 0 deletions
diff --git a/doc/source/vendor-support.rst b/doc/source/vendor-support.rst
index dea27d1..02e0937 100644
--- a/doc/source/vendor-support.rst
+++ b/doc/source/vendor-support.rst
@@ -24,6 +24,7 @@ region-b.geo-1 US East
* Image API Version is 1
* Images must be in `qcow2` format
* Floating IPs are provided by Neutron
+* Security groups are provided by Neutron
Rackspace
---------
@@ -46,6 +47,7 @@ HKG Hong Kong
* Images must be in `vhd` format
* Images must be uploaded using the Glance Task Interface
* Floating IPs are not needed
+* Security groups are not supported
Dreamhost
---------
@@ -61,6 +63,7 @@ RegionOne Region One
* Image API Version is 2
* Images must be in `raw` format
* Floating IPs are provided by Neutron
+* Security groups are provided by Neutron
Vexxhost
--------
@@ -76,6 +79,7 @@ ca-ymq-1 Montreal
* Image API Version is 2
* Images must be in `qcow2` format
* Floating IPs are not needed
+* Security groups are provided by Neutron
RunAbove
--------
@@ -92,6 +96,7 @@ BHS-1 Beauharnois, QC
* Image API Version is 2
* Images must be in `qcow2` format
* Floating IPs are not needed
+* Security groups are provided by Neutron
UnitedStack
-----------
@@ -109,3 +114,4 @@ gd1 Guangdong
* Image API Version is 2
* Images must be in `raw` format
* Floating IPs are not needed
+* Security groups are provided by Neutron
diff --git a/os_client_config/defaults.py b/os_client_config/defaults.py
index 14b8209..11a94c4 100644
--- a/os_client_config/defaults.py
+++ b/os_client_config/defaults.py
@@ -23,6 +23,7 @@ _defaults = dict(
image_api_version='1',
network_api_version='2',
object_api_version='1',
+ secgroup_source='neutron',
volume_api_version='1',
)
diff --git a/os_client_config/vendors.py b/os_client_config/vendors.py
index dec63dc..ed8d047 100644
--- a/os_client_config/vendors.py
+++ b/os_client_config/vendors.py
@@ -33,6 +33,7 @@ CLOUD_DEFAULTS = dict(
image_api_use_tasks=True,
image_format='vhd',
floating_ip_source=None,
+ secgroup_source=None,
),
dreamhost=dict(
auth=dict(