Re: textfsm json template examples

2021-05-11 Thread Logan Rawlins
Here is a sample output from routedetail.textfsm [ { "Route": "12.0.0.0/24", "Neighbor": "go1", "Age": "2021-05-11 18:03:39", "NeiIP": "192.168.65.1", "OriginAS": "300", "Table": "go1_v4", "BGP_origin": "Incomplete", "BGP_aspath": "57 1 20 300", "BGP_nexthop":

textfsm json template examples

2021-05-11 Thread Logan Rawlins
Like many of you on this list i've seen many running into issues needing json output from bird. For now i'm getting through this using textfsm and then adding the headers to the output creating dict lists of routes or other info from bird. This is probably the easiest method for parsing bird outp