jathanism / acl

Network access control list and firewall policy parsing library.
Other
24 stars 23 forks source link

Make `bin/load_acls`'s device grouping algorithm read from a configurable parameter in `settings.py` #8

Open jathanism opened 11 years ago

jathanism commented 11 years ago

The current grouping algorithm is hard-coded to a pattern match on the hostname of the device. That is why I did factor it out to the group() function as you determined, so that we can make this something that can be tweaked in the settings.

Let's move this criteria to a callable that can be found within settings.py.