juniper-config-to-set/index.html

31 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2020-10-17 15:25:06 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2024-02-06 00:16:01 +01:00
<link rel=stylesheet href="style.css" />
<title>Juniper Parser</title>
2020-10-17 15:25:06 +02:00
</head>
<body>
<h1>Juniper Parser</h1>
<p>Put your Juniper configuration in the first textarea, then click on the button. It'll convert the configuration to a series of set commands. </p>
<form style="display: flex; flex-direction: column; justify-content: space-around;">
<textarea id="input" name="inputConf" cols="80" rows="16"></textarea>
2020-10-17 15:25:06 +02:00
<input type="button" onClick="letsParse()" value="Parse !">
<textarea id="output" name="outputConf" cols="80" rows="16" disabled></textarea>
2020-10-17 15:25:06 +02:00
</form>
<h2>Informations</h2>
<h3>Authors</h3>
<p>Tim Price wrote a PHP script to convert Juniper conf to a series of set commands. You can find it on <a href="https://github.com/pgnuta/juniper-config-to-set">this github</a>. I just rewrote it in JS and add an interface. You can find the source code on <a href="https://github.com/rick-gnous/juniper-config-to-set/">this github</a>.</p>
<h3>Contact</h3>
<p>My email address : <code>rick@gnous.eu</code></p>
<p>My Github page : <a href="https://github.com/rick-gnous">here we go</a></p>
<h3>About the code</h3>
<p>All the code is under <a href="https://www.gnu.org/licenses/gpl-3.0.fr.html">GPL3 licence</a>.</p>
<p>It can be used offline, the parsing is done locally, on your PC.</p>
<script src="parser.js"></script>
<script src="changeDom.js"></script>
2020-10-17 15:25:06 +02:00
</body>
</html>