blob: b0614c93045f47deff3cd2e2f9d48df29e17d609 [file] [log] [blame]
Ubuntu82b8a832013-02-06 22:00:11 +00001<!DOCTYPE html>
2<html>
3<meta charset="utf-8">
4<style>
5path.link {
6 fill: none;
7 stroke: #666;
8 stroke-width: 1.5px;
9}
10circle {
11 stroke: #333;
12 stroke-width: 1.5px;
13}
14
15text {
16 font: 20px sans-serif;
17 pointer-events: none;
18}
19
20</style>
21<head>
22<title>ONOS GUI</title>
23<script src="http://d3js.org/d3.v3.min.js"></script>
24<script type="text/javascript" src="js/onos-topology.js"></script>
25<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
26</head>
27<body>
Masayoshi Kobayashi21bd3be2013-02-27 22:00:44 +000028<!--
Masayoshi Kobayashi274c07d2013-02-20 21:38:16 +000029<button id="more">more</button>
Masayoshi Kobayashidd4ad8f2013-02-27 20:20:13 +000030<button id="less">less</button>
Masayoshi Kobayashi21bd3be2013-02-27 22:00:44 +000031--!>
Ubuntu82b8a832013-02-06 22:00:11 +000032<svg width="4in" height="2in"
33 viewBox="0 0 4000 2000" version="1.1"
34 xmlns="http://www.w3.org/2000/svg">
35 <defs>
36 <marker id="Triangle"
37 viewBox="0 -5 10 10" refX="15" refY="-1.5"
38 markerUnits="strokeWidth"
39 markerWidth="6" markerHeight="6"
40 orient="auto">
41 <path d="M0,-5L10,0L0,5"/>
42 </marker>
43 </defs>
Masayoshi Kobayashi21bd3be2013-02-27 22:00:44 +000044<h1>ONOS Sprint 4 Demo GUI</h1>
45<h2>Controller Status</h2>
Masayoshi Kobayashidd4ad8f2013-02-27 20:20:13 +000046<div id="servers"></div>
47<div id="onos-status"></div>
48<div id="cassandra-status"></div>
Masayoshi Kobayashi21bd3be2013-02-27 22:00:44 +000049<h2>Topology View</h2>
50<div id="topology"></div>
Masayoshi Kobayashidd4ad8f2013-02-27 20:20:13 +000051<script type="text/javascript" src="js/controller-status.js"></script>
Ubuntu82b8a832013-02-06 22:00:11 +000052<script type="text/javascript">
Masayoshi Kobayashi21bd3be2013-02-27 22:00:44 +000053controller_status("http://gui.onlab.us:8080/controller_status");
Masayoshi Kobayashif63ef2f2013-02-20 21:47:21 +000054gui("http://gui.onlab.us:8080/topology");
Ubuntu82b8a832013-02-06 22:00:11 +000055</script>
56</svg>
57</body>
58</html>