Page MenuHomeVyOS Platform

Add CLI for FRR BGP Input/Output Queue limits
Closed, ResolvedPublicFEATURE REQUEST

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Unspecified (please specify)

Event Timeline

dmbaturin edited projects, added VyOS Rolling; removed Restricted Project.Oct 14 2024, 10:46 AM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Issue type from Unspecified (please specify) to improvement.
syncer moved this task from Need Triage to Backlog - Feature Requests on the VyOS Rolling board.
syncer changed the subtype of this task from "Task" to "Feature Request".

I had attempted adding it to the cli and frr template in the 1x package and it worked for adding it but it would not remove it when it was removed from the config due to it being in the global section of the config. I have not gotten back around to figuring that out yet, currently I've been working on SNMP for VPP and trying to figure out an OSPF issue with VPP.

The branch i have for this is quite a bit out of date but these are what as added to for it.

data/templates/frr/bgpd.frr.j2

{% if parameters.input_queue_limit is vyos_defined %}
bgp input-queue-limit {{ parameters.input_queue_limit }}
{% else %}
no bgp input-queue-limit
{% endif %}
{% if parameters.output_queue_limit is vyos_defined %}
bgp output-queue-limit {{ parameters.output_queue_limit }}
{% else %}
no bgp output-queue-limit
{% endif %}

interface-definitions/include/bgp/protocol-common-config.xml.i

<leafNode name="input-queue-limit">
  <properties>
    <help>Input Queue limit for all peers when messaging parsing.</help>
    <valueHelp>
      <format>u32:1-4294967295</format>
      <description>Default 10000, Increase this only if you have the memory to handle large queues.</description>
    </valueHelp>
  </properties>
</leafNode>
<leafNode name="output-queue-limit">
  <properties>
    <help>Output Queue limit for all peers when messaging parsing.</help>
    <valueHelp>
      <format>u32:1-4294967295</format>
      <description>Default 10000, Increase this only if you have the memory to handle large queues.</description>
    </valueHelp>
  </properties>
</leafNode>

Looks like protocols_bgp.py has been refactored a bit since i last worked on this and the issue i ran into no longer exists. PR submitted.

c-po changed the task status from Open to In progress.Jun 25 2026, 8:08 PM
c-po claimed this task.
c-po raised the priority of this task from Low to Normal.
c-po changed Issue type from improvement to Unspecified (please specify).