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>
42 <li class="menu-item-divided pure-menu-selected">
43 <a href="/web/tap.html">Manage Tap
44 <i class="fa fa-edit"></i></a>
47 <a href="/web/loadbalancer.html">Load balancer
48 <i class="fa fa-sitemap"></i></a>
56 <p>Following form allows configuring a stateless tap, i.e., once
57 you create the tap, you cannot track or delete that specific
58 tap. However, you can use the Set and Clear to achieve that effect.
59 Performing a "Clear" operation without specifying any field
60 values will remove all previously created Taps.
61 For this edition of the tap, the source and sink need to be on
64 <form class="pure-form pure-form-aligned">
66 <div class="pure-control-group">
67 <label>Switch DPID</label>
68 <select id="switch" style="width:12em;"
69 onchange="updatePorts()">
73 <div class="pure-control-group">
74 <label>Source port(s)</label>
75 <select id="src-ports" style="width:12em;" multiple>
79 <div class="pure-control-group">
80 <label>Sink port(s)</label>
81 <select id="sink-ports" style="width:12em;" multiple>
85 <div class="pure-control-group">
86 <label>MAC address</label>
87 <select id="mac-class">
88 <option>--Ignore--</option>
89 <option>Source</option>
90 <option>Destination</option>
91 <option>Src or Dest</option>
93 <input id="mac-addr" type="text"
94 placeholder="01:12:23:34:45:56">
97 <div class="pure-control-group">
98 <label>IP address</label>
99 <select id="ip-class">
100 <option>--Ignore--</option>
101 <option>Source</option>
102 <option>Destination</option>
103 <option>Src or Dest</option>
105 <input id="ip-addr" type="text"
106 placeholder="12.23.34.45/24">
109 <div class="pure-control-group">
110 <!--<div class="pure-u-1 pure-u-md-1-3">-->
111 <label>Common traffic types</label>
112 <select id="traffic-type">
113 <option>--Ignore--</option>
114 <option>HTTP</option>
115 <option>HTTPS</option>
117 <option>DHCP</option>
118 <option>ICMP</option>
123 <div class="pure-controls">
124 <button href="#" class="pure-button pure-button-primary" onclick="setTap()">Set</button>
125 <button href="#" class="pure-button pure-button-primary" onclick="clearTap()">Clear</button>
127 <div id="post-status">
132 <p class="legal-copyright">
133 © 2014 SDN Hub. All rights reserved.
137 <script src="/web/js/jquery.min.js"></script>
138 <script src="/web/js/utils.js"></script>
139 <script src="/web/js/tap.js"></script>