View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Trystan Johnson > Farly > Farly::Remove::Address



Annotate this POD


View/Report Bugs
Module Version: 0.26   Source  


Farly::Remove::Address - Remove an address or network from the firewall model


Farly::Remove::Address removes a specified address or network from the firewall configuration, taking into account configuration dependencies. For example, if a group becomes empty as a result of removing the given IP address then all firewall rules refering to the now empty group willl be removed before the group is removed.


new( $list<Farly::Object::List<Farly::Object>> )

The constructor. A firewall configuration $list must be provided.

  $remover = Farly::Remove::Address->new( $list );

remove( $ip<Farly::IPv4::Object> )

Resolves dependencies and removes the specified IP object from the current Farly firewall model.

  $remover->remove( $ip );

The remove method may be called for multiple IP addresses.


Returns a Farly::Object::List<Farly::Object> object containing all objects which need to be removed from the current Farly firewall model in order to remove all references to the specified addresses.

  $remove_result_set = $remover->result();


Farly::Remove::Address Copyright (C) 2012 Trystan Johnson

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <>.

syntax highlighting: