blob: 72e9fc47c7169aa95745529854c5afbb68f10ae6 [file] [log] [blame]
Ubuntu82b8a832013-02-06 22:00:11 +00001<!DOCTYPE html>
2<html>
3<meta charset="utf-8">
4<style>
Ubuntu82b8a832013-02-06 22:00:11 +00005circle {
6 stroke: #333;
7 stroke-width: 1.5px;
8}
9
10text {
11 font: 20px sans-serif;
12 pointer-events: none;
13}
14
15</style>
16<head>
17<title>ONOS GUI</title>
18<script src="http://d3js.org/d3.v3.min.js"></script>
19<script type="text/javascript" src="js/onos-topology.js"></script>
20<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
21</head>
22<body>
Masayoshi Kobayashi21bd3be2013-02-27 22:00:44 +000023<!--
Masayoshi Kobayashi274c07d2013-02-20 21:38:16 +000024<button id="more">more</button>
Masayoshi Kobayashidd4ad8f2013-02-27 20:20:13 +000025<button id="less">less</button>
Masayoshi Kobayashi21bd3be2013-02-27 22:00:44 +000026--!>
Ubuntu82b8a832013-02-06 22:00:11 +000027<svg width="4in" height="2in"
28 viewBox="0 0 4000 2000" version="1.1"
29 xmlns="http://www.w3.org/2000/svg">
30 <defs>
31 <marker id="Triangle"
32 viewBox="0 -5 10 10" refX="15" refY="-1.5"
33 markerUnits="strokeWidth"
34 markerWidth="6" markerHeight="6"
35 orient="auto">
36 <path d="M0,-5L10,0L0,5"/>
37 </marker>
Ubuntu765deff2013-02-28 18:39:13 +000038 <marker id="TriangleRed"
39 viewBox="0 -5 10 10" refX="10" refY="-0.2"
40 markerUnits="strokeWidth"
41 markerWidth="6" markerHeight="6"
42 orient="auto">
43 <path d="M0,-5L10,0L0,5" fill="red" stroke="red"/>
44 </marker>
Ubuntu82b8a832013-02-06 22:00:11 +000045 </defs>
Masayoshi Kobayashi21bd3be2013-02-27 22:00:44 +000046<h1>ONOS Sprint 4 Demo GUI</h1>
47<h2>Controller Status</h2>
Masayoshi Kobayashidd4ad8f2013-02-27 20:20:13 +000048<div id="servers"></div>
49<div id="onos-status"></div>
50<div id="cassandra-status"></div>
Masayoshi Kobayashi21bd3be2013-02-27 22:00:44 +000051<h2>Topology View</h2>
52<div id="topology"></div>
Masayoshi Kobayashidd4ad8f2013-02-27 20:20:13 +000053<script type="text/javascript" src="js/controller-status.js"></script>
Ubuntu82b8a832013-02-06 22:00:11 +000054<script type="text/javascript">
Masayoshi Kobayashi8afa8822013-04-02 22:20:33 +000055controller_status("http://gui3.onlab.us:8081/controller_status");
56gui("http://gui3.onlab.us:8081/topology");
Ubuntu82b8a832013-02-06 22:00:11 +000057</script>
58</svg>
59</body>
60</html>