[rancid] Fortigate - tweak suggestion as well as issue with spacing FortiOS >5.4+
AGriesser at anexia-it.com
Fri Jun 9 12:15:07 UTC 2017
Good point, totally missed that.
Head of Systems Operations
ANEXIA Internetdienstleistungs GmbH
E-Mail: AGriesser at anexia-it.com
Anschrift Hauptsitz Klagenfurt: Feldkirchnerstraße 140, 9020 Klagenfurt
Geschäftsführer: Alexander Windbichler
Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601
Von: Piegorsch, Weylin William [mailto:weylin at bu.edu]
Gesendet: Freitag, 9. Juni 2017 12:58
An: Alexander Griesser <AGriesser at anexia-it.com>; heasley <heas at shrubbery.net>
Cc: Chris Wopat <me at falz.net>; rancid-discuss at shrubbery.net
Betreff: Re: [rancid] Fortigate - tweak suggestion as well as issue with spacing FortiOS >5.4+
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.
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?
More information about the Rancid-discuss