aboutsummaryrefslogtreecommitdiffstats
path: root/Testcases/config.16
diff options
context:
space:
mode:
authorStuart Mackie <wsmackie@juniper.net>2016-01-29 16:00:57 -0800
committerStuart Mackie <wsmackie@juniper.net>2016-01-29 16:00:57 -0800
commit82f1a7eb5535b30a95b1e71ff18c315d40d1e6f0 (patch)
treef930c90f75846ec8d8e33cf27325ff8fafc85d5c /Testcases/config.16
parent5c04f2e22eb6b5e7a671bc02ba53a438eb66e90d (diff)
OpenContrail test suitestable/colorado
Change-Id: I61168093a2a05d47377ef47c8638ae1554b1a999 Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
Diffstat (limited to 'Testcases/config.16')
-rwxr-xr-xTestcases/config.1619
1 files changed, 19 insertions, 0 deletions
diff --git a/Testcases/config.16 b/Testcases/config.16
new file mode 100755
index 0000000..bdbd1e1
--- /dev/null
+++ b/Testcases/config.16
@@ -0,0 +1,19 @@
+#!/usr/bin/python
+
+import sys
+import os
+from config_shell import *
+default_client_args = [
+ ('--username', 'admin'),
+ ('--password', os.environ["OS_PASSWORD"]),
+ ('--region', 'RegionOne'),
+ ('--tenant', os.environ["OS_TENANT_NAME"]),
+ ('--api-server', '10.10.11.16')]
+
+
+if __name__ == '__main__':
+ for arg in default_client_args:
+ if not arg[0] in sys.argv:
+ sys.argv.insert(1, arg[0])
+ sys.argv.insert(2, arg[1])
+ ConfigShell().main()