-
Notifications
You must be signed in to change notification settings - Fork 2
/
validate.html
51 lines (51 loc) · 1.88 KB
/
validate.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<html>
<head><title>REST BGP Validator</title></head>
<link rel="stylesheet" href="rbv.css" type="text/css">
<body>
<div id="div_main" style="width:100%">
<div id="header" style="width:100%">
<h1>REST BGP Validator</h1>
</div>
<div id="input1" style="width:100%" class="input">
<fieldset>
<legend>Validate IP prefix : Origin AS</legend>
<form method="post" action="http://localhost:5000/validator/api/v1">
<label for="prefix">IP prefix</label>
<input type="text" id="prefix" name="prefix" maxlength="43" size="30"/>
<br/>
<label for="asn">Origin AS</label>
<input type="text" id="asn" name="asn" maxlength="10" size="30"/>
<br/>
<label for="cache_server">Cache Server</label>
<input type="text" id="cache_server" name="cache_server"
value="rpki-validator.realmv6.org:8282" size="30"/>
<br/>
<button type="reset">Reset</button>
<button type="submit">Submit</button>
</form>
</fieldset>
</div>
<div id="input2" style="width:100%" class="input">
<fieldset>
<legend class="fs_legend">Map and validate IP address</legend>
<form method="post" action="http://localhost:5000/validator/api/v2">
<label for="host">Host IP|FQDN</label>
<input type="text" id="host" name="host" size="30"/>
<br/>
<label for="cache_server">Cache Server</label>
<input type="text" id="cache_server" name="cache_server"
value="rpki-validator.realmv6.org:8282" size="30"/>
<br/>
<label for="ip2as">IP2AS mapping</label>
<select name="ip2as" id="ip2as">
<option value="cymru">Team Cymru</option>
</select>
<br/>
<button type="reset">Reset</button>
<button type="submit">Submit</button>
</form>
</fieldset>
</div>
</div>
</body>
</html>