Changeset 329 for trunk


Ignore:
Timestamp:
Oct 31, 2017, 3:54:20 PM (6 years ago)
Author:
g7moreau
Message:
  • Add bad-vlan-id web page
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/push-web

    r292 r329  
    136136END
    137137
     138
     139$CAT <<END > ${TMP}/bad-vlan-id.html
     140<html>
     141<head>
     142 <link rel="stylesheet" type="text/css" href="style-klask.css" />
     143 <meta http-equiv="refresh" content="1800">
     144 <script src="sorttable-klask.js"></script>
     145</head>
     146<body>
     147<h1>
     148<b><a href="http://servforge.legi.grenoble-inp.fr/projects/klask">Klask</a></b>
     149- Un outil pour <a href="switch-map.png">cartographier</a> (<a href="switch-map.svg">svg</a>) le r&eacute;seau [${LOCALTIME}] - site ${SITE_NAME}
     150</h1>
     151
     152<p>
     153Cette page pr&eacute;sente la liste des machines qui ne sont pas configur&eacute;es sur le bon VLAN.
     154Le portail contient la liste de toutes les <a href="index.html">IP d&eacute;tect&eacute;es</a> par Klask.
     155</p>
     156
     157<p>
     158Les r&eacute;sultats brut de Klask sont accessibles directement via wget ou curl, par exemple, pour un traitement sp&eacute;cifique :
     159<a href="hostname-db.txt">Machines</a>,
     160<a href="switch-db.txt">Commutateurs</a>,
     161<a href="ipfree-db.txt">IP disponibles</a>,
     162<a href="switch-map.txt">Carte</a>.
     163</p>
     164END
     165
     166$KLASK bad-vlan-id --format html >> ${TMP}/bad-vlan-id.html
     167
     168$CAT <<END >> ${TMP}/bad-vlan-id.html
     169</body>
     170</html>
     171END
     172
     173
    138174if [ "${REMOTE_SERVER}" = "localhost" ]
    139175then
     
    143179      ${TMP}/index.html \
    144180      ${TMP}/ip-free.html \
     181      ${TMP}/bad-vlan-id.html \
    145182      ${TMP}/*-db.txt \
    146183      ${TMP}/switch-map.txt \
     
    155192      ${TMP}/index.html \
    156193      ${TMP}/ip-free.html \
     194      ${TMP}/bad-vlan-id.html \
    157195      ${TMP}/*-db.txt \
    158196      ${TMP}/switch-map.txt \
Note: See TracChangeset for help on using the changeset viewer.