blob: fd1f27d66d3c23ff29fb9ba5b8719c4f03f2ff24 [file] [log] [blame]
Masayoshi Kobayashie64d44b2014-04-23 11:40:02 -07001<!DOCTYPE html>
2<html>
3<meta charset="utf-8">
4<style>
5circle {
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 Simple Topology GUI</title>
18<script src="http://d3js.org/d3.v3.js"></script>
19<script src="http://d3js.org/queue.v1.js"></script>
20<script type="text/javascript" src="js/topo.js"></script>
21<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
22</head>
23<body>
24<!--
25<button id="more">more</button>
26<button id="less">less</button>
27--!>
28<svg width="0.1in" height="0.1in"
29 viewBox="0 0 4000 2000" version="1.1"
30 xmlns="http://www.w3.org/2000/svg">
31 <defs>
32 <marker id="Triangle"
33 viewBox="0 -5 10 10" refX="15" refY="-1.5"
34 markerUnits="strokeWidth"
35 markerWidth="6" markerHeight="6"
36 orient="auto">
37 <path d="M0,-5L10,0L0,5"/>
38 </marker>
39 <marker id="TriangleRed"
40 viewBox="0 -5 10 10" refX="10" refY="-0.2"
41 markerUnits="strokeWidth"
42 markerWidth="6" markerHeight="6"
43 orient="auto">
44 <path d="M0,-5L10,0L0,5" fill="red" stroke="red"/>
45 </marker>
46 </defs>
47<h1>ONOS Simple Topology GUI</h1>
48<h2>Controller Status</h2>
49<div id="servers"></div>
50<div id="onos-status"></div>
51<h2>Topology View</h2>
52<div id="topology"></div>
53<script type="text/javascript" src="js/ctrl.js"></script>
54<script type="text/javascript">
55controller_status("wm/onos/registry/switches/json");
Yuta HIGUCHI42d7f1b2014-05-28 09:19:49 -070056gui("wm/onos/topology/switches","wm/onos/topology/links","wm/onos/registry/switches/json");
Masayoshi Kobayashie64d44b2014-04-23 11:40:02 -070057</script>
58</svg>
59</body>
60</html>