Page MenuHomeVyOS Platform

Create XML scheme for [conf_mode] BGP
Needs testing, Requires assessmentPublicFEATURE REQUEST

Description

Required XML for [conf_mode] BGP.

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)

Event Timeline

Viacheslav added a comment.EditedApr 26 2020, 4:02 PM

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

It's the only XML for BGP [conf_mode].
The syntax of all commands remains the same.
This XML also needs a python handler.
Its code will replace the nodes of the templates in https://github.com/vyos/vyatta-cfg-quagga/tree/current/templates/protocols/bgp in the future.

Because the process of writing a python handler is not fast, I did

set protocol nbgp

instead of

set protocol bgp

To compare everything and test more precisely with the old scheme.

# set protocols nbgp 234 
Possible completions:
 > address-family
                BGP address-family parameters
 > maximum-paths
                BGP multipaths
+> neighbor     BGP neighbor
 > parameters   BGP parameters
+> peer-group   BGP peer-group
   route-map    Filter routes installed in local route map
 > timers       BGP protocol timers
Viacheslav changed the task status from Open to Needs testing.Fri, May 22, 4:57 PM