Add api_v2_admin flag
Only run Identity V2 admin tests if the identity v2 admin API is
available. The new config flag is set to True by default.
Change-Id: I43459cb1a96e725dde41e23962e367dbdc345686
diff --git a/tempest/config.py b/tempest/config.py
index 00c69b0..75fa1bb 100644
--- a/tempest/config.py
+++ b/tempest/config.py
@@ -208,6 +208,10 @@
cfg.BoolOpt('api_v2',
default=True,
help='Is the v2 identity API enabled'),
+ cfg.BoolOpt('api_v2_admin',
+ default=True,
+ help="Is the v2 identity admin API available? This setting "
+ "only applies if api_v2 is set to True."),
cfg.BoolOpt('api_v3',
default=True,
help='Is the v3 identity API enabled'),