Page MenuHomeVyOS Platform

Missing Well Known Communities in Command Completion
Closed, ResolvedPublic

Description

It looks like even though they exist and work, some of the well known communities are missing from the command completion. For example:

trae@cr01a-vyos# set policy community-list BLACKHOLE rule 10 regex 
Possible completions:
   <aa:nn>              Community number in AA:NN format
   local-AS             Well-known communities value NO_EXPORT_SUBCONFED 0xFFFFFF03
   no-advertise         Well-known communities value NO_ADVERTISE 0xFFFFFF02
   no-export            Well-known communities value NO_EXPORT 0xFFFFFF01
   internet             Well-known communities value 0
   additive             New value is appended to the existing value
 
      
[edit]
trae@cr01a-vyos# set policy community-list BLACKHOLE rule 10 regex blackhole
[edit]
trae@cr01a-vyos# commit
Archiving config...
  sftp://stor01a-rh9.int.trae32566.org/int/cr01a-vyos [edit]
trae@cr01a-vyos# run show bgp ipv4 community blackhole
BGP table version is 102, local router ID is 192.168.253.2, vrf id 0
Default local pref 100, local AS 4242420666
Status codes:  s suppressed, d damped, h history, * valid, > best, = multipath,
               i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes:  i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

    Network          Next Hop            Metric LocPrf Weight Path
 *> 192.99.85.224/29 192.168.253.0            0    100      0 (4242420668) i
 *                   192.168.253.0            0    100      0 (4242420668) i

Displayed  1 routes and 38 total paths

Above, you'll notice that even though the blackhole keyword is not listed, it still works. This makes me think the completion options for the command need to be updated.

Details

Difficulty level
Unknown (require assessment)
Version
1.5-rolling-202409150007
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

trae32566 created this object in space S1 VyOS Public.
trae32566 updated the task description. (Show Details)
trae32566 renamed this task from Missing Well Known Communities in Documentation to Missing Well Known Communities in Command Completion.Mon, Sep 30, 5:16 AM
trae32566 updated the task description. (Show Details)
c-po changed the task status from Open to In progress.Mon, Sep 30, 2:05 PM
c-po claimed this task.
c-po added projects: Restricted Project, VyOS 1.4 Sagitta (1.4.1).
c-po changed Issue type from Bug (incorrect behavior) to Improvement (missing useful functionality).Mon, Sep 30, 2:33 PM
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta (1.4.1) board.