Skip to content

Commit

Permalink
add metric test
Browse files Browse the repository at this point in the history
  • Loading branch information
loulecrivain committed Jul 23, 2024
1 parent a384c84 commit 5767adb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cosmo/tests/test_case_vrf_staticroute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ device_list:
- interface:
name: et-0/0/2.0
next_hop: null
metric: null
metric: 100
prefix:
family:
value: 6
Expand Down
1 change: 1 addition & 0 deletions cosmo/tests/test_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def test_router_vrf_rib():
assert 'next_hop' in rib['L3VPN-TEST.inet6.0']['static']['fd98::1/128']
assert rib['L3VPN-TEST.inet.0']['static']['10.114.23.36/32']['next_hop'] == '10.30.0.154'
assert rib['L3VPN-TEST.inet6.0']['static']['fd98::1/128']['next_hop'] == 'et-0/0/2.0'
assert rib['L3VPN-TEST.inet6.0']['static']['fd98::1/128']['metric'] == 100


def test_router_case_mpls_evpn():
Expand Down

0 comments on commit 5767adb

Please sign in to comment.