-
Notifications
You must be signed in to change notification settings - Fork 7
DZD Metadata: controller - render ibgp/msdp peers #1035
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
4b29c73
vpnv4 peers
nikw9944 6b4742a
activator does not yet assign IPs
nikw9944 10dacf2
Skip devices with no LoopbackTypeVpnv4 interface
nikw9944 f00d889
e2e updates for router-id
nikw9944 31c1c95
feat(controller): #1022 render IBGP peers
nikw9944 48c73db
device.txt -> base.config.txt
nikw9944 f8962c0
Peer removal
nikw9944 f0cab17
address-family ipv4 / vpn-ipv4
nikw9944 c169c6f
Fix e2e tests
nikw9944 d7b7c7b
ipv4-only and msdp peers
nikw9944 32fd3e9
Update e2e to handle vpnv4 bgp peers
nikw9944 f4f365f
Fix a typo; ibgp peers are not unknown
nikw9944 8679cc5
e2e updates
nikw9944 2109e4d
Fix e2e telemetry test
nikw9944 64ecee2
Make TunnelTunnelBlock match testnet
nikw9944 b06bd1c
Add vpnv4/ipv4 tag to bgp neighbor descriptions
nikw9944 c4d0d88
Remove extra lines from merge
nikw9944 ccd5e7f
Fix typos
nikw9944 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
102 changes: 102 additions & 0 deletions
102
controlplane/controller/internal/controller/fixtures/base.config.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,102 @@ | ||
| ! | ||
| ip multicast-routing | ||
| ! | ||
| router pim sparse-mode | ||
| ipv4 | ||
| rp address 10.0.0.0 239.0.0.0/24 override | ||
| ! | ||
| vrf instance vrf1 | ||
| ip routing vrf vrf1 | ||
| ! | ||
| hardware access-list update default-result permit | ||
| ! | ||
| no ip access-list MAIN-CONTROL-PLANE-ACL | ||
| ip access-list MAIN-CONTROL-PLANE-ACL | ||
| counters per-entry | ||
| 10 permit icmp any any | ||
| 20 permit ip any any tracked | ||
| 30 permit udp any any eq bfd ttl eq 255 | ||
| 40 permit udp any any eq bfd-echo ttl eq 254 | ||
| 50 permit udp any any eq multihop-bfd micro-bfd sbfd | ||
| 60 permit udp any eq sbfd any eq sbfd-initiator | ||
| 70 permit ospf any any | ||
| 80 permit tcp any any eq ssh telnet www snmp bgp https msdp ldp netconf-ssh gnmi | ||
| 90 permit udp any any eq bootps bootpc snmp rip ntp ldp ptp-event ptp-general | ||
| 100 permit tcp any any eq mlag ttl eq 255 | ||
| 110 permit udp any any eq mlag ttl eq 255 | ||
| 120 permit vrrp any any | ||
| 130 permit ahp any any | ||
| 140 permit pim any any | ||
| 150 permit igmp any any | ||
| 160 permit tcp any any range 5900 5910 | ||
| 170 permit tcp any any range 50000 50100 | ||
| 180 permit udp any any range 51000 51100 | ||
| 190 permit tcp any any eq 3333 | ||
| 200 permit tcp any any eq nat ttl eq 255 | ||
| 210 permit tcp any eq bgp any | ||
| 220 permit rsvp any any | ||
| 230 permit tcp any any eq 9340 | ||
| 240 permit tcp any any eq 9559 | ||
| 250 permit udp any any eq 8503 | ||
| 260 permit udp any any eq lsp-ping | ||
| 270 permit udp any eq lsp-ping any | ||
|
|
||
| 280 remark Permit TWAMP (UDP 862) | ||
| 290 permit udp any any eq 862 | ||
| ! | ||
| system control-plane | ||
| ip access-group MAIN-CONTROL-PLANE-ACL in | ||
| ! | ||
| router bgp 65342 | ||
| router-id 14.14.14.14 | ||
| no neighbor 12.12.12.12 | ||
| neighbor 12.12.12.12 remote-as 65342 | ||
| neighbor 12.12.12.12 next-hop-self | ||
| neighbor 12.12.12.12 update-source Loopback256 | ||
| neighbor 12.12.12.12 description remote-dzd-ipv4 | ||
| neighbor 12.12.12.12 send-community | ||
| no neighbor 15.15.15.15 | ||
| neighbor 15.15.15.15 remote-as 65342 | ||
| neighbor 15.15.15.15 next-hop-self | ||
| neighbor 15.15.15.15 update-source Loopback255 | ||
| neighbor 15.15.15.15 description remote-dzd-vpnv4 | ||
| neighbor 15.15.15.15 send-community | ||
| address-family ipv4 | ||
| neighbor 12.12.12.12 activate | ||
| no neighbor 15.15.15.15 activate | ||
| ! | ||
| address-family vpn-ipv4 | ||
| neighbor 15.15.15.15 activate | ||
| ! | ||
| vrf vrf1 | ||
| rd 65342:1 | ||
| route-target import vpn-ipv4 65342:1 | ||
| route-target export vpn-ipv4 65342:1 | ||
| router-id 7.7.7.7 | ||
| ! | ||
| ip community-list COMM-ALL_USERS permit 21682:1200 | ||
| ip community-list COMM-ALL_MCAST_USERS permit 21682:1300 | ||
| ! | ||
| no ip access-list SEC-USER-PUB-MCAST-IN | ||
| ip access-list SEC-USER-PUB-MCAST-IN | ||
| counters per-entry | ||
| permit icmp any any | ||
| permit tcp any any eq bgp | ||
| permit ip any 224.0.0.13/32 | ||
| permit ip any 239.0.0.0/24 | ||
| deny ip any any | ||
| ! | ||
| no ip access-list SEC-USER-SUB-MCAST-IN | ||
| ip access-list SEC-USER-SUB-MCAST-IN | ||
| counters per-entry | ||
| permit icmp any any | ||
| permit tcp any any eq bgp | ||
| permit ip any 224.0.0.13/32 | ||
| deny ip any any | ||
| ! | ||
| no router msdp | ||
| router msdp | ||
| peer 12.12.12.12 | ||
| mesh-group DZ-1 | ||
| local-interface Loopback256 | ||
| description remote-dzd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.