PARALLAX

fortios_switch_controller_vlan

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_vlan

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_vlandict
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_switch_controller_vlan:
    access_token: '{{ fortios_access_token }}'
    state: present
    switch_controller_vlan:
        auth: radius
        color: "16"
        name: default_name_6
        security: open
        selected_usergroups:
            - name: default_name_16 (source user.group.name)
        vlanid: "2047"
    vdom: root
  name: Configure VLANs for switch controller.
Search
    ↑ ↓ move↵ openesc close