[rancid] Fortigate - tweak suggestion as well as issue with spacing FortiOS >5.4+
Piegorsch, Weylin William
weylin at bu.edu
Fri Jun 9 10:58:22 UTC 2017
If you’re asking “any” device - in Cisco descriptions (FEX descriptions, interface descriptions...) I’ll sometimes add whitespace so that under some “show” commands I get output alignment. Makes it easy to visually identify errors (typeos, etc) and I’m playing with similar Regex-based automated verification in my vendor tools (PRIME Infrastructure and so forth), and under normal operation non-alignment makes it a bit of a challenge to quickly scan and find the information I’m looking for.
I don’t know Forti*, not sure if that applies here.
weylin
-----Original Message-----
From: Griesser Alexander <AGriesser at anexia-it.com>
Date: Thursday, June 8, 2017 at 02:36
To: heasley <heas at shrubbery.net>
Cc: Chris Wopat <me at falz.net>, "rancid-discuss at shrubbery.net" <rancid-discuss at shrubbery.net>
Subject: Re: [rancid] Fortigate - tweak suggestion as well as issue with spacing FortiOS >5.4+
> > - next
> > + next
> > end
> > can be fixed by adding "ignore-whitespace" as a diff option which would make sense in all situations I guess; not sure if there's any router/switch/firewall which really cares about whitespace syntax-wise.
> True, but this would filter spaces that are legitimate. :)
Like which ones? I'm not aware of any legitimate spaces in the configuration of networking devices - does anyone have a syntax example for any device which makes a difference between one or two spaces in the configuration?
Best,
Alex
More information about the Rancid-discuss
mailing list