fortios_switch_controller_traffic_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_switch_controller_traffic_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 | ||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| switch_controller_traffic_policy | dict | |||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_switch_controller_traffic_policy:
access_token: '{{ fortios_access_token }}'
state: present
switch_controller_traffic_policy:
cos_queue: 0
guaranteed_bandwidth: "10000"
guaranteed_burst: "45000"
id: "7"
maximum_burst: "67500"
name: default_name_9
policer_status: enable
type: ingress
vdom: root
name: Configure FortiSwitch traffic policy.