Modules¶
Modules provide the functionality to add, modify and remove elements within the Stonesoft Management Center. Each module focuses on a specific functionality allowing playbooks to be designed in a modular way. Not all modules provide the ability to modify elements, be sure to review the documentation.
There are a variety of functions provided by the stonesoft custom modules. Some of the features include:
- Create Layer 3 Firewalls and Clusters
- Add / Remove Tunnel and Physical Interfaces
- Create and delete network and service elements
- Configure Policy VPN and related elements
- Configure dynamic routing (BGP)
Modules by default will preset the state to ‘present’ indicating a create operation. To remove, modify the state to ‘absent’.
When modules are run, the state attribute will return the current state of the element. Check the module documentation to verify if this is a dict format or list.
- bgp_element - BGP Elements for BGP configuratons
- engine - Operations on single or cluster layer 3 firewalls
- external_gateway - Represents a 3rd party gateway used for a VPN configuration
- firewall_rule - Create, modify or delete a firewall rule
- l3fw_policy - Create or delete layer 3 FW policies
- network_element - Create, modify or delete network elements
- policy_push - Deploy a policy to an engine
- policy_vpn - Create, modify or delete Policy VPNs
- route_map - Create or delete Route Map and rule configurations
- route_vpn - Create a route based VPN
- service_element - Create, modify or delete service elements
- tmp_mod