Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <meta charset="utf-8"> |
| 4 | <style> |
| 5 | path.link { |
| 6 | fill: none; |
| 7 | stroke: #666; |
| 8 | stroke-width: 1.5px; |
| 9 | } |
| 10 | circle { |
| 11 | stroke: #333; |
| 12 | stroke-width: 1.5px; |
| 13 | } |
| 14 | |
| 15 | text { |
| 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 Kobayashi | 21bd3be | 2013-02-27 22:00:44 +0000 | [diff] [blame^] | 28 | <!-- |
Masayoshi Kobayashi | 274c07d | 2013-02-20 21:38:16 +0000 | [diff] [blame] | 29 | <button id="more">more</button> |
Masayoshi Kobayashi | dd4ad8f | 2013-02-27 20:20:13 +0000 | [diff] [blame] | 30 | <button id="less">less</button> |
Masayoshi Kobayashi | 21bd3be | 2013-02-27 22:00:44 +0000 | [diff] [blame^] | 31 | --!> |
Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 32 | <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 Kobayashi | 21bd3be | 2013-02-27 22:00:44 +0000 | [diff] [blame^] | 44 | <h1>ONOS Sprint 4 Demo GUI</h1> |
| 45 | <h2>Controller Status</h2> |
Masayoshi Kobayashi | dd4ad8f | 2013-02-27 20:20:13 +0000 | [diff] [blame] | 46 | <div id="servers"></div> |
| 47 | <div id="onos-status"></div> |
| 48 | <div id="cassandra-status"></div> |
Masayoshi Kobayashi | 21bd3be | 2013-02-27 22:00:44 +0000 | [diff] [blame^] | 49 | <h2>Topology View</h2> |
| 50 | <div id="topology"></div> |
Masayoshi Kobayashi | dd4ad8f | 2013-02-27 20:20:13 +0000 | [diff] [blame] | 51 | <script type="text/javascript" src="js/controller-status.js"></script> |
Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 52 | <script type="text/javascript"> |
Masayoshi Kobayashi | 21bd3be | 2013-02-27 22:00:44 +0000 | [diff] [blame^] | 53 | controller_status("http://gui.onlab.us:8080/controller_status"); |
Masayoshi Kobayashi | f63ef2f | 2013-02-20 21:47:21 +0000 | [diff] [blame] | 54 | gui("http://gui.onlab.us:8080/topology"); |
Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 55 | </script> |
| 56 | </svg> |
| 57 | </body> |
| 58 | </html> |