Good_ifalias... like good_if but based on ifalias text

It would be handy to have a config option for a magic substring that one could put in the text of the ifalias (description/comment) field of an interface that would override all the bad_if_blah entries… just like good_if works but looking at the ifalias field instead.

I have boxen with lots and lots of SVIs or qinq sub-interfaces or whatever that I largely want to ignore, but I might like to have graphs of just a handful of them so I don’t want to bad_if them out of existence entirely.

Alternately, config options to add interfaces as disabled or ignored (instead of not adding them at all) would have the same utility.

Well, that was easy, even for me… figuring out git looks to be harder so for now…

diff functions.php functions.php.orig

1076,1079d1075
< if (str_i_contains($ifAlias, Config::getOsSetting($device[‘os’], ‘good_ifalias’))) {
< return true;
< }
<