08-18-2020 09:41 AM - edited 08-18-2020 09:42 AM
I am looking to use 'genie diff' to find discrepancies in my production environment, gathered with 'genie learn config', against our golden configs. Problem I am running into is I want to exclude variable keys such as 'interface *'. I tried using manual exclusion on the diff but couldn't get that to exclude any key, no matter what I referenced. Ideally I would like to find a way to edit the exclude list in the 'genie learn config', much the same way that other ops use. OSPF ops for example:
"_exclude": [
"age",
"uptime",
"last_change",
"cksum",
"seq",
"dead_timer",
"hello_timer",
"checksum",
"seq_num",
"statistics",
"lsas",
"last_state_change",
"bdr_ip_addr",
"dr_ip_addr",
"state",
"bdr_router_id",
"dr_router_id",
"area_scope_lsa_cksum_sum"
],
Any assistance is appreciated.