Rewrite protocol RIP configuration mode from vyatta-cfg-quagga to new XML/Python style.
- Write XML scheme
- Write python handler
Rewrite protocol RIP configuration mode from vyatta-cfg-quagga to new XML/Python style.
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 | Viacheslav | T2547 Rewrite protocol RIP [conf-mode] to new XML/Python style |
First PR https://github.com/vyos/vyatta-cfg-quagga/pull/50 for delete templates for "protocol rip" from vyatta-cfq-quagga
Second PR https://github.com/vyos/vyos-1x/pull/454 for new XML-python style.
It is not possible to remove a filter on an interface.
Configuration
set policy prefix-list PREF-IN rule 10 action 'permit' set policy prefix-list PREF-IN rule 10 prefix '0.0.0.0/0' set policy prefix-list PREF-OUT rule 10 action 'permit' set policy prefix-list PREF-OUT rule 10 prefix '0.0.0.0/0' set protocols rip distribute-list interface eth0 prefix-list in 'PREF-IN' set protocols rip distribute-list interface eth0 prefix-list out 'PREF-OUT' set protocols rip interface 'eth0' set protocols rip redistribute connected
Delete distribute-list prefix-list from interface
vyos@r4-roll# delete protocols rip distribute-list interface eth0 prefix-list in PREF-IN [edit] vyos@r4-roll# commit
Vtysh
vyos@r4-roll# vtysh -c "show run" ! router rip network eth0 redistribute connected distribute-list prefix PREF-IN in eth0 distribute-list prefix PREF-OUT out eth0 !