def _get_ironic_client():
 kwargs = {'os_username': CONF.ironic.admin_username, 'os_password': CONF.ironic.admin_password, 'os_auth_url': CONF.ironic.admin_url, 'os_tenant_name': CONF.ironic.admin_tenant_name, 'os_service_type': 'baremetal', 'os_endpoint_type': 'public', 'insecure': 'true', 'ironic_url': CONF.ironic.api_endpoint}
 icli = ironic_client.get_client(1, **kwargs)
 return icli

def _get_ironic_client ( ) : kwargs = { 'os_username' : CONF . ironic . admin_username , 'os_password' : CONF . ironic . admin_password , 'os_auth_url' : CONF . ironic . admin_url , 'os_tenant_name' : CONF . ironic . admin_tenant_name , 'os_service_type' : 'baremetal' , 'os_endpoint_type' : 'public' , 'insecure' : 'true' , 'ironic_url' : CONF . ironic . api_endpoint } icli = ironic_client . get_client ( 1 , ** kwargs ) return icli
return an ironic client .