Page MenuHomeVyOS Platform

Add BGP template for FRR
Closed, ResolvedPublicFEATURE REQUEST

Description

Python handler "protocols_bgp.py" will be use "conf.get_config_dict"
We need FRR template for it.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Internal change (not visible to end users)

Related Objects

Event Timeline

PR https://github.com/vyos/vyos-1x/pull/538

Adding a BGP template for FRR and python handler for it.
This commit does not affect the operation of the existing bgp format (vyatta-cfg-quagga).

It for BGP "new format" xml/python style and further development include function "reload" for protocols.

set protocols nbgp
Viacheslav changed the task status from Open to Needs testing.Sep 2 2020, 7:33 AM

PR https://github.com/vyos/vyos-1x/pull/591

Fixing the priority of template processing.
The description for the neighbor should be after the ASN declaration.
Missing params "router-id"
The trick with afi 6 and capability dynamic. Because 'capability dynamic' its a global parameter for peer-group and not for afi ipv6 unicast.

The neighbor interface section needs to be updated
It was in the old template.
https://github.com/vyos/vyos-1x/commit/570886631deae3de8c38ea4ff70710e7a4858cbd#diff-c8405ef7cc0b5938bde66328e60f83c3cdc8d47f26a59bf86d646a63d1d4e5a7R512

Needs to check next configuration

set protocols bgp 65001 neighbor 10.0.0.2 interface peer-group 'foo'
set protocols bgp 65001 neighbor 10.0.0.2 interface remote-as '65002'
set protocols bgp 65001 peer-group foo
commit

Expected commands in the frr

!
router bgp 65001
 neighbor foo peer-group
 neighbor 10.0.0.2 interface peer-group foo
 neighbor 10.0.0.2 remote-as 65002
!
erkin set Issue type to Internal change (not visible to end users).Aug 29 2021, 1:13 PM
erkin removed a subscriber: Active contributors.