lnms config:set enable_lazy_load true
#--------------------------#
# Custom Port Descriptions #
#--------------------------#
$config['custom_descr'][] = "Access";
$config['custom_descr'][] = "CDN-Cache";
$config['custom_descr'][] = "MGMT";
$config['custom_descr'][] = "Voice";
$config['custom_descr'][] = "Datacenter";
$config['custom_descr'][] = "LAG-IP-Transit";
$config['custom_descr'][] = "LAG-Peering";
$config['custom_descr'][] = "LAG-CDN-Cache";
$config['custom_descr'][] = "LAG-Access";
$config['custom_descr'][] = "LAG-Core";
$config['custom_descr'][] = "LAG-Datacenter";
#-----------------------------------------#
# To Ignore Access Network Customer Ports #
#-----------------------------------------#
$config['os']['calix']['discovery_modules']['ports'] = false;
$config['os']['exa']['discovery_modules']['ports'] = false;
$config['os']['axos']['discovery_modules']['ports'] = false;
### Turn on selected port polling by default for calix devices ###
$config['os']['calix']['polling']['selected_ports'] = true;
$config['os']['exa']['polling']['selected_ports'] = true;
$config['os']['axos']['polling']['selected_ports'] = true;
###### Ignore ONT/Customer Interfaces #####
$config['bad_ifname_regexp'][] = '/[A-Za-z0-9]{8}\/g[0-9]/' ;
$config['bad_ifname_regexp'][] = '/ONT [0-9]*\/g[0-9]/' ;
$config['bad_ifname_regexp'][] = '/Ont [0-9]*\/g[0-9]/' ;
$config['bad_ifname_regexp'][] = 'Ont [0-9]*\/g[0-9]' ;
$config['bad_ifname_regexp'][] = 'ONT [0-9]*\/g[0-9]' ;
$config['bad_ifname_regexp'][] = '\d{6}' ;
$config['bad_if_regexp'][] = '/[A-Za-z0-9]{8}\/g[0-9]/' ;
$config['bad_if_regexp'][] = '/ONT [0-9]*\/g[0-9]/' ;
$config['bad_if_regexp'][] = '/Ont [0-9]*\/g[0-9]/' ;
$config['bad_if_regexp'][] = 'Ont [0-9]*\/g[0-9]' ;
$config['bad_if_regexp'][] = 'ONT [0-9]*\/g[0-9]' ;
$config['bad_if_regexp'][] = '\d{6}' ;
$config['bad_ifalis_regexp'][] = '/[A-Za-z0-9]{8}\/g[0-9]/' ;
$config['bad_ifalias_regexp'][] = '/ONT [0-9]*\/g[0-9]/' ;
$config['bad_ifalias_regexp'][] = '/Ont [0-9]*\/g[0-9]/' ;
$config['bad_ifalias_regexp'][] = 'Ont [0-9]*\/g[0-9]' ;
$config['bad_ifalias_regexp'][] = 'ONT [0-9]*\/g[0-9]' ;
$config['bad_ifalias_regexp'][] = '\d{6}' ;
$config['os']['exa']['bad_ifname_regexp'][] = '/[A-Za-z0-9]{8}\/g[0-9]/' ;
$config['os']['exa']['bad_ifname_regexp'][] = '/Ont [0-9]*\/g[0-9]/' ;
$config['os']['exa']['bad_ifname_regexp'][] = '/ONT [0-9]*\/g[0-9]/' ;
$config['os']['exa']['bad_ifname_regexp'][] = '\d{6}' ;
$config['os']['exa']['bad_ifname_regexp'][] = 'Ont [0-9]*\/g[0-9]' ;
$config['os']['exa']['bad_ifname_regexp'][] = 'ONT [0-9]*\/g[0-9]' ;
$config['os']['calix']['bad_ifname_regexp'][] = '/[A-Za-z0-9]{8}\/g[0-9]/' ;
$config['os']['calix']['bad_ifname_regexp'][] = '/Ont [0-9]*\/g[0-9]/' ;
$config['os']['calix']['bad_ifname_regexp'][] = '/ONT [0-9]*\/g[0-9]/' ;
$config['os']['calix']['bad_ifname_regexp'][] = '\d{6}' ;
$config['os']['calix']['bad_ifname_regexp'][] = 'Ont [0-9]*\/g[0-9]' ;
$config['os']['calix']['bad_ifname_regexp'][] = 'ONT [0-9]*\/g[0-9]' ;
$config['os']['axos']['bad_ifname_regexp'][] = '/[A-Za-z0-9]{8}\/g[0-9]/' ;
$config['os']['axos']['bad_ifname_regexp'][] = '/Ont [0-9]*\/g[0-9]/' ;
$config['os']['axos']['bad_ifname_regexp'][] = '/ONT [0-9]*\/g[0-9]/' ;
$config['os']['axos']['bad_ifname_regexp'][] = '\d{6}' ;
$config['os']['axos']['bad_ifname_regexp'][] = 'Ont [0-9]*\/g[0-9]' ;
$config['os']['axos']['bad_ifname_regexp'][] = 'ONT [0-9]*\/g[0-9]' ;
#-------------------------------#
# Ignore pfSense VPN interfaces #
#-------------------------------#
$config['os']['pfsense']['bad_ifname_regexp'][] = '/ipsec[0-9][0-9][0-9][0-9]/' ;
$config['os']['proxmox']['bad_ifname_regexp'][] = '/tap[0-9][0-9][0-9]i[0-9]/' ;
#-------------------------------#
# Ignore Proxmox TAP interfaces #
#-------------------------------#
$config['os']['proxmox']['bad_ifname_regexp'][] = '/tap[0-9][0-9][0-9]i[0-9]/' ;