def _openstack_verify_from_config(verify_peer=True, verify_ca_path=None, **config):
 if verify_peer:
  if verify_ca_path:
   verify = verify_ca_path
  else:
   verify = True
 else:
  verify = False
 return verify

def _openstack_verify_from_config ( verify_peer = True , verify_ca_path = None , ** config ) : if verify_peer : if verify_ca_path : verify = verify_ca_path else : verify = True else : verify = False return verify
create an openstack session from the given configuration .