def reload_storage_policies():
 global _POLICIES
 policy_conf = ConfigParser()
 policy_conf.read(SWIFT_CONF_FILE)
 try:
  _POLICIES = parse_storage_policies(policy_conf)
 except PolicyError as e:
  raise SystemExit(('ERROR: Invalid Storage Policy Configuration in %s (%s)' % (SWIFT_CONF_FILE, e)))

def reload_storage_policies ( ) : global _POLICIES policy_conf = ConfigParser ( ) policy_conf . read ( SWIFT_CONF_FILE ) try : _POLICIES = parse_storage_policies ( policy_conf ) except PolicyError as e : raise SystemExit ( ( 'ERROR: Invalid Storage Policy Configuration in %s (%s)' % ( SWIFT_CONF_FILE , e ) ) )
reload policies from swift .