Hi!
Unfortunately my network devices are very slow to anwser snmp get-bulk requests, causing cricket process run indefinitely. Is it possible to implemment a new feature to restrict the number of interfaces generated by mcc.py? So, I can tell to mcc.py to only generate trunk interfaces config.
Searching in source code, i've found this piece of code. I think the bold line that must be upgraded to provide this feature:
def create_interface_config(netbox, targetdir, module): """Create config for this netbox and store it in targetdir
returns: a list of containers """ LOGGER.info("Creating config for %s" % targetdir)
config = CONFIG[module] * interfaces = netbox.interface_set.select_related('netbox').filter(* * **config['filter']).distinct().order_by('ifindex')*
Until this feature can be applyed, is there any workarround that I can do to acomplish that? All of my switches trunk ports is standardized to be in the last ports (22 to 26 and 44-48)...