'Initialize a nova client object.'

def __init__(self, conf):

    creds = conf.service_credentials
    logger = None
    if conf.nova_http_log_debug:
        logger = log.getLogger('novaclient-debug')
        logger.logger.setLevel(log.DEBUG)
    ks_session = keystone_client.get_session(conf)
    self.nova_client = nova_client.Client(version=api_versions.APIVersion('2.1'), session=ks_session, region_name=creds.region_name, endpoint_type=creds.interface, service_type=conf.service_types.nova, logger=logger)
    self.glance_client = glanceclient.Client(version='2', session=ks_session, region_name=creds.region_name, interface=creds.interface, service_type=conf.service_types.glance)
