Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Elijah Grubb
emulab-devel
Commits
7de8577f
Commit
7de8577f
authored
Oct 09, 2015
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Clemson to list for short/long datasets.
parent
460d1cc6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
apt/APT_Dataset.pm.in
apt/APT_Dataset.pm.in
+3
-1
apt/manage_dataset.in
apt/manage_dataset.in
+1
-2
www/aptui/create-dataset.php
www/aptui/create-dataset.php
+1
-0
No files found.
apt/APT_Dataset.pm.in
View file @
7de8577f
...
...
@@ -135,7 +135,9 @@ sub ValidBlockstoreBackend($)
my
($
domain
,$
subauth
)
=
split
(
":"
,
$
authority
);
return
1
if
($
domain
eq
"emulab.net"
||
$
domain
eq
"apt.emulab.net"
);
if
($
domain
eq
"emulab.net"
||
$
domain
eq
"apt.emulab.net"
||
$
domain
eq
"clemson.cloudlab.us"
);
return
0
;
}
...
...
apt/manage_dataset.in
View file @
7de8577f
...
...
@@ -217,8 +217,7 @@ sub DoCreate()
$aggregate_urn
=
$aggregate
->
aggregate_urn
();
}
else
{
if
(
$aggregate_urn
ne
"
urn:publicid:IDN+apt.emulab.net+authority+cm
"
&&
$aggregate_urn
ne
"
urn:publicid:IDN+emulab.net+authority+cm
")
{
if
(
!
APT_Dataset::
ValidBlockstoreBackend
(
$aggregate_urn
))
{
fatal
("
Invalid cluster selection
");
}
}
...
...
www/aptui/create-dataset.php
View file @
7de8577f
...
...
@@ -99,6 +99,7 @@ function SPITFORM($formfields, $errors)
$amlist
=
array
();
$amlist
[
"urn:publicid:IDN+apt.emulab.net+authority+cm"
]
=
"APT"
;
$amlist
[
"urn:publicid:IDN+emulab.net+authority+cm"
]
=
"Emulab"
;
$amlist
[
"urn:publicid:IDN+clemson.cloudlab.us+authority+cm"
]
=
"Clemson"
;
echo
"<script type='text/plain' id='amlist-json'>
\n
"
;
echo
htmlentities
(
json_encode
(
$amlist
));
echo
"</script>
\n
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment