Beispiel #1
0
 def _get_neutron_client(self, project):
     session = keystone_client.get_session(CONF, project)
     return neutronclient.v2_0.client.Client(session=session)
Beispiel #2
0
 def _get_nova_client(self, project):
     region_name = CONF.region_name
     session = keystone_client.get_session(CONF, project)
     return novaclient.client.Client(2,
                                     session=session,
                                     region_name=region_name)
Beispiel #3
0
 def _get_glance_client(self, project):
     session = keystone_client.get_session(CONF, project)
     return glanceclient.client.Client(2, session=session)
Beispiel #4
0
 def _get_nova_client(self, project):
     session = keystone_client.get_session(CONF, project)
     return novaclient.client.Client(2, session=session)
Beispiel #5
0
 def _get_ceilometer_client(self, project):
     session = keystone_client.get_session(CONF, project)
     return ceilometerclient.client.get_client('2', session=session)
Beispiel #6
0
 def _get_glance_client(self, project):
     session = keystone_client.get_session(CONF, project)
     return glanceclient.client.Client(2, session=session)
Beispiel #7
0
 def _get_nova_client(self, project):
     session = keystone_client.get_session(CONF, project)
     return novaclient.client.Client(2, session=session)
Beispiel #8
0
 def _get_ceilometer_client(self, project):
     session = keystone_client.get_session(CONF, project)
     return ceilometerclient.client.get_client('2', session=session)