Re: [geni-users] how to use omni tool to renew slices of other user

11 views
Skip to first unread message

Aaron Helsinger

unread,
Jun 7, 2014, 4:45:16 PM6/7/14
to geni-...@googlegroups.com
If both you and the other person are members (Role=Admin or role=Lead) of the same slice at the GENI Portal, then either user can issue the 'renewslice' or 'renewsliver' command.

Assuming your slice was created at portal.geni.net, and it is your slice that you created:
Go to portal.geni.net
Find your slice listed under 'My Slices' on the home page and click the slice name.
Click 'Manage Slice Members'
If the other user is listed as an 'Admin', you're done.
Otherwise, click 'Edit Slice Membership'.
If the other user is listed, under Action pick 'Add as Admin' or 'Change to Admin'. Then click 'Modify'.
If the user is not listed, then they must be added to your project first. The project lead or admin must do this.

If this doesn't address your problem, or you have further questions, please ask.

Aaron

On 6/7/14, 3:16 AM, Akshay Dorwat wrote:
> i am in a situation were i have to renew slices and slivers for other users so that experiment can long live. other user is not in omni_config. is there a way to do it using omni library.
> in omni documentation, i knw there are commands like getusercred to get credentials. But can i send that file to other user so that he can handle stuff on my behalf.
>
>

Ezra Kissel

unread,
Jun 7, 2014, 5:20:52 PM6/7/14
to geni-...@googlegroups.com
Thanks, Aaron. Because we'll be creating a number of slices
programatically, we wanted a mechanism to allow renewal of these slices
without having to explicitly assign roles for each via the GUI. Perhaps
the best approach is for me to create a new GENI project for our
shakedown experiment and have all of our team members as admin/leads.
Does that sound reasonable? Should I request to become a "Project Lead"
or is another method preferred?

thanks,
- ezra

Aaron Helsinger

unread,
Jun 8, 2014, 9:54:31 AM6/8/14
to geni-...@googlegroups.com
Sure - if all the relevant team members are admins on your project, then they will all be auto added to the slice, and should be able to renew it.

You can also use the omni command 'addslicemember <slicename> <username> ADMIN' to add someone who is in your project as an admin on your slice in that project. That way not everyone has to be made an admin on your project.

A script could easily automate your process for creating slices:
- createslice <slicename>
- renewslice <slicename>
- listprojectmembers (new function coming in omni 2.6 shortly - for now, a list you've set up manually works fine)
- for each member:
- addslicemember <slicename> <username> ADMIN

Note that Project Leads in general must be faculty at a university or senior technical staff. So you might not be the project lead.

Aaron
Reply all
Reply to author
Forward
0 new messages