Re: Filter based on condition or watchdog

2017-06-02 Thread Гаврилов Игорь
Or modify variant with krt_source: For enable announcing: ip route change to dev lo proto NNN For disable: ip route change to dev lo proto kernel protocol kernel MAIN{ persist; scan time 20; learn; import where krt_source = NNN; export all; } whe

Re: Filter based on condition or watchdog

2017-06-02 Thread Mike Jones
On 2 June 2017 at 11:59, Войнович Андрей Александрович wrote: > Hi all! > > > > Does BIRD allow to write a filter, where I can define a condition when it > should import/export some route(s) and when it should not? To clarify my > question, example: I want to check whether some process (lets say a

Re: Filter based on condition or watchdog

2017-06-02 Thread Jan Matejka
On 06/02/2017 12:59 PM, Войнович Андрей Александрович wrote: > Hi all! > > > > Does BIRD allow to write a filter, where I can define a condition when it > should import/export some route(s) and when it should not? To clarify my > question, example: I want to check whether some process (lets s

Filter based on condition or watchdog

2017-06-02 Thread Войнович Андрей Александрович
Hi all! Does BIRD allow to write a filter, where I can define a condition when it should import/export some route(s) and when it should not? To clarify my question, example: I want to check whether some process (lets say apache) is running and the server is listening TCP port 80, so if these co