Skip to content

Instantly share code, notes, and snippets.

@NitriKx
Last active May 12, 2016 17:18
Show Gist options
  • Select an option

  • Save NitriKx/07ae630ad5fba987296d7f493dbe9598 to your computer and use it in GitHub Desktop.

Select an option

Save NitriKx/07ae630ad5fba987296d7f493dbe9598 to your computer and use it in GitHub Desktop.
Instructions pour utilisé l'API OpenStack de Cloudmip depuis l'extérieur de l'Université

OSX/Linux seulement (ça doit pouvoir se faire avec Putty sur Wind0ws mais je l'ai pas sous la main)

Editez votre fichier host pour rajouter la ligne suivante (ne pas oublier de faire sudo). Si votre fichier host contient déjà frontal commentez cette ligne.

frontal    127.0.0.1

Lancer la commande suivante dans le terminal en replaçant "ens24" par votre identifiant (et entrer le mot de passe)

ssh -L 5000:127.0.0.1:5000 -L8774:127.0.0.1:8774 ens24@cloudmip.univ-tlse3.fr

Pas besoin d'utiliser un proxy en fait, supprimez la ligne suivante (si vous avez suivis le tuto précédent) :

  .withConfig(Config.newConfig().withProxy(ProxyHost.of("http://127.0.0.1", 5000)))

Modifier votre endpoint url pour : http://127.0.0.1:5000/v2.0/

Enjoy

@julienCsj

Copy link
Copy Markdown

GG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment