Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
d1d3c532
Commit
d1d3c532
authored
Jul 30, 2018
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More tweaks to setting up a target system.
parent
f8a103a6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
5 deletions
+21
-5
clientside/tmcc/common/config/rc.mkelab
clientside/tmcc/common/config/rc.mkelab
+14
-4
configure
configure
+2
-0
configure.ac
configure.ac
+2
-0
protogeni/lib/GeniCluster.pm.in
protogeni/lib/GeniCluster.pm.in
+3
-1
No files found.
clientside/tmcc/common/config/rc.mkelab
View file @
d1d3c532
...
...
@@ -3288,7 +3288,7 @@ sub CreateDefsFile($)
my
$opsnode_hostname
=
$emulabconfig
{"
OPSNODE
"};
my
$fsnode_hostname
=
$emulabconfig
{"
FSNODE
"};
my
$ourdomain
=
$domain
;
my
$thishomebase
=
"
MyEmulab.Net
"
;
my
$thishomebase
=
$eid
;
my
$cookiesuffix
=
$eid
;
my
$router_ip
=
(
$emulabconfig
{"
CONFIG_SINGLECNET
"}
?
$outer_routerip
:
$bossnode_ip
);
...
...
@@ -3674,10 +3674,20 @@ sub CreateDefsFile($)
print
OUTDEFS
"
PORTAL_ENABLE=1
\n
";
print
OUTDEFS
"
PROTOGENI_LOCALUSER=1
\n
";
}
if
(
!
(
$emulabconfig
{"
CONFIG_TARGETSYS
"}
eq
"
GENIRACK
"
||
$emulabconfig
{"
CONFIG_FEDERATED
"}))
{
# Stand alone
if
(
!
(
$emulabconfig
{"
CONFIG_TARGETSYS
"}
eq
"
GENIRACK
"
||
$emulabconfig
{"
CLOUDLAB_FEDERATED
"}))
{
print
OUTDEFS
"
PROTOGENI_ISCLEARINGHOUSE=1
\n
";
print
OUTDEFS
"
PROTOGENI_WEBSITE=
${bossnode_hostname}
.
${ourdomain}
\n
";
print
OUTDEFS
"
PROTOGENI_WEBSITE=
"
.
"
${bossnode_hostname}
.
${ourdomain}
\n
";
}
if
(
$emulabconfig
{"
CLOUDLAB_FEDERATED
"})
{
# Cloudlab Portal is allowed to access via GeniCluster API.
print
OUTDEFS
"
CLOUDLAB_FEDERATED=1
\n
";
# IG Event Daemon.
print
OUTDEFS
"
CLUSTER_PORTAL=
\"
boss.emulab.net
\"\n
";
print
OUTDEFS
"
CLUSTER_PUBSUBD_SSLPORT=16506
\n
";
print
OUTDEFS
"
CLUSTER_PUBSUBD_ALTPORT=16507
\n
";
}
}
if
(
$emulabconfig
{"
CONFIG_FIREWALL_BOSS
"})
{
...
...
configure
View file @
d1d3c532
...
...
@@ -724,6 +724,7 @@ VPUBADDR_BASE
LINUX_FSNODE
PORTAL_ISPRIMARY
PORTAL_ENABLE
CLOUDLAB_FEDERATED
OPSVM_MOUNTPOINT
OPSVM_ENABLE
NEEDMCQUERIER
...
...
@@ -5168,6 +5169,7 @@ OURTIMEZONE="America/Denver"
NODECONSOLE
=
"sio"
MFSVERSION
=
""
PORTAL_ENABLE
=
0
CLOUDLAB_FEDERATED
=
0
PORTAL_ISPRIMARY
=
0
LINUX_FSNODE
=
0
DHCPD_EXTRAIFS
=
""
...
...
configure.ac
View file @
d1d3c532
...
...
@@ -282,6 +282,7 @@ AC_SUBST(OPSVM_ENABLE)
AC_SUBST(OPSVM_MOUNTPOINT)
AC_SUBST(PORTAL_ENABLE)
AC_SUBST(PORTAL_ISPRIMARY)
AC_SUBST(CLOUDLAB_FEDERATED)
AC_SUBST(LINUX_FSNODE)
AC_SUBST(VPUBADDR_BASE)
AC_SUBST(VPUBADDR_BITLEN)
...
...
@@ -459,6 +460,7 @@ NODECONSOLE="sio"
MFSVERSION=""
PORTAL_ENABLE=0
PORTAL_ISPRIMARY=0
CLOUDLAB_FEDERATED=0
LINUX_FSNODE=0
DHCPD_EXTRAIFS=""
VPUBADDR_BASE="none"
...
...
protogeni/lib/GeniCluster.pm.in
View file @
d1d3c532
...
...
@@ -76,6 +76,7 @@ my $SUDO = "/usr/local/bin/sudo";
my
$
SSH
=
"/usr/bin/ssh"
;
my
$
WAP
=
"$TB/sbin/withadminprivs"
;
my
$
API_VERSION
=
1.0
;
my
$
CLOUDLAB_FEDERATED
=
@
CLOUDLAB_FEDERATED
@;
#
#
Check
permission
.
At
the
moment
,
only
the
Mothership
can
issue
requests
...
...
@@ -118,7 +119,8 @@ sub CheckPermission($)
$
OURDOMAIN
eq
"wisc.cloudlab.us"
||
$
OURDOMAIN
eq
"clemson.cloudlab.us"
||
$
OURDOMAIN
eq
"utahddc.geniracks.net"
||
$
OURDOMAIN
eq
"lab.onelab.eu"
));
$
OURDOMAIN
eq
"lab.onelab.eu"
||
$
CLOUDLAB_FEDERATED
));
return
0
;
}
...
...
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