diff options
Diffstat (limited to 'vcpe_beijing/vcpe/test.py')
-rw-r--r-- | vcpe_beijing/vcpe/test.py | 13 |
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 |