Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <meta charset="utf-8"> |
| 4 | <style> |
Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 5 | circle { |
| 6 | stroke: #333; |
| 7 | stroke-width: 1.5px; |
| 8 | } |
| 9 | |
| 10 | text { |
| 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 Kobayashi | 21bd3be | 2013-02-27 22:00:44 +0000 | [diff] [blame] | 23 | <!-- |
Masayoshi Kobayashi | 274c07d | 2013-02-20 21:38:16 +0000 | [diff] [blame] | 24 | <button id="more">more</button> |
Masayoshi Kobayashi | dd4ad8f | 2013-02-27 20:20:13 +0000 | [diff] [blame] | 25 | <button id="less">less</button> |
Masayoshi Kobayashi | 21bd3be | 2013-02-27 22:00:44 +0000 | [diff] [blame] | 26 | --!> |
Jonathan Hart | 4f7aeb4 | 2014-01-03 11:44:33 -0800 | [diff] [blame] | 27 | <svg width="0.1in" height="0.1in" |
Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 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> |
Ubuntu | 765deff | 2013-02-28 18:39:13 +0000 | [diff] [blame] | 38 | <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> |
Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 45 | </defs> |
Masayoshi Kobayashi | bcb03c0 | 2014-01-22 15:18:49 -0800 | [diff] [blame] | 46 | <h1>ONOS Simple Topology GUI</h1> |
Masayoshi Kobayashi | 21bd3be | 2013-02-27 22:00:44 +0000 | [diff] [blame] | 47 | <h2>Controller Status</h2> |
Masayoshi Kobayashi | dd4ad8f | 2013-02-27 20:20:13 +0000 | [diff] [blame] | 48 | <div id="servers"></div> |
| 49 | <div id="onos-status"></div> |
| 50 | <div id="cassandra-status"></div> |
Masayoshi Kobayashi | 21bd3be | 2013-02-27 22:00:44 +0000 | [diff] [blame] | 51 | <h2>Topology View</h2> |
| 52 | <div id="topology"></div> |
Masayoshi Kobayashi | dd4ad8f | 2013-02-27 20:20:13 +0000 | [diff] [blame] | 53 | <script type="text/javascript" src="js/controller-status.js"></script> |
Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 54 | <script type="text/javascript"> |
Masayoshi Kobayashi | 9819a09 | 2013-06-20 18:13:17 -0700 | [diff] [blame] | 55 | controller_status("controller_status"); |
| 56 | gui("topology"); |
Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 57 | </script> |
| 58 | </svg> |
| 59 | </body> |
| 60 | </html> |