0.4.0 • Published 8 years ago

parseacl v0.4.0

Weekly downloads
2
License
GPLv2
Repository
github
Last release
8 years ago

parseacl - A Cisco ACL parser

Build Status

Description

A cisco ACL parser.

Produce a node object from interface and extended acl input.

Currently only for IPv4.

Install

npm install parseacl

Usage

var Vlan = require('parseacl');

var config = require('./config'); // optional

fs.readFile(filePath, function(err,data){
   data = data.split("\n");
   var v = new Vlan(config); // or new Vlan()
   v.Parse(data);
   
   console.log(JSON.stringify(v, null, 2));
});

For the use of an optional config module, watch example/config-ex.js

See Also

viewacl - A Meteor JS web viewer

Licence

Copyright (C) 2015 Yves Agostini

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Contact the copyright holder for commercial licensing terms if you wish to incorporate this code into non-GPL software.

yves+npm@yvesago.net

0.4.0

8 years ago

0.3.0

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago