fmgr_switchcontroller_macpolicy
Manage FortiManager through native controller JSON-RPC and httpapi inventory
Collection: fortinet.fortimanager
Full Name: fortinet.fortimanager.fmgr_switchcontroller_macpolicy
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiManager through native controller JSON-RPC and httpapi inventory
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| adom | str | yes | ||
| bypass_validation | bool | false | ||
| enable_log | bool | false | ||
| forticloud_access_token | str | |||
| proposed_method | str | |||
| rc_failed | list | |||
| rc_succeeded | list | |||
| revision_note | str | |||
| state | str | yes | ||
| switchcontroller_macpolicy | dict | |||
| workspace_locking_adom | str | |||
| workspace_locking_timeout | int | 300 |
Example
yaml
- fortinet.fortimanager.fmgr_switchcontroller_macpolicy:
adom: root
state: present
switchcontroller_macpolicy:
name: your value
name: Configure MAC policy to be applied on the managed FortiSwitch devices through NAC device.