Commit d1982456 authored by Kirk Webb's avatar Kirk Webb

Snapshot.

parent 8c544666
......@@ -609,6 +609,39 @@ function YesNo($bool) {
return ($bool ? "Yes" : "No");
}
#
# See if someone is logged in, and if they need to be redirected.
#
function CheckRedirect($wwwbase) {
global $stayhome;
if (($this_user = CheckLogin($check_status))) {
$check_status = $check_status & CHECKLOGIN_STATUSMASK;
if ($check_status == CHECKLOGIN_MAYBEVALID) {
# Maybe the reason was because they where not using HTTPS ...
RedirectHTTPS();
}
if (($firstinitstate = TBGetFirstInitState())) {
unset($stayhome);
}
if (!isset($stayhome)) {
if ($check_status == CHECKLOGIN_LOGGEDIN) {
if ($firstinitstate == "createproject") {
# Zap to NewProject Page,
header("Location: $wwwbase/newproject.php3");
}
else {
# Zap to My Emulab page.
header("Location: $wwwbase/".
CreateURL("showuser", $this_user));
}
exit;
}
}
}
}
#
# If the page was accessed via http redirect to https and exit
# otherwise do nothing
......
<!--
Copyright (c) 2000-2014 University of Utah and the Flux Group.
{{{EMULAB-LICENSE
This file is part of the Emulab network testbed software.
This file is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at
your option) any later version.
This file is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
License for more details.
You should have received a copy of the GNU Affero General Public License
along with this file. If not, see <http://www.gnu.org/licenses/>.
}}}
-->
<p>
<em>PhantomNet</em> is a mobility testbed, providing researchers with
a set of hardware and software resources that they can use to
develop, debug, and evaluate their mobility designs.
Resources available in <em>PhantomNet</em> include EPC/EPS software
(OpenEPC), hardware access points (ip.access enodeb), PC nodes with
mobile radios (HUAWEI cellular modems), and a large set of commodity
bare metal nodes, virtual nodes and other resouces inherited from
the main Emulab site. Users specify their experiment via Emulab
NS file templates augmented with PhantomNet-specific functionality.
In addition to raw resources, <em>PhantomNet</em> provides configuration
directives and scripts to assist researchers in setting up their
mobility experiments. In complement to the template NS files,
PhantomNet does the work of configuring the EPC software components
to operate within the underlying <em>Emulab</em> environment.
The PhantomNet facility is built on top of
<a href="http://www.emulab.net">Emulab</a> and is run by the
<a href="http://www.flux.utah.edu">Flux Group</a>, part of the
<a href="http://www.cs.utah.edu">School of Computing</a> at the
<a href="http://www.utah.edu">University of Utah</a>.
</p>
<!-- Note - this stuff is fairly Utah-specific, so it's only displayed there
for now. But, feel free to use any of it if it applies to your testbed -->
<p>
Emulab is a <strong>public facility</strong>, available without charge to most
researchers worldwide.
If you are unsure if you qualify for use, please see our
<a href="/wikidocs/wiki/AdminPolicies">policies document</a>,
or <a href='mailto:testbed-ops@emulab.net'>ask us</a>.
If you think you qualify, you can
<a href="/wikidocs/wiki/Auth">apply to start a new
project</a>.
</p>
<p>
<em>Emulab</em> provides integrated access to a wide range of experimental
environments:
</p>
<div class="thumb">
<a href="node_usage/">
<img src="thumbnail-usage.png" height="100" width= "100"/><br />
</a>
<a href="node_usage/">
Emulab usage graphs
</a>
</div>
<div class="thumb">
<a href="usermap/">
<img src="thumbnail-usermap.png" height="100" width= "100"/><br />
</a>
<a href="doc/docwrapper.php3?docname=users.html">
Emulab user map
</a>
</div>
<div class="thumb">
<a href="http://users.emulab.net/trac/emulab/wiki/OtherEmulabs">
<img src="thumbnail-siteloc.png" height="100" width= "100"/><br />
</a>
<a href="http://users.emulab.net/trac/emulab/wiki/OtherEmulabs">
Other Emulab sites
</a>
</div>
<dl class="envlist">
<dt><a href="/wikidocs/wiki/Tutorial">Emulation</a></dt>
<dd>An emulated experiment allows you to specify an arbitrary network
topology, giving you a <em>controllable, predictable, and repeatable
environment</em>, including PC nodes on which you have
<em>full &quot;root&quot; access</em>, running an operating system of
your choice.</dd>
<dt><a href="/wikidocs/wiki/plab">Live-Internet Experimentation</a></dt>
<dd>Using the RON and <a href="http://www.planet-lab.org">PlanetLab</a>
testbeds, Emulab provides you with a
<em>full-featured environment</em> for <em>deploying, running, and
controlling</em> your application at hundreds of sites around the
world.</dd>
<dt><a href="/wikidocs/wiki/wireless">802.11 Wireless</a></dt>
<dd>Emulab's 802.11a/b/g testbed is deployed on multiple floors of an
office building. Nodes are <em>under your full control</em> and may act as
access points, clients, or in ad-hoc mode. All nodes have two wireless
interfaces, plus a <em>wired control network</em>.</dd>
<dt><a href="/wikidocs/wiki/gnuradio">Software-Defined Radio</a></dt>
<dd><a href="http://www.ettus.com/downloads/usrp_v4.pdf">USRP</a> devices from the <a href="http://www.gnu.org/software/gnuradio/index.html">GNU Radio</a> project give you <em>control over Layer 1 of a
wireless network</em> - everything from signal processing up is done in
software.</dd>
</dl>
<p>
Emulab unifies all of these environments under a common user interface,
and integrates them into a common framework. This framework
provides abstractions, services, and namespaces common to all, such as
allocation and naming of nodes and links. By mapping the abstractions
into domain-specific mechanisms and internal names, Emulab masks much
of the heterogeneity of the different resources.
</p>
<h3>Links to help you get started:</h3>
<ul>
<li><b><a href = "/wikidocs/wiki/Auth">
Authorization Scheme, Policy, and "How To Get Started"</a></b>
<li><b><a href = "/wikidocs/wiki/software">
Overview of Installed Software</a></b>
<li><b><a href = "hardware.php">
Hardware Overview, "Emulab Classic"</a></b>
<li><b><a href = "/wikidocs/wiki/SecReqs">
Security Issues</a></b>
<li><b><a href = "/wikidocs/wiki/AdminPolicies">
Administrative Policies and Disclaimer</a></b>
</ul>
<a href='pix/pc3k-front.jpg'>
<img src='pix/pc3k-front-thumb.jpg'/></a>
<a href='pix/pc3k-back.jpg'>
<img src='pix/pc3k-back-thumb.jpg'/></a>
<!--
Copyright (c) 2000-2004 University of Utah and the Flux Group.
{{{EMULAB-LICENSE
This file is part of the Emulab network testbed software.
This file is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at
your option) any later version.
This file is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
License for more details.
You should have received a copy of the GNU Affero General Public License
along with this file. If not, see <http://www.gnu.org/licenses/>.
}}}
-->
<!--- This exists to redirect to the PHP script -->
<html>
<head>
<title>Emulab.Net</title>
<META HTTP-EQUIV="Refresh" Content= "0; URL=index.php3" ALT="Emulab home page">
</head>
</html>
<?php
#
# Copyright (c) 2000-2014 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
# This file is part of the Emulab network testbed software.
#
# This file is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or (at
# your option) any later version.
#
# This file is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
# License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this file. If not, see <http://www.gnu.org/licenses/>.
#
# }}}
#
require("pnetdefs.php3");
$optargs = OptionalPageArguments("stayhome", PAGEARG_BOOLEAN);
#
# The point of this is to redirect logged in users to their My Emulab
# page.
#
CheckRedirect($PNETBASE);
#
# PhantomNet Header
#
PAGEHEADER("PhantomNet - Mobility Testbed Platform",NULL,$RSS_HEADER_PNNEWS);
#
# Show special banner message, if set.
#
$message = TBGetSiteVar("web/banner");
if ($message != "") {
echo "<center><font color=Red size=+1>\n";
echo "$message\n";
echo "</font></center><br>\n";
}
#
# PhantomNet front page content.
#
readfile("index-phantomnet.html");
#
# Standard Testbed Footer
#
PAGEFOOTER();
?>
<?php
#
# Copyright (c) 2000-2014 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
# This file is part of the Emulab network testbed software.
#
# This file is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or (at
# your option) any later version.
#
# This file is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
# License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this file. If not, see <http://www.gnu.org/licenses/>.
#
# }}}
#
require("defs.php3");
$PNWWWHOST = "@PNWWWHOST@";
$PNETBASE = "https://$PNWWWHOST";
$PNDOCBASE = "http://$PNWWWHOST";
$RSS_HEADER_PNNEWS =
"<link rel=\"alternate\" type=\"application/rss+xml\" " .
"title=\"PhantomNet News\" href=\"$TBDOCBASE/news-rss.php3?phantomnet=1\"/>";
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment