PARALLAX

fortios_router_prefix_list

Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS

Collection: fortinet.fortios

Full Name: fortinet.fortios.fortios_router_prefix_list

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
router_prefix_listdict
statestryes
vdomstrroot

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_router_prefix_list:
    access_token: '{{ fortios_access_token }}'
    router_prefix_list:
        name: default_name_4
        rule:
            - action: permit
              flags: "2147483647"
              ge: 0
              id: "9"
              le: 0
    state: present
    vdom: root
  name: Configure IPv4 prefix lists.
Search
    ↑ ↓ move↵ openesc close