Skip to content

Commit

Permalink
Add large_community to eos bgp detail (networktocode#2008)
Browse files Browse the repository at this point in the history
* add large_community to eos bgp detail

* fix yamlint errors

* Update ntc_templates/templates/arista_eos_show_ip_bgp_detail.textfsm

Co-authored-by: Michael Bear <[email protected]>

---------

Co-authored-by: Brandon Donohoe <[email protected]>
Co-authored-by: Michael Bear <[email protected]>
  • Loading branch information
3 people authored and CursedEnvy committed Feb 5, 2025
1 parent 8669fdf commit 538b4b4
Show file tree
Hide file tree
Showing 4 changed files with 515 additions and 198 deletions.
2 changes: 2 additions & 0 deletions ntc_templates/templates/arista_eos_show_ip_bgp_detail.textfsm
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Value VALID (\S+)
Value PATH_TYPE (\S+)
Value ACTIVE (best)
Value COMMUNITY ((?:(?:(?:no-export|no-advertise|local-as|internet)|\d+\s?:\s?\d+)\s?)*)
Value LARGE_COMMUNITY ((?:(?:\d+\s?:\s?\d+\s?:\s?\d+)\s?)*)
Value NEXT_HOP (\d+\.\d+\.\d+\.\d+)
Value NEIGHBOR (\S+)
Value NEIGHBOR_ID (\S+)
Expand All @@ -32,6 +33,7 @@ Start
^\s+Origin\s+${ORIGIN},\s+metric\s+${METRIC},\s+localpref\s+${LOCAL_PREF},\s+IGP\s+metric\s+\S+,\s+weight\s+${WEIGHT},\s+received\s+\S+\s+ago,\s+${VALID},\s+${PATH_TYPE},\s+atomic-aggregate
^\s+Origin\s+${ORIGIN},\s+metric\s+${METRIC},\s+localpref\s+${LOCAL_PREF},\s+IGP\s+metric\s+\S+,\s+weight\s+${WEIGHT},\s+received\s+\S+\s+ago,\s+${VALID},\s+${PATH_TYPE}
^\s+Community:\s+${COMMUNITY}$$
^\s+Large\s+Community:\s+${LARGE_COMMUNITY}$$
^\s+Extended\s+Community:\s+\S+
^\s+Rx\s+path\s+id:\s+\S+
^\s+Rx\s+SAFI:\s+\S+ -> Record
Expand Down
Loading

0 comments on commit 538b4b4

Please sign in to comment.