Page MenuHomeVyOS Platform

Rewrite protocol RIP [conf-mode] to new XML/Python style
Closed, ResolvedPublic

Description

Rewrite protocol RIP configuration mode from vyatta-cfg-quagga to new XML/Python style.

  1. Write XML scheme
  2. Write python handler

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

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.

Viacheslav changed the task status from Open to Needs testing.Jun 24 2020, 9:49 AM

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
!
c-po assigned this task to Viacheslav.
c-po triaged this task as Normal priority.