Page MenuHomeVyOS Platform

Add "description" node to the next-hop node
Closed, InvalidPublicFEATURE REQUEST

Description

e.g.:
set protocols static route 0.0.0.0/0 next-hop 1.1.1.1 description ISP1
set protocols static route 0.0.0.0/0 next-hop 2.2.2.2 description ISP2

Details

Version
-

Event Timeline

Harliff updated the task description. (Show Details)
dmbaturin subscribed.

Good ol' Occam says no. We already have a general mechanism for that, and I think as we rewrite code, we may want to get rid of the description fields that predate that mechanism.

vyos@vyos-test-1# comment protocols static route 10.0.0.0/24 next-hop 192.0.2.1 "My next hop"
[edit]
vyos@vyos-test-1# commit

vyos@vyos-test-1# show protocols static 
 route 10.0.0.0/24 {
     /* My next hop */
     next-hop 192.0.2.1 {
     }
 }