Can you explain what you mean?
How should I change my scripts?
I think it will be a good workaround when I simply use functions instead of filters, so I can bypass some parameters.
protocol bgp 'peer-neo' {
ipv4 { export where filter_common_ipv4_out( "peer-neo" ); };
}
function filter_common_ipv4_out( string remote_peer_name ) {
if remote_peer_name = 'peer-neo' then .....;
}
It is stupid because i define the peer-name twice.
But for now it will do the job relatively easily.
I have over 40 peers, so I have to write the function / filter for common use.