fortios_firewall_multicast_policy
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_firewall_multicast_policy
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| firewall_multicast_policy | dict | |||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_firewall_multicast_policy:
access_token: '{{ fortios_access_token }}'
firewall_multicast_policy:
action: accept
auto_asic_offload: enable
dstaddr:
- name: default_name_8 (source firewall.multicast-address.name)
end_port: "65535"
id: "11"
logtraffic: all
name: default_name_14
protocol: "0"
snat: enable
srcaddr:
- name: default_name_19 (source firewall.address.name firewall.addrgrp.name)
start_port: "1"
status: enable
utm_status: enable
state: present
vdom: root
name: Configure multicast NAT policies.