PARALLAX

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

NameTypeRequiredDefaultDescription
access_tokenstr
enable_logboolfalse
member_pathstr
member_statestr
statestryes
switch_controller_traffic_policydict
vdomstrroot

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.
Search
    ↑ ↓ move↵ openesc close