Skip to content

Commit

Permalink
Update 'BGP anycast' lab topology to use netlab 1.5 features
Browse files Browse the repository at this point in the history
  • Loading branch information
ipspace committed Feb 3, 2023
1 parent 13a2623 commit 85f82c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
6 changes: 2 additions & 4 deletions routing/anycast-bgp-addpath/topology-external-next-hop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@

module: [ ospf, bgp ]

defaults.bgp.extra_attributes.node: [ anycast ]

defaults:
device: iosv
defaults.bgp.attributes.node.anycast: { type: ipv4, use: prefix }
defaults.device: iosv

bgp:
ebgp_role: stub
Expand Down
11 changes: 4 additions & 7 deletions routing/anycast-bgp-addpath/topology.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@

module: [ ospf, bgp ]

defaults.bgp.extra_attributes.node: [ anycast ]

defaults:
device: iosv
defaults.bgp.attributes.node.anycast: { type: ipv4, use: prefix }
defaults.device: iosv

bgp:
as_list:
Expand All @@ -25,9 +23,8 @@ groups:
config: [ bgp-addpath.j2 ]
as65101:
config: [ bgp-anycast.j2 ]
node_data:
bgp.anycast: 10.42.42.42/32
bgp.advertise_loopback: False
bgp.anycast: 10.42.42.42/32
bgp.advertise_loopback: False

nodes:
[ l1, l2, l3, s1, a1, a2, a3 ]
Expand Down

0 comments on commit 85f82c5

Please sign in to comment.