Re: Deleting unallowed communities

2010-09-14 Thread Ondrej Zajicek
On Mon, Sep 13, 2010 at 07:57:49PM +0300, Alexander Shikoff wrote: > > There is a bug in community set delete. Try attached patch to fix it. > Thank you very much! This patch fixes a problem. > Ondrej, do you plan to implement invertion of community lists? Not invertion of community lists, but pe

Re: Deleting unallowed communities

2010-09-13 Thread Alexander Shikoff
On Sat, Sep 11, 2010 at 08:17:49PM +0200, Ondrej Zajicek wrote: > On Tue, Sep 07, 2010 at 01:50:58PM +0300, Alexander Shikoff wrote: > > > This code works for me. > > > > > > This is a recent feature, perhaps you are using an old version of BIRD. > > > Try version 1.2.4 . > > I'm using 1.2.4. > >

Re: Deleting unallowed communities

2010-09-11 Thread Ondrej Zajicek
On Tue, Sep 07, 2010 at 01:50:58PM +0300, Alexander Shikoff wrote: > > This code works for me. > > > > This is a recent feature, perhaps you are using an old version of BIRD. > > Try version 1.2.4 . > I'm using 1.2.4. > > Where do you call a function from? In my configuration it is called from >

Re: Deleting unallowed communities

2010-09-07 Thread Ondrej Zajicek
On Tue, Sep 07, 2010 at 01:50:58PM +0300, Alexander Shikoff wrote: > > This code works for me. > > > > This is a recent feature, perhaps you are using an old version of BIRD. > > Try version 1.2.4 . > I'm using 1.2.4. > > Where do you call a function from? In my configuration it is called from >

Re: Deleting unallowed communities

2010-09-07 Thread Alexander Shikoff
On Mon, Sep 06, 2010 at 08:28:47PM +0200, Ondrej Zajicek wrote: > > But there is another issue: > > > > function check_community (clist c) > > pair set wrong; > > { > > wrong = [ > > (0,0)..(0,25371), > > (0,25373)..(0,31209), > > (0,31211)..

Re: Deleting unallowed communities

2010-09-06 Thread Ondrej Zajicek
On Mon, Sep 06, 2010 at 08:34:39PM +0300, Alexander Shikoff wrote: > > c.delete(wrong); > > > > I tried both c.delete(wrong) and delete(c,wrong) - the result is the same: > > syntax error. > > ok, I got it: c = delete(c,wrong); did make the error to dissapear. Yes, either (for any clist c): c

Re: Deleting unallowed communities

2010-09-06 Thread Alexander Shikoff
On Mon, Sep 06, 2010 at 08:18:06PM +0300, Alexander Shikoff wrote: > On Mon, Sep 06, 2010 at 07:00:58PM +0200, Ondrej Zajicek wrote: > > On Mon, Sep 06, 2010 at 07:45:15PM +0300, Alexander Shikoff wrote: > > > Hello, > > > > > > is it possible in filter to delete all communities except ones which

Re: Deleting unallowed communities

2010-09-06 Thread Alexander Shikoff
On Mon, Sep 06, 2010 at 07:00:58PM +0200, Ondrej Zajicek wrote: > On Mon, Sep 06, 2010 at 07:45:15PM +0300, Alexander Shikoff wrote: > > Hello, > > > > is it possible in filter to delete all communities except ones which > > are stored in pre-defined list? > > It is possible to do that, but you h

Re: Deleting unallowed communities

2010-09-06 Thread Ondrej Zajicek
On Mon, Sep 06, 2010 at 07:45:15PM +0300, Alexander Shikoff wrote: > Hello, > > is it possible in filter to delete all communities except ones which > are stored in pre-defined list? It is possible to do that, but you have to manually invert the list of communities. For example instead of a list

Deleting unallowed communities

2010-09-06 Thread Alexander Shikoff
Hello, is it possible in filter to delete all communities except ones which are stored in pre-defined list? Thanks in advance! -- MINO-RIPE