Skip to content

Commit

Permalink
Corrected nexthop_ip regex in ubiquiti ipv6 route template (networkto…
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-mbali authored and k-ribot committed Feb 20, 2023
1 parent 09ec1d4 commit 5d6a366
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Value IP ([A-Za-z0-9:]+)
Value PREFIX_LENGTH (\d{1,3})
Value DISTANCE (\d+)
Value METRIC (\d+)
Value NEXTHOP_IP ([A-F0-9:]+)
Value NEXTHOP_IP ([\w:]+)
Value INTERFACE (\w+)
Value UPTIME (\d[\w:\.]+)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Timers: Uptime

IP Route Table for VRF "default"
S ::/0 [50/0] via ::, pppoe4, 01w0d05h
S ::/64 [50/0] via 2a05:c100:1d::2, eth1, 00:00:04
C ::1/128 via ::, lo, 01w0d05h
C 2a05:b780:0:1d::/64 via ::, pppoe4, 01w0d05h
C 2a05:c100:1d::/64 via ::, eth1, 01:11:26
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ parsed_sample:
nexthop_ip: "::"
interface: "pppoe4"
uptime: "01w0d05h"
- code: "S"
ip: "::"
prefix_length: "64"
distance: "50"
metric: "0"
nexthop_ip: "2a05:c100:1d::2"
interface: "eth1"
uptime: "00:00:04"
- code: "C"
ip: "::1"
prefix_length: "128"
Expand Down

0 comments on commit 5d6a366

Please sign in to comment.