5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <meta name="description" content="">
8 <meta name="author" content="">
10 <title>SDN Hub starter kit</title>
12 <!-- Bootstrap core CSS -->
13 <link rel="stylesheet" href="/web/css/pure-min-0.5.0.css">
14 <link rel="stylesheet" href="/web/css/font-awesome.min.css">
15 <link rel="stylesheet" href="/web/css/pure-custom.css">
16 <link rel="stylesheet" href="/web/css/joint.all.min.css">
23 <div class="home-menu pure-menu pure-menu-open pure-menu-horizontal pure-menu-fixed">
24 <img src="/web/img/sdnhub_logo.png" style="height:40px;vertical-align:middle;">
25 <a class="pure-menu-heading" href="">SDN Hub Controller</a>
32 <div class="pure-menu pure-menu-open">
35 <a href="/web/index.html">Topology
36 <i class="fa fa-home"></i></a>
39 <a href="/web/stats.html">Statistics
40 <i class="fa fa-bar-chart-o"></i></a>
43 <a href="/web/tap.html">Manage Tap
44 <i class="fa fa-edit"></i></a>
46 <li class="menu-item-divided pure-menu-selected">
47 <a href="/web/loadbalancer.html">Load balancer
48 <i class="fa fa-sitemap"></i></a>
55 <h2>Load-balancer Configuration</h2>
56 <p>Following form allows create a pool for a stateless server
57 load-balancer that assigns each incoming request to
58 a different server within the pool. Current implementation only
59 allows a single server pool, and does not work in a network with
60 loops. Current implementation only load-balances TCP requests.</p>
62 <form class="pure-form pure-form-aligned">
64 <div class="pure-control-group">
65 <label>Virtual IP</label>
66 <input id="virtual-ip" type="text" placeholder="VIP" required>
69 <div class="pure-control-group">
70 <label>Server pool</label>
71 <select id="servers" style="width:12em;" multiple>
75 <div class="pure-controls">
76 <input id="rewrite-ip" checked type="checkbox">
77 Rewrite IP addresses because servers<br>
78 are not configured with VIP as alias IP.
82 <div class="pure-controls">
83 <button href="#" class="pure-button pure-button-primary"
84 onclick="createLBPool()">Create</button>
85 <button href="#" class="pure-button pure-button-primary"
86 onclick="deleteLBPool()">Delete</button>
88 <div id="post-status">
93 <p class="legal-copyright">
94 © 2014 SDN Hub. All rights reserved.
98 <script src="/web/js/jquery.min.js"></script>
99 <script src="/web/js/utils.js"></script>
100 <script src="/web/js/loadbalancer.js"></script>