Skip to content

find XXXX lost ability to work with commit 4bc41193e810d #17043

@donaldsharp

Description

@donaldsharp

Description

  (view)  show bgp [vrf VRFNAME] l2vpn evpn summary [established|failed] [<neighbor <A.B.C.D|X:X::X:X|WORD>|remote-as <(1-4294967295)|internal|external>>] [terse] [wide] [json]
  (view)  show [ip] bgp [<view|vrf> VIEWVRFNAME] [<ipv4|ipv6> [<unicast|multicast|vpn|labeled-unicast|flowspec>]] [all] summary [established|failed] [<neighbor <A.B.C.D|X:X::X:X|WORD>|remote-as <ASNUM|internal|external>>] [terse] [wide] [json]
  (enable)  show bgp [vrf VRFNAME] l2vpn evpn summary [established|failed] [<neighbor <A.B.C.D|X:X::X:X|WORD>|remote-as <(1-4294967295)|internal|external>>] [terse] [wide] [json]
  (enable)  show [ip] bgp [<view|vrf> VIEWVRFNAME] [<ipv4|ipv6> [<unicast|multicast|vpn|labeled-unicast|flowspec>]] [all] summary [established|failed] [<neighbor <A.B.C.D|X:X::X:X|WORD>|remote-as <ASNUM|internal|external>>] [terse] [wide] [json]
  (bgp)  neighbor WORD interface remote-as <ASNUM|internal|external|auto>
  (bgp)  neighbor WORD interface v6only remote-as <ASNUM|internal|external|auto>
  (bgp)  neighbor <A.B.C.D|X:X::X:X|WORD> remote-as <ASNUM|internal|external|auto>
  (bgp)  no neighbor <WORD|<A.B.C.D|X:X::X:X> [remote-as <(1-4294967295)|internal|external|auto>]>
  (bgp)  no neighbor WORD interface [v6only] [peer-group PGNAME] [remote-as <(1-4294967295)|internal|external|auto>]
  (bgp)  no neighbor WORD remote-as <ASNUM|internal|external|auto>
sharpd@eva ~/frr2 ((e26c5805…)|BISECTING)> git bisect good
4bc41193e810d3c93fc0ff0a5a7d7fe0f18c669b is the first bad commit
commit 4bc41193e810d3c93fc0ff0a5a7d7fe0f18c669b
Author: David Lamparter <equinox@opensourcerouting.org>
Date:   Sat Jul 20 18:30:06 2024 -0700

    vtysh, lib: preprocess CLI graphs
    
    Store a parsed and built graph of the CLI nodes in vtysh, rather than
    parsing and building that graph every time vtysh starts up.
    
    This provides a 3x to 5x reduction in vtysh startup overhead:
    
    `vtysh -c 'configure' -c 'interface lo' -c 'do show version'`
    
    - before: 92.9M cycles, 1114 samples
    - after: 16.5M cycles, 330 samples
    
    This improvement is particularly visible for users scripting `vtysh -c`
    calls, which notably includes topotests.
    
    Signed-off-by: David Lamparter <equinox@opensourcerouting.org>```

### Version

```text
master

How to reproduce

issue a find command

Expected behavior

to find the string

Actual behavior

no string is found

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds further investigation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions