Skip to Content.
Sympa Menu

rare-users - Re: [RARE-users] [freertr] [rare-dev] Autocompletion for protocol number

Subject: RARE user and assistance email list

List archive

Re: [RARE-users] [freertr] [rare-dev] Autocompletion for protocol number


Chronological Thread 
  • From: "mc36" <>
  • To: , Frédéric LOUI <>, "" <>
  • Subject: Re: [RARE-users] [freertr] [rare-dev] Autocompletion for protocol number
  • Date: Sun, 12 Feb 2023 20:39:27 +0100
  • List-id: <freertr.groups.io>
  • Mailing-list: list ; contact

okk, so the router process id autocompletion was pretty easy... it still
could happen that i missed some
places where you have to enter this info and i did not found while grepping
around, feel free to push me,
or even better, now all you need to do is to append change <num> to <num:rtr>
to have them listed there... :)
please take a look at the change, imho it was pretty straightforward... below
are the results... :)
https://github.com/rare-freertr/freeRtr/commit/5c184064d3d139a932f9be0065e31fd2fa0f8db3
don't get scared because of the multiple listings of the same numbers,
freerouter follows the robustness
principle everywhere it's possible because it's written in sho ver, so the
autocompletion works on this... :)
br,
cs

sid#show ipv4 bgp ?
1 - process id
1 - process id
1 - process id
1 - process id
1 - process id
1 - process id
65535 - process id
65535 - process id
65535 - process id
65535 - process id
<num> - process id

sid#

sid#clear ipv4 bgp ?
1 - process id
1 - process id
1 - process id
1 - process id
1 - process id
1 - process id
65535 - process id
65535 - process id
65535 - process id
65535 - process id
<num> - process id

sid#

sid(cfg)#router bgp4 ?
1 - process id
1 - process id
1 - process id
1 - process id
1 - process id
1 - process id
65535 - process id
65535 - process id
65535 - process id
65535 - process id
<num> - process id

sid(cfg)#

sid(cfg-rtr)#redistribute ospf4 ?
1 - process id
1 - process id
1 - process id
1 - process id
1 - process id
1 - process id
65535 - process id
65535 - process id
65535 - process id
65535 - process id
<num> - process id

sid(cfg-rtr)#

On 2/11/23 01:38, mc36 wrote:
fyi:
https://github.com/rare-freertr/freeRtr/commit/dc3f0654271af54bfb887296c43dbeceba90f7b5

On 2/11/23 00:10, mc36 wrote:
well and once again,
https://github.com/rare-freertr/freeRtr/blob/master/todo.txt#L30
so what if you even don't have to type it but after let's say "client default
<protocol-type> <protocol-number>"
then you could have "sho bgp summ" or "sho ospf data 0" instead of "sho ipv4 bgp 65535
summ" or "sho ipv4 ospf 100 data 0"
imho it's a medium level to have...
which one should i start with? this, or the autocompletion? :)
thx,
cs

On 2/10/23 16:13, Fr d ric LOUI wrote:
Would it be possible for example to have autocompletion for routing protocol ?







-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#1050): https://groups.io/g/freertr/message/1050
Mute This Topic: https://groups.io/mt/96887900/6413194
Group Owner:
Unsubscribe: https://groups.io/g/freertr/unsub []
-=-=-=-=-=-=-=-=-=-=-=-





Archive powered by MHonArc 2.6.19.

Top of Page