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 | --!> |
Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 27 | <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> |
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 | 21bd3be | 2013-02-27 22:00:44 +0000 | [diff] [blame] | 46 | <h1>ONOS Sprint 4 Demo GUI</h1> |
| 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 | 21bd3be | 2013-02-27 22:00:44 +0000 | [diff] [blame] | 55 | controller_status("http://gui.onlab.us:8080/controller_status"); |
Masayoshi Kobayashi | f63ef2f | 2013-02-20 21:47:21 +0000 | [diff] [blame] | 56 | gui("http://gui.onlab.us:8080/topology"); |
Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 57 | </script> |
| 58 | </svg> |
| 59 | </body> |
| 60 | </html> |