blob: def71b588107eee8c6a425dad5938b3bf1d01955 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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'))
|