Python handler "protocols_bgp.py" will be use "conf.get_config_dict"
We need FRR template for it.
Description
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)
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
In progress | FEATURE REQUEST | None | T3355 Remove all remaining legacy Vyatta code | ||
Resolved | c-po | T2175 Rewriting all FRR processes allow for reloading and to XML/Python style | |||
Resolved | FEATURE REQUEST | c-po | T2174 Rewrite protocol BGP to new XML/Python style | ||
Resolved | FEATURE REQUEST | Viacheslav | T2850 Add BGP template for FRR |
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
PR https://github.com/vyos/vyos-1x/pull/587
Fix the FRR template for new bgp implementation.
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 !