Open aegiacometti opened 3 years ago
Also, the schema routes.avsc for statusChangeTimestamp key should be updated to
{
"name": "statusChangeTimestamp",
"type": {
"type": "array",
"items": {
"name": "statusChangeTimeSt",
"type": "long"
}
},
"description": "The last time this route changed"
},
Which I think will trigger a major update in all the templates and scripts for "routes"
Describe the bug The template is matching only one value for a route and its alternatives.
Suzie-cli display only one reference time (evidence)
It would be necessary to change the Value statusChangeTimestamp to a List in the TextFSM template iosxe_show_route.tfsm.
Then adapt the script routes.py to support a list of values instead of only one. Change ending lines of function def _clean_iosxr_data to something like this
And then more changes would be needed in the rest of the code. I will investigate more...