def get_user_client(cls):
     manilaclient = client.ManilaCLIClient(username=CONF.username,
                                           password=CONF.password,
                                           tenant_name=CONF.tenant_name,
                                           uri=CONF.auth_url,
                                           cli_dir=CONF.manila_exec_dir)
     # Set specific for user project share network
     manilaclient.share_network = CONF.share_network
     return manilaclient
 def get_admin_client(cls):
     manilaclient = client.ManilaCLIClient(
         username=CONF.admin_username,
         password=CONF.admin_password,
         tenant_name=CONF.admin_tenant_name,
         uri=CONF.admin_auth_url or CONF.auth_url,
         cli_dir=CONF.manila_exec_dir)
     # Set specific for admin project share network
     manilaclient.share_network = CONF.admin_share_network
     return manilaclient