Skip to content
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

Add support for OSPF update messages #41

Merged
merged 2 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion containerlab/frinx_topo_1/.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@

R1_PE1_NEIGHBOR_IP=172.18.0.1
R1_PE1_STATIC_ROUTE=172.18.0.0/24
R1_PE1_LOCAL_AS_NUMBER=100
R1_PE1_LOCAL_AS_NUMBER=100

##### R1_PE2 TEMPLATE VARIABLES

R1_PE2_NEIGHBOR_IP=172.18.0.1
R1_PE2_STATIC_ROUTE=172.18.0.0/24
R1_PE2_LOCAL_AS_NUMBER=100
44 changes: 44 additions & 0 deletions containerlab/frinx_topo_1/config_r1_pe2.partial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,17 @@ configure {
}
}
}
interface "to-host" {
admin-state enable
port 1/1/c4/1
ipv4 {
primary {
address 172.21.0.2
prefix-length 30
}
}
}

ldp {
admin-state enable
interface-parameters {
Expand Down Expand Up @@ -235,6 +246,11 @@ configure {
sr-te application-specific-link-attributes
advertise-delay true
}
database-export {
bgp-ls-identifier {
value 987654321
}
}
area 0.0.0.0 {
interface "system" {
admin-state enable
Expand Down Expand Up @@ -273,6 +289,20 @@ configure {
bgp {
admin-state enable
router-id 4.4.4.4
link-state-route-export true
link-state-route-import true
group "SDN" {
admin-state enable
type internal
peer-as 100
local-address 172.21.0.2
family {
bgp-ls true
}
local-as {
as-number 100
}
}
group "eBGP" {
admin-state enable
multihop 5
Expand Down Expand Up @@ -303,6 +333,20 @@ configure {
group "eBGP"
peer-as 65002
}
neighbor "172.18.0.1" {
admin-state enable
group "SDN"
}
}
static-routes {
route 172.18.0.0/24 route-type unicast {
interface "to-host" {
admin-state enable
}
next-hop "172.21.0.1" {
admin-state enable
}
}
}
}

Expand Down
Loading
Loading