summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces-vxlan.xml
diff options
context:
space:
mode:
authorRunar Borge <runar@borge.nu>2020-06-03 23:05:27 +0200
committerRunar Borge <runar@borge.nu>2020-06-28 20:33:36 +0200
commitd48568a8e4bf3619bd80fcc5db82ad0c7314157c (patch)
tree94620a0d1dacde612e0b0fa47dd4413cef014b41 /op-mode-definitions/show-interfaces-vxlan.xml
parent39174c079ab5ed824c694b92954b506ffc3dab17 (diff)
downloadvyos-1x-d48568a8e4bf3619bd80fcc5db82ad0c7314157c.tar.gz
vyos-1x-d48568a8e4bf3619bd80fcc5db82ad0c7314157c.zip
T2638: FRR: New framework for configuring FRR
This commit adds the python module vyos.frr that support reading and modifying the frr cofiguration. Functions get_configuration() : Collects the configuration from FRR and returns it as a string reload_configuration() : uses frr-reload.py to activate a new configuration. The configuration applied will overwrite the current configuration. mark_configuration() : Does syntax check/validation and add "end" tags to the configuration The marked configuration will be returned as a string A syntax fault will render an Exception execute() : Execute a command inside vtysh configure() : Executes a command in vtysh config mode replace_section() / _replace_section() : Adds the ability to replace a section of frr code remove_section() : Removes the specified configuration block from the config For now this supports replacing complete config sub-blocks of configuration and selecting the daemon to replace inside. This should work for most daemons, but static routing will still be an issue because this is not a separate sub-config mode
Diffstat (limited to 'op-mode-definitions/show-interfaces-vxlan.xml')
0 files changed, 0 insertions, 0 deletions