Your new rspec did not include a Tour section. Is it okay to reuse
the tour section from the original rspec, or continue with no
Tour section?
Convert your profile to a geni-lib script
geni-lib
is a tool that allows users to generate RSpec
files from Python code. CloudLab offers the ability to use
geni-lib scripts as the definition of a profile, rather
then the more primitive RSpec format. When you convert
a profile to geni-lib, the current rspec is auto
converted to the equivalent geni-lib python code. After you
Save the converted profile, subsequent changes to
the profile source are made to the geni-lib python code
instead of the XML (the XML is now read-only).
Much more information about profiles
and geni-lib scripts can be found in the
manual.
Click on the Continue button to proceed. You will be
given a chance to view the new geni-lib python code. If
you are happy with it, then be sure to Save
the converted profile.
Your rspec has been sucessfully converted to a geni-lib script!
Be sure to Save your profile if
are happy with the new geni-lib defintion.
Oops, we could not convert your rspec to geni-lib.
The following error was reported. Typically it is a minor issue
that is easily dealt with by making a small change to your rspec.
If the error below does not make sense, then send us an email
message, including the error and the profile name. We will help
you fix it up.
Warning!
You made a change to the geni-lib script that will make it
impossible to continue using the Jacks topology editor
(see below). Typically this is the result of adding a
comment or a loop construct or something else that cannot
be preserved when using Jacks.
This is okay, but all future changes must be made to the
geni-lib script. Click Continue if this is okay with
you.
If you want to keep
using the visual topology editor, click Cancel and then
click on Edit Topology to make changes.
Create a Repository-based Profile
Provide a git url to a public repository, and we will create your
profile from that repository.
Repository based profiles are a great way to combine a
git repository (for source code control) and a Cloudlab
profile (for experiment control). A demonstration Git
repository for you to look at it can be found at
https://github.com/lbstoller/my-profile.git.
Please take a look at this repository for more
information on how to set up your Git repository
so that it can be the basis for your profile.
<% if (fromrepo) { %>
The push URL is an example of a
webhook supported by public
Git
repositories like
github.com,
as well as those based
on GitLab.
Specifically, a push webhook is used to notify
a third party that a new commit has been created, either
by a push or by executing a commit via the repository
web interface. With <%- window.APTTILE %>, when we receive the
notification from your repository, we will fetch from
your repository, updating your profile to reflect the
current HEAD of your master branch. Branches and tags
are updated as well. When complete, we will send you an email
confirmation so you know that your profile has been updated.
Setting up a webhook is relatively straightforward:
github.com: Go to your repository and
click on the Settings option
in the upper right, then click on Webhooks, then
click on the Add Webhook menu option. Paste your
push URL into the Payload URL form field, leave
everything else as is, and click on the Add Webhook
button at the bottom of the form.
gitlab: Go to your repository and click on the
in the upper
right, then click on the Integrations menu option.
Paste your push URL into the URL form field, leave
everything else as is, and click on the Add Webhook
button at the bottom of the form.
bitbucket.org: Go to your repository and click on the
in the lower
left, then click on the Webhooks menu option, then
click on the Add Webhook button. Give your new
webhook a Title and
paste your push URL into the URL form field, leave
everything else as is, and click on the Save
button at the bottom of the form.
<% } %>
When using a geni-lib python script, you set the profile
description and instructions within the script source using
a
python module docstring, typically at the very beginning of
the script. For example:
"""This is a description of your profile, it can be multi-line.
Every profile must include a description.
Instructions:
These are instructions for using your profile after it is instantiated.
Instructions are optional.
"""
Please Note!
Since you are cloning a profile whose source is a geni-lib
python script, you will need to update the images inside
the script yourself, we cannot do this for you. At the end of
the image snapshot, we will tell you the new image name so you
can edit your script.
Did you add any accounts or groups to your image?
Check this box if you installed any software that added new
users or groups. If you are not sure, ask us first since
checking this box needlessly can have negative side effects.
You are about to create or update a System Image!
Taking this disk snapshot might result in creating a new
system image or updating an existing system image. Are you
sure you want to do this?
Reminder: You will need to run imagerelease on the
cluster (command line).
<% if (viewing && Object.keys(versions).length > 1) { %>
Version History
Vers
Description
Created
<% if (withpublishing) { %>
Published
<% } %>
From
<% _.each(sorted_versions, function(profile) { %>
<% if (profile.deleted) { return; } %>
<% if (profile.uuid != version_uuid) { %>