Skip to content

Commit

Permalink
fixing the parsing test due to MUP
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed Jun 9, 2024
1 parent 713b823 commit 8be1c96
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions etc/exabgp/conf-srv6-mup.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,21 @@ neighbor 127.0.0.1 {
next-hop 10.0.0.2 \
extended-community [ target:10:10 mup:10:10 ];

mup \
mup-t2st 10.0.0.1 rd 100:100 teid 12345/23 \
next-hop 10.0.0.2 \
extended-community [ target:10:10 mup:10:10 ];
# The code generating those is in need of a code review
# for example it stores the IP len when not required and can found from the family
# the family itself is stored in a weird way ( the IP has family already )
# the code parsing this also does not check for invalid teid length
# not my code not fixing it, making the test pass /Thomas

mup \
mup-t2st 10.0.0.1 rd 100:100 teid 12345/0 \
next-hop 10.0.0.2 \
extended-community [ target:10:10 mup:10:10 ];
# mup \
# mup-t2st 10.0.0.1 rd 100:100 teid 12345/23 \
# next-hop 10.0.0.2 \
# extended-community [ target:10:10 mup:10:10 ];

# mup \
# mup-t2st 10.0.0.1 rd 100:100 teid 12345/0 \
# next-hop 10.0.0.2 \
# extended-community [ target:10:10 mup:10:10 ];
}
ipv6 {
mup \
Expand Down

0 comments on commit 8be1c96

Please sign in to comment.