osrf / cloudsim-widgets

Other
0 stars 1 forks source link

[SASC] Improve user experience fetching resources by exposing tokens from command line tools #43

Closed osrf-migration closed 7 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by Tully Foote (Bitbucket: Tully Foote, GitHub: tfoote).


Using the tokens we can allow the user to pull resources directly from cloudsim. In particular they can get the vpn tokens, ssh keys, and appropriate addresses for the machines.

What would be great if for each role, team blue, team gold, and game master, there were a few generated command line invocations that could be copy and pasted to set things up.

The users will still need to have the sasc package installed so we can rely on that, but from that we could have.

/opt/sasc/setup_blue_networking.py --token XXXXXXXXX --round-id XYZXYZ --vpn-config 0 which can pull the appropriate resources, such as the vpn config and ssh key and setup the vpn.

The gold team would have an equivalent command.

And so would the game master (no need for the vpn here, but it would need the IP address of the arbiter machine.

The main thing is that the generated options need to have enough information for the script to pull all the needed resources by url using the authorization token. I've sketched above what I think is necessary, but if there are more arguments needed that's fine.

osrf-migration commented 7 years ago

Original comment by Tully Foote (Bitbucket: Tully Foote, GitHub: tfoote).


osrf-migration commented 7 years ago

Original comment by Hugo Boyer (Bitbucket: hugomatic, GitHub: hugomatic).


Its great to get this kind of request from your SASC users. I am looking into it.

osrf-migration commented 7 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


osrf-migration commented 7 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


SASC is over