PARALLAX

fortios_router_route_map

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_route_map

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

Example

yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_router_route_map:
    access_token: '{{ fortios_access_token }}'
    router_route_map:
        name: default_name_4
        rule:
            - action: permit
              id: "7"
              match_community_exact: enable
              match_extcommunity_exact: enable
              match_flags: "32767"
              match_metric: 0
              match_origin: none
              match_route_type: external-type1
              match_suppress: enable
              match_tag: 0
              match_vrf: 0
              set_aggregator_as: "0"
              set_aspath_action: prepend
              set_atomic_aggregate: enable
              set_community_additive: enable
              set_dampening_max_suppress: "0"
              set_dampening_reachability_half_life: "0"
              set_dampening_reuse: "0"
              set_dampening_suppress: "0"
              set_dampening_unreachability_half_life: "0"
              set_flags: "32767"
              set_local_preference: 0
              set_metric: 0
              set_metric_type: external-type1
              set_origin: none
              set_priority: 0
              set_route_tag: 0
              set_tag: 0
              set_weight: 0
    state: present
    vdom: root
  name: Configure route maps.
Search
    ↑ ↓ move↵ openesc close