in gstack/configure.py [0:0]
def _modify_config_profile(config_file, profile):
config = SafeConfigParser()
config.read(config_file)
if not config.has_section(profile):
config.add_section(profile)
config = _set_attribute_of_profile(
config, profile, 'gstack_bind_address', 'gstack bind address', 'localhost'
)
config = _set_attribute_of_profile(
config, profile, 'gstack_port', 'gstack bind port', '5000'
)
config = _set_attribute_of_profile(
config, profile, 'cloudstack_host', 'Cloudstack host', 'localhost'
)
config = _set_attribute_of_profile(
config, profile, 'cloudstack_port', 'Cloudstack port', '8080'
)
config = _set_attribute_of_profile(
config, profile, 'cloudstack_protocol', 'Cloudstack protocol', 'http'
)
config = _set_attribute_of_profile(
config, profile, 'cloudstack_path', 'Cloudstack path', '/client/api'
)
return config