summaryrefslogtreecommitdiffstats
path: root/vcpe_beijing/vcpe/test.py
diff options
context:
space:
mode:
authorhuangzh <huangzh.bri@chinatelecom.cn>2018-11-07 11:45:38 +0800
committerhuangzh <huangzh.bri@chinatelecom.cn>2018-11-08 10:57:13 +0800
commit1ff97d639e631fe7465038d76e093bc5c1a31867 (patch)
treed3f4aa2144043930c2fee7073a22e45a9f41805b /vcpe_beijing/vcpe/test.py
parent4d96698b0cc2b738685482c8a8971f21b143b27e (diff)
new add s3p test scripte
Change-Id: I84b933c017ad7cee12e70da868e8dea1dd9f348b Issue-ID: INT-714 Signed-off-by: huangzh <huangzh.bri@chinatelecom.cn>
Diffstat (limited to 'vcpe_beijing/vcpe/test.py')
-rw-r--r--vcpe_beijing/vcpe/test.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpe_beijing/vcpe/test.py b/vcpe_beijing/vcpe/test.py
new file mode 100644
index 0000000..def71b5
--- /dev/null
+++ b/vcpe_beijing/vcpe/test.py
@@ -0,0 +1,13 @@
+#! /usr/bin/python
+
+import ConfigParser as cfg
+
+
+config = cfg.ConfigParser()
+config.read('config.ini')
+for section in config.sections():
+ print(section)
+ print(config.options(section))
+
+print(config.get('openstack', '--os-auth-url'))
+print(config.getboolean('onap parameters', 'oom_mode')) \ No newline at end of file