lix_fortinet.fortios.fortios_router_bgp (102.2.120) — module

Configure BGP in Fortinet's FortiOS and FortiGate.

| "added in version" 2.0.0 of lix_fortinet.fortios"

Authors: Link Zheng (@chillancezen), Jie Xue (@JieX19), Hongbin Lu (@fgtdev-hblu), Frank Shen (@frankshen01), Miguel Angel Munoz (@mamunozgonzalez), Nicolas Thomas (@thomnico)

preview | supported by community

Install collection

Install with ansible-galaxy collection install lix_fortinet.fortios:==102.2.120


Add to requirements.yml

  collections:
    - name: lix_fortinet.fortios
      version: 102.2.120

Description

This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the user to set and modify router feature and bgp category. Examples include all parameters and values need to be adjusted to datasources before usage. Tested with FOS v6.0.0


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- hosts: fortigates
  collections:
    - fortinet.fortios
  connection: httpapi
  vars:
   vdom: "root"
   ansible_httpapi_use_ssl: yes
   ansible_httpapi_validate_certs: no
   ansible_httpapi_port: 443
  tasks:
  - name: Configure BGP.
    fortios_router_bgp:
      vdom:  "{{ vdom }}"
      router_bgp:
        additional_path: "enable"
        additional_path_select: "2"
        additional_path_select_vpnv4: "2"
        additional_path_select6: "2"
        additional_path_vpnv4: "enable"
        additional_path6: "enable"
        admin_distance:
         -
            distance: "0"
            id:  "11"
            neighbour_prefix: "<your_own_value>"
            route_list: "<your_own_value> (source router.access-list.name)"
        aggregate_address:
         -
            as_set: "enable"
            id:  "16"
            prefix: "<your_own_value>"
            summary_only: "enable"
        aggregate_address6:
         -
            as_set: "enable"
            id:  "21"
            prefix6: "<your_own_value>"
            summary_only: "enable"
        always_compare_med: "enable"
        as: "<your_own_value>"
        bestpath_as_path_ignore: "enable"
        bestpath_cmp_confed_aspath: "enable"
        bestpath_cmp_routerid: "enable"
        bestpath_med_confed: "enable"
        bestpath_med_missing_as_worst: "enable"
        client_to_client_reflection: "enable"
        cluster_id: "<your_own_value>"
        confederation_identifier: "0"
        confederation_peers:
         -
            peer: "<your_own_value>"
        dampening: "enable"
        dampening_max_suppress_time: "60"
        dampening_reachability_half_life: "15"
        dampening_reuse: "750"
        dampening_route_map: "<your_own_value> (source router.route-map.name)"
        dampening_suppress: "2000"
        dampening_unreachability_half_life: "15"
        default_local_preference: "100"
        deterministic_med: "enable"
        distance_external: "20"
        distance_internal: "200"
        distance_local: "200"
        ebgp_multipath: "enable"
        enforce_first_as: "enable"
        fast_external_failover: "enable"
        graceful_end_on_timer: "enable"
        graceful_restart: "enable"
        graceful_restart_time: "120"
        graceful_stalepath_time: "360"
        graceful_update_delay: "120"
        holdtime_timer: "180"
        ibgp_multipath: "enable"
        ignore_optional_capability: "enable"
        keepalive_timer: "60"
        log_neighbour_changes: "enable"
        multipath_recursive_distance: "enable"
        neighbor:
         -
            activate: "enable"
            activate_vpnv4: "enable"
            activate6: "enable"
            additional_path: "send"
            additional_path_vpnv4: "send"
            additional_path6: "send"
            adv_additional_path: "2"
            adv_additional_path_vpnv4: "2"
            adv_additional_path6: "2"
            advertisement_interval: "30"
            allowas_in: "3"
            allowas_in_enable: "enable"
            allowas_in_enable6: "enable"
            allowas_in_vpnv4: "0"
            allowas_in6: "3"
            as_override: "enable"
            as_override6: "enable"
            attribute_unchanged: "as-path"
            attribute_unchanged_vpnv4: "as-path"
            attribute_unchanged6: "as-path"
            bfd: "enable"
            capability_default_originate: "enable"
            capability_default_originate6: "enable"
            capability_dynamic: "enable"
            capability_graceful_restart: "enable"
            capability_graceful_restart_vpnv4: "enable"
            capability_graceful_restart6: "enable"
            capability_orf: "none"
            capability_orf6: "none"
            capability_route_refresh: "enable"
            conditional_advertise:
             -
                advertise_routemap: "<your_own_value> (source router.route-map.name)"
                condition_routemap:
                 -
                    name: "default_name_96 (source router.route-map.name)"
                condition_type: "exist"
            conditional_advertise6:
             -
                advertise_routemap: "<your_own_value> (source router.route-map.name)"
                condition_routemap:
                 -
                    name: "default_name_101 (source router.route-map.name)"
                condition_type: "exist"
            connect_timer: "4294967295"
            default_originate_routemap: "<your_own_value> (source router.route-map.name)"
            default_originate_routemap6: "<your_own_value> (source router.route-map.name)"
            description: "<your_own_value>"
            distribute_list_in: "<your_own_value> (source router.access-list.name)"
            distribute_list_in_vpnv4: "<your_own_value> (source router.access-list.name)"
            distribute_list_in6: "<your_own_value> (source router.access-list6.name)"
            distribute_list_out: "<your_own_value> (source router.access-list.name)"
            distribute_list_out_vpnv4: "<your_own_value> (source router.access-list.name)"
            distribute_list_out6: "<your_own_value> (source router.access-list6.name)"
            dont_capability_negotiate: "enable"
            ebgp_enforce_multihop: "enable"
            ebgp_multihop_ttl: "255"
            filter_list_in: "<your_own_value> (source router.aspath-list.name)"
            filter_list_in6: "<your_own_value> (source router.aspath-list.name)"
            filter_list_out: "<your_own_value> (source router.aspath-list.name)"
            filter_list_out6: "<your_own_value> (source router.aspath-list.name)"
            holdtime_timer: "4294967295"
            interface: "<your_own_value> (source system.interface.name)"
            ip: "<your_own_value>"
            keep_alive_timer: "4294967295"
            link_down_failover: "enable"
            local_as: "<your_own_value>"
            local_as_no_prepend: "enable"
            local_as_replace_as: "enable"
            maximum_prefix: "0"
            maximum_prefix_threshold: "75"
            maximum_prefix_threshold_vpnv4: "75"
            maximum_prefix_threshold6: "75"
            maximum_prefix_vpnv4: "0"
            maximum_prefix_warning_only: "enable"
            maximum_prefix_warning_only_vpnv4: "enable"
            maximum_prefix_warning_only6: "enable"
            maximum_prefix6: "0"
            next_hop_self: "enable"
            next_hop_self_rr: "enable"
            next_hop_self_rr6: "enable"
            next_hop_self_vpnv4: "enable"
            next_hop_self6: "enable"
            override_capability: "enable"
            passive: "enable"
            password: "<your_own_value>"
            prefix_list_in: "<your_own_value> (source router.prefix-list.name)"
            prefix_list_in_vpnv4: "<your_own_value> (source router.prefix-list.name)"
            prefix_list_in6: "<your_own_value> (source router.prefix-list6.name)"
            prefix_list_out: "<your_own_value> (source router.prefix-list.name)"
            prefix_list_out_vpnv4: "<your_own_value> (source router.prefix-list.name)"
            prefix_list_out6: "<your_own_value> (source router.prefix-list6.name)"
            remote_as: "<your_own_value>"
            remove_private_as: "enable"
            remove_private_as_vpnv4: "enable"
            remove_private_as6: "enable"
            restart_time: "0"
            retain_stale_time: "0"
            route_map_in: "<your_own_value> (source router.route-map.name)"
            route_map_in_vpnv4: "<your_own_value> (source router.route-map.name)"
            route_map_in6: "<your_own_value> (source router.route-map.name)"
            route_map_out: "<your_own_value> (source router.route-map.name)"
            route_map_out_preferable: "<your_own_value> (source router.route-map.name)"
            route_map_out_vpnv4: "<your_own_value> (source router.route-map.name)"
            route_map_out_vpnv4_preferable: "<your_own_value> (source router.route-map.name)"
            route_map_out6: "<your_own_value> (source router.route-map.name)"
            route_map_out6_preferable: "<your_own_value> (source router.route-map.name)"
            route_reflector_client: "enable"
            route_reflector_client_vpnv4: "enable"
            route_reflector_client6: "enable"
            route_server_client: "enable"
            route_server_client_vpnv4: "enable"
            route_server_client6: "enable"
            send_community: "standard"
            send_community_vpnv4: "standard"
            send_community6: "standard"
            shutdown: "enable"
            soft_reconfiguration: "enable"
            soft_reconfiguration_vpnv4: "enable"
            soft_reconfiguration6: "enable"
            stale_route: "enable"
            strict_capability_match: "enable"
            unsuppress_map: "<your_own_value> (source router.route-map.name)"
            unsuppress_map6: "<your_own_value> (source router.route-map.name)"
            update_source: "<your_own_value> (source system.interface.name)"
            weight: "4294967295"
        neighbor_group:
         -
            activate: "enable"
            activate_vpnv4: "enable"
            activate6: "enable"
            additional_path: "send"
            additional_path_vpnv4: "send"
            additional_path6: "send"
            adv_additional_path: "2"
            adv_additional_path_vpnv4: "2"
            adv_additional_path6: "2"
            advertisement_interval: "30"
            allowas_in: "3"
            allowas_in_enable: "enable"
            allowas_in_enable6: "enable"
            allowas_in_vpnv4: "0"
            allowas_in6: "3"
            as_override: "enable"
            as_override6: "enable"
            attribute_unchanged: "as-path"
            attribute_unchanged_vpnv4: "as-path"
            attribute_unchanged6: "as-path"
            bfd: "enable"
            capability_default_originate: "enable"
            capability_default_originate6: "enable"
            capability_dynamic: "enable"
            capability_graceful_restart: "enable"
            capability_graceful_restart_vpnv4: "enable"
            capability_graceful_restart6: "enable"
            capability_orf: "none"
            capability_orf6: "none"
            capability_route_refresh: "enable"
            connect_timer: "4294967295"
            default_originate_routemap: "<your_own_value> (source router.route-map.name)"
            default_originate_routemap6: "<your_own_value> (source router.route-map.name)"
            description: "<your_own_value>"
            distribute_list_in: "<your_own_value> (source router.access-list.name)"
            distribute_list_in_vpnv4: "<your_own_value> (source router.access-list.name)"
            distribute_list_in6: "<your_own_value> (source router.access-list6.name)"
            distribute_list_out: "<your_own_value> (source router.access-list.name)"
            distribute_list_out_vpnv4: "<your_own_value> (source router.access-list.name)"
            distribute_list_out6: "<your_own_value> (source router.access-list6.name)"
            dont_capability_negotiate: "enable"
            ebgp_enforce_multihop: "enable"
            ebgp_multihop_ttl: "255"
            filter_list_in: "<your_own_value> (source router.aspath-list.name)"
            filter_list_in6: "<your_own_value> (source router.aspath-list.name)"
            filter_list_out: "<your_own_value> (source router.aspath-list.name)"
            filter_list_out6: "<your_own_value> (source router.aspath-list.name)"
            holdtime_timer: "4294967295"
            interface: "<your_own_value> (source system.interface.name)"
            keep_alive_timer: "4294967295"
            link_down_failover: "enable"
            local_as: "<your_own_value>"
            local_as_no_prepend: "enable"
            local_as_replace_as: "enable"
            maximum_prefix: "0"
            maximum_prefix_threshold: "75"
            maximum_prefix_threshold_vpnv4: "75"
            maximum_prefix_threshold6: "75"
            maximum_prefix_vpnv4: "0"
            maximum_prefix_warning_only: "enable"
            maximum_prefix_warning_only_vpnv4: "enable"
            maximum_prefix_warning_only6: "enable"
            maximum_prefix6: "0"
            name: "default_name_249"
            next_hop_self: "enable"
            next_hop_self_rr: "enable"
            next_hop_self_rr6: "enable"
            next_hop_self_vpnv4: "enable"
            next_hop_self6: "enable"
            override_capability: "enable"
            passive: "enable"
            prefix_list_in: "<your_own_value> (source router.prefix-list.name)"
            prefix_list_in_vpnv4: "<your_own_value> (source router.prefix-list.name)"
            prefix_list_in6: "<your_own_value> (source router.prefix-list6.name)"
            prefix_list_out: "<your_own_value> (source router.prefix-list.name)"
            prefix_list_out_vpnv4: "<your_own_value> (source router.prefix-list.name)"
            prefix_list_out6: "<your_own_value> (source router.prefix-list6.name)"
            remote_as: "<your_own_value>"
            remove_private_as: "enable"
            remove_private_as_vpnv4: "enable"
            remove_private_as6: "enable"
            restart_time: "0"
            retain_stale_time: "0"
            route_map_in: "<your_own_value> (source router.route-map.name)"
            route_map_in_vpnv4: "<your_own_value> (source router.route-map.name)"
            route_map_in6: "<your_own_value> (source router.route-map.name)"
            route_map_out: "<your_own_value> (source router.route-map.name)"
            route_map_out_preferable: "<your_own_value> (source router.route-map.name)"
            route_map_out_vpnv4: "<your_own_value> (source router.route-map.name)"
            route_map_out_vpnv4_preferable: "<your_own_value> (source router.route-map.name)"
            route_map_out6: "<your_own_value> (source router.route-map.name)"
            route_map_out6_preferable: "<your_own_value> (source router.route-map.name)"
            route_reflector_client: "enable"
            route_reflector_client_vpnv4: "enable"
            route_reflector_client6: "enable"
            route_server_client: "enable"
            route_server_client_vpnv4: "enable"
            route_server_client6: "enable"
            send_community: "standard"
            send_community_vpnv4: "standard"
            send_community6: "standard"
            shutdown: "enable"
            soft_reconfiguration: "enable"
            soft_reconfiguration_vpnv4: "enable"
            soft_reconfiguration6: "enable"
            stale_route: "enable"
            strict_capability_match: "enable"
            unsuppress_map: "<your_own_value> (source router.route-map.name)"
            unsuppress_map6: "<your_own_value> (source router.route-map.name)"
            update_source: "<your_own_value> (source system.interface.name)"
            weight: "4294967295"
        neighbor_range:
         -
            id:  "298"
            max_neighbor_num: "0"
            neighbor_group: "<your_own_value> (source router.bgp.neighbor-group.name)"
            prefix: "<your_own_value>"
        neighbor_range6:
         -
            id:  "303"
            max_neighbor_num: "0"
            neighbor_group: "<your_own_value> (source router.bgp.neighbor-group.name)"
            prefix6: "<your_own_value>"
        network:
         -
            backdoor: "enable"
            id:  "309"
            network_import_check: "global"
            prefix: "<your_own_value>"
            route_map: "<your_own_value> (source router.route-map.name)"
        network_import_check: "enable"
        network6:
         -
            backdoor: "enable"
            id:  "316"
            network_import_check: "global"
            prefix6: "<your_own_value>"
            route_map: "<your_own_value> (source router.route-map.name)"
        recursive_inherit_priority: "enable"
        recursive_next_hop: "enable"
        redistribute:
         -
            name: "default_name_323"
            route_map: "<your_own_value> (source router.route-map.name)"
            status: "enable"
        redistribute6:
         -
            name: "default_name_327"
            route_map: "<your_own_value> (source router.route-map.name)"
            status: "enable"
        router_id: "<your_own_value>"
        scan_time: "60"
        synchronization: "enable"
        tag_resolve_mode: "disable"
        vrf:
         -
            export_rt:
             -
                route_target: "<your_own_value>"
            import_route_map: "<your_own_value> (source router.route-map.name)"
            import_rt:
             -
                route_target: "<your_own_value>"
            leak_target:
             -
                interface: "<your_own_value> (source system.interface.name)"
                route_map: "<your_own_value> (source router.route-map.name)"
                vrf: "<your_own_value>"
            rd: "<your_own_value>"
            role: "standalone"
            vrf: "<your_own_value>"
        vrf_leak:
         -
            target:
             -
                interface: "<your_own_value> (source system.interface.name)"
                route_map: "<your_own_value> (source router.route-map.name)"
                vrf: "<your_own_value>"
            vrf: "<your_own_value>"
        vrf_leak6:
         -
            target:
             -
                interface: "<your_own_value> (source system.interface.name)"
                route_map: "<your_own_value> (source router.route-map.name)"
                vrf: "<your_own_value>"
            vrf: "<your_own_value>"
        vrf6:
         -
            leak_target:
             -
                interface: "<your_own_value> (source system.interface.name)"
                route_map: "<your_own_value> (source router.route-map.name)"
                vrf: "<your_own_value>"
            vrf: "<your_own_value>"

Inputs

    
vdom:
    default: root
    description:
    - Virtual domain, among those defined previously. A vdom is a virtual instance of
      the FortiGate that can be configured and used as a different unit.
    type: str

enable_log:
    default: false
    description:
    - Enable/Disable logging for task.
    required: false
    type: bool

router_bgp:
    default: null
    description:
    - Configure BGP.
    suboptions:
      additional_path:
        choices:
        - enable
        - disable
        description:
        - Enable/disable selection of BGP IPv4 additional paths.
        type: str
      additional_path6:
        choices:
        - enable
        - disable
        description:
        - Enable/disable selection of BGP IPv6 additional paths.
        type: str
      additional_path_select:
        description:
        - Number of additional paths to be selected for each IPv4 NLRI.
        type: int
      additional_path_select6:
        description:
        - Number of additional paths to be selected for each IPv6 NLRI.
        type: int
      additional_path_select_vpnv4:
        description:
        - Number of additional paths to be selected for each VPNv4 NLRI.
        type: int
      additional_path_vpnv4:
        choices:
        - enable
        - disable
        description:
        - Enable/disable selection of BGP VPNv4 additional paths.
        type: str
      admin_distance:
        description:
        - Administrative distance modifications.
        elements: dict
        suboptions:
          distance:
            description:
            - Administrative distance to apply (1 - 255).
            type: int
          id:
            description:
            - ID.
            type: int
          neighbour_prefix:
            description:
            - Neighbor address prefix.
            type: str
          route_list:
            description:
            - Access list of routes to apply new distance to. Source router.access-list.name.
            type: str
        type: list
      aggregate_address:
        description:
        - BGP aggregate address table.
        elements: dict
        suboptions:
          as_set:
            choices:
            - enable
            - disable
            description:
            - Enable/disable generate AS set path information.
            type: str
          id:
            description:
            - ID.
            type: int
          prefix:
            description:
            - Aggregate prefix.
            type: str
          summary_only:
            choices:
            - enable
            - disable
            description:
            - Enable/disable filter more specific routes from updates.
            type: str
        type: list
      aggregate_address6:
        description:
        - BGP IPv6 aggregate address table.
        elements: dict
        suboptions:
          as_set:
            choices:
            - enable
            - disable
            description:
            - Enable/disable generate AS set path information.
            type: str
          id:
            description:
            - ID.
            type: int
          prefix6:
            description:
            - Aggregate IPv6 prefix.
            type: str
          summary_only:
            choices:
            - enable
            - disable
            description:
            - Enable/disable filter more specific routes from updates.
            type: str
        type: list
      always_compare_med:
        choices:
        - enable
        - disable
        description:
        - Enable/disable always compare MED.
        type: str
      as:
        description:
        - Router AS number, asplain/asdot/asdot+ format, 0 to disable BGP.
        type: str
      bestpath_as_path_ignore:
        choices:
        - enable
        - disable
        description:
        - Enable/disable ignore AS path.
        type: str
      bestpath_cmp_confed_aspath:
        choices:
        - enable
        - disable
        description:
        - Enable/disable compare federation AS path length.
        type: str
      bestpath_cmp_routerid:
        choices:
        - enable
        - disable
        description:
        - Enable/disable compare router ID for identical EBGP paths.
        type: str
      bestpath_med_confed:
        choices:
        - enable
        - disable
        description:
        - Enable/disable compare MED among confederation paths.
        type: str
      bestpath_med_missing_as_worst:
        choices:
        - enable
        - disable
        description:
        - Enable/disable treat missing MED as least preferred.
        type: str
      client_to_client_reflection:
        choices:
        - enable
        - disable
        description:
        - Enable/disable client-to-client route reflection.
        type: str
      cluster_id:
        description:
        - Route reflector cluster ID.
        type: str
      confederation_identifier:
        description:
        - Confederation identifier.
        type: int
      confederation_peers:
        description:
        - Confederation peers.
        elements: dict
        suboptions:
          peer:
            description:
            - Peer ID.
            type: str
        type: list
      dampening:
        choices:
        - enable
        - disable
        description:
        - Enable/disable route-flap dampening.
        type: str
      dampening_max_suppress_time:
        description:
        - Maximum minutes a route can be suppressed.
        type: int
      dampening_reachability_half_life:
        description:
        - Reachability half-life time for penalty (min).
        type: int
      dampening_reuse:
        description:
        - Threshold to reuse routes.
        type: int
      dampening_route_map:
        description:
        - Criteria for dampening. Source router.route-map.name.
        type: str
      dampening_suppress:
        description:
        - Threshold to suppress routes.
        type: int
      dampening_unreachability_half_life:
        description:
        - Unreachability half-life time for penalty (min).
        type: int
      default_local_preference:
        description:
        - Default local preference.
        type: int
      deterministic_med:
        choices:
        - enable
        - disable
        description:
        - Enable/disable enforce deterministic comparison of MED.
        type: str
      distance_external:
        description:
        - Distance for routes external to the AS.
        type: int
      distance_internal:
        description:
        - Distance for routes internal to the AS.
        type: int
      distance_local:
        description:
        - Distance for routes local to the AS.
        type: int
      ebgp_multipath:
        choices:
        - enable
        - disable
        description:
        - Enable/disable EBGP multi-path.
        type: str
      enforce_first_as:
        choices:
        - enable
        - disable
        description:
        - Enable/disable enforce first AS for EBGP routes.
        type: str
      fast_external_failover:
        choices:
        - enable
        - disable
        description:
        - Enable/disable reset peer BGP session if link goes down.
        type: str
      graceful_end_on_timer:
        choices:
        - enable
        - disable
        description:
        - Enable/disable to exit graceful restart on timer only.
        type: str
      graceful_restart:
        choices:
        - enable
        - disable
        description:
        - Enable/disable BGP graceful restart capabilities.
        type: str
      graceful_restart_time:
        description:
        - Time needed for neighbors to restart (sec).
        type: int
      graceful_stalepath_time:
        description:
        - Time to hold stale paths of restarting neighbor (sec).
        type: int
      graceful_update_delay:
        description:
        - Route advertisement/selection delay after restart (sec).
        type: int
      holdtime_timer:
        description:
        - Number of seconds to mark peer as dead.
        type: int
      ibgp_multipath:
        choices:
        - enable
        - disable
        description:
        - Enable/disable IBGP multi-path.
        type: str
      ignore_optional_capability:
        choices:
        - enable
        - disable
        description:
        - Do not send unknown optional capability notification message.
        type: str
      keepalive_timer:
        description:
        - Frequency to send keep alive requests.
        type: int
      log_neighbour_changes:
        choices:
        - enable
        - disable
        description:
        - Log BGP neighbor changes.
        type: str
      multipath_recursive_distance:
        choices:
        - enable
        - disable
        description:
        - Enable/disable use of recursive distance to select multipath.
        type: str
      neighbor:
        description:
        - BGP neighbor table.
        elements: dict
        suboptions:
          activate:
            choices:
            - enable
            - disable
            description:
            - Enable/disable address family IPv4 for this neighbor.
            type: str
          activate6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable address family IPv6 for this neighbor.
            type: str
          activate_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable address family VPNv4 for this neighbor.
            type: str
          additional_path:
            choices:
            - send
            - receive
            - both
            - disable
            description:
            - Enable/disable IPv4 additional-path capability.
            type: str
          additional_path6:
            choices:
            - send
            - receive
            - both
            - disable
            description:
            - Enable/disable IPv6 additional-path capability.
            type: str
          additional_path_vpnv4:
            choices:
            - send
            - receive
            - both
            - disable
            description:
            - Enable/disable VPNv4 additional-path capability.
            type: str
          adv_additional_path:
            description:
            - Number of IPv4 additional paths that can be advertised to this neighbor.
            type: int
          adv_additional_path6:
            description:
            - Number of IPv6 additional paths that can be advertised to this neighbor.
            type: int
          adv_additional_path_vpnv4:
            description:
            - Number of VPNv4 additional paths that can be advertised to this neighbor.
            type: int
          advertisement_interval:
            description:
            - Minimum interval (sec) between sending updates.
            type: int
          allowas_in:
            description:
            - IPv4 The maximum number of occurrence of my AS number allowed.
            type: int
          allowas_in6:
            description:
            - IPv6 The maximum number of occurrence of my AS number allowed.
            type: int
          allowas_in_enable:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv4 Enable to allow my AS in AS path.
            type: str
          allowas_in_enable6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv6 Enable to allow my AS in AS path.
            type: str
          allowas_in_vpnv4:
            description:
            - The maximum number of occurrence of my AS number allowed for VPNv4 route.
            type: int
          as_override:
            choices:
            - enable
            - disable
            description:
            - Enable/disable replace peer AS with own AS for IPv4.
            type: str
          as_override6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable replace peer AS with own AS for IPv6.
            type: str
          attribute_unchanged:
            choices:
            - as-path
            - med
            - next-hop
            description:
            - IPv4 List of attributes that should be unchanged.
            elements: str
            type: list
          attribute_unchanged6:
            choices:
            - as-path
            - med
            - next-hop
            description:
            - IPv6 List of attributes that should be unchanged.
            elements: str
            type: list
          attribute_unchanged_vpnv4:
            choices:
            - as-path
            - med
            - next-hop
            description:
            - List of attributes that should be unchanged for VPNv4 route.
            elements: str
            type: list
          bfd:
            choices:
            - enable
            - disable
            description:
            - Enable/disable BFD for this neighbor.
            type: str
          capability_default_originate:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise default IPv4 route to this neighbor.
            type: str
          capability_default_originate6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise default IPv6 route to this neighbor.
            type: str
          capability_dynamic:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise dynamic capability to this neighbor.
            type: str
          capability_graceful_restart:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise IPv4 graceful restart capability to this neighbor.
            type: str
          capability_graceful_restart6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise IPv6 graceful restart capability to this neighbor.
            type: str
          capability_graceful_restart_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise VPNv4 graceful restart capability to this neighbor.
            type: str
          capability_orf:
            choices:
            - none
            - receive
            - send
            - both
            description:
            - Accept/Send IPv4 ORF lists to/from this neighbor.
            type: str
          capability_orf6:
            choices:
            - none
            - receive
            - send
            - both
            description:
            - Accept/Send IPv6 ORF lists to/from this neighbor.
            type: str
          capability_route_refresh:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise route refresh capability to this neighbor.
            type: str
          conditional_advertise:
            description:
            - Conditional advertisement.
            elements: dict
            suboptions:
              advertise_routemap:
                description:
                - Name of advertising route map. Source router.route-map.name.
                type: str
              condition_routemap:
                description:
                - List of conditional route maps. Source router.route-map.name.
                elements: dict
                suboptions:
                  name:
                    description:
                    - route map Source router.route-map.name.
                    type: str
                type: list
              condition_type:
                choices:
                - exist
                - non-exist
                description:
                - Type of condition.
                type: str
            type: list
          conditional_advertise6:
            description:
            - IPv6 conditional advertisement.
            elements: dict
            suboptions:
              advertise_routemap:
                description:
                - Name of advertising route map. Source router.route-map.name.
                type: str
              condition_routemap:
                description:
                - List of conditional route maps. Source router.route-map.name.
                elements: dict
                suboptions:
                  name:
                    description:
                    - route map Source router.route-map.name.
                    type: str
                type: list
              condition_type:
                choices:
                - exist
                - non-exist
                description:
                - Type of condition.
                type: str
            type: list
          connect_timer:
            description:
            - Interval (sec) for connect timer.
            type: int
          default_originate_routemap:
            description:
            - Route map to specify criteria to originate IPv4 default. Source router.route-map.name.
            type: str
          default_originate_routemap6:
            description:
            - Route map to specify criteria to originate IPv6 default. Source router.route-map.name.
            type: str
          description:
            description:
            - Description.
            type: str
          distribute_list_in:
            description:
            - Filter for IPv4 updates from this neighbor. Source router.access-list.name.
            type: str
          distribute_list_in6:
            description:
            - Filter for IPv6 updates from this neighbor. Source router.access-list6.name.
            type: str
          distribute_list_in_vpnv4:
            description:
            - Filter for VPNv4 updates from this neighbor. Source router.access-list.name.
            type: str
          distribute_list_out:
            description:
            - Filter for IPv4 updates to this neighbor. Source router.access-list.name.
            type: str
          distribute_list_out6:
            description:
            - Filter for IPv6 updates to this neighbor. Source router.access-list6.name.
            type: str
          distribute_list_out_vpnv4:
            description:
            - Filter for VPNv4 updates to this neighbor. Source router.access-list.name.
            type: str
          dont_capability_negotiate:
            choices:
            - enable
            - disable
            description:
            - Do not negotiate capabilities with this neighbor.
            type: str
          ebgp_enforce_multihop:
            choices:
            - enable
            - disable
            description:
            - Enable/disable allow multi-hop EBGP neighbors.
            type: str
          ebgp_multihop_ttl:
            description:
            - EBGP multihop TTL for this peer.
            type: int
          filter_list_in:
            description:
            - BGP filter for IPv4 inbound routes. Source router.aspath-list.name.
            type: str
          filter_list_in6:
            description:
            - BGP filter for IPv6 inbound routes. Source router.aspath-list.name.
            type: str
          filter_list_out:
            description:
            - BGP filter for IPv4 outbound routes. Source router.aspath-list.name.
            type: str
          filter_list_out6:
            description:
            - BGP filter for IPv6 outbound routes. Source router.aspath-list.name.
            type: str
          holdtime_timer:
            description:
            - Interval (sec) before peer considered dead.
            type: int
          interface:
            description:
            - Specify outgoing interface for peer connection. For IPv6 peer, the interface
              should have link-local address. Source system .interface.name.
            type: str
          ip:
            description:
            - IP/IPv6 address of neighbor.
            type: str
          keep_alive_timer:
            description:
            - Keep alive timer interval (sec).
            type: int
          link_down_failover:
            choices:
            - enable
            - disable
            description:
            - Enable/disable failover upon link down.
            type: str
          local_as:
            description:
            - Local AS number of neighbor.
            type: str
          local_as_no_prepend:
            choices:
            - enable
            - disable
            description:
            - Do not prepend local-as to incoming updates.
            type: str
          local_as_replace_as:
            choices:
            - enable
            - disable
            description:
            - Replace real AS with local-as in outgoing updates.
            type: str
          maximum_prefix:
            description:
            - Maximum number of IPv4 prefixes to accept from this peer.
            type: int
          maximum_prefix6:
            description:
            - Maximum number of IPv6 prefixes to accept from this peer.
            type: int
          maximum_prefix_threshold:
            description:
            - Maximum IPv4 prefix threshold value (1 - 100 percent).
            type: int
          maximum_prefix_threshold6:
            description:
            - Maximum IPv6 prefix threshold value (1 - 100 percent).
            type: int
          maximum_prefix_threshold_vpnv4:
            description:
            - Maximum VPNv4 prefix threshold value (1 - 100 percent).
            type: int
          maximum_prefix_vpnv4:
            description:
            - Maximum number of VPNv4 prefixes to accept from this peer.
            type: int
          maximum_prefix_warning_only:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv4 Only give warning message when limit is exceeded.
            type: str
          maximum_prefix_warning_only6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv6 Only give warning message when limit is exceeded.
            type: str
          maximum_prefix_warning_only_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable only giving warning message when limit is exceeded for VPNv4
              routes.
            type: str
          next_hop_self:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv4 next-hop calculation for this neighbor.
            type: str
          next_hop_self6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv6 next-hop calculation for this neighbor.
            type: str
          next_hop_self_rr:
            choices:
            - enable
            - disable
            description:
            - Enable/disable setting nexthop"s address to interface"s IPv4 address for
              route-reflector routes.
            type: str
          next_hop_self_rr6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable setting nexthop"s address to interface"s IPv6 address for
              route-reflector routes.
            type: str
          next_hop_self_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable setting VPNv4 next-hop to interface"s IP address for this
              neighbor.
            type: str
          override_capability:
            choices:
            - enable
            - disable
            description:
            - Enable/disable override result of capability negotiation.
            type: str
          passive:
            choices:
            - enable
            - disable
            description:
            - Enable/disable sending of open messages to this neighbor.
            type: str
          password:
            description:
            - Password used in MD5 authentication.
            type: str
          prefix_list_in:
            description:
            - IPv4 Inbound filter for updates from this neighbor. Source router.prefix-list.name.
            type: str
          prefix_list_in6:
            description:
            - IPv6 Inbound filter for updates from this neighbor. Source router.prefix-list6.name.
            type: str
          prefix_list_in_vpnv4:
            description:
            - Inbound filter for VPNv4 updates from this neighbor. Source router.prefix-list.name.
            type: str
          prefix_list_out:
            description:
            - IPv4 Outbound filter for updates to this neighbor. Source router.prefix-list.name.
            type: str
          prefix_list_out6:
            description:
            - IPv6 Outbound filter for updates to this neighbor. Source router.prefix-list6.name.
            type: str
          prefix_list_out_vpnv4:
            description:
            - Outbound filter for VPNv4 updates to this neighbor. Source router.prefix-list.name.
            type: str
          remote_as:
            description:
            - AS number of neighbor.
            type: str
          remove_private_as:
            choices:
            - enable
            - disable
            description:
            - Enable/disable remove private AS number from IPv4 outbound updates.
            type: str
          remove_private_as6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable remove private AS number from IPv6 outbound updates.
            type: str
          remove_private_as_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable remove private AS number from VPNv4 outbound updates.
            type: str
          restart_time:
            description:
            - Graceful restart delay time (sec, 0 = global default).
            type: int
          retain_stale_time:
            description:
            - Time to retain stale routes.
            type: int
          route_map_in:
            description:
            - IPv4 Inbound route map filter. Source router.route-map.name.
            type: str
          route_map_in6:
            description:
            - IPv6 Inbound route map filter. Source router.route-map.name.
            type: str
          route_map_in_vpnv4:
            description:
            - VPNv4 inbound route map filter. Source router.route-map.name.
            type: str
          route_map_out:
            description:
            - IPv4 outbound route map filter. Source router.route-map.name.
            type: str
          route_map_out6:
            description:
            - IPv6 Outbound route map filter. Source router.route-map.name.
            type: str
          route_map_out6_preferable:
            description:
            - IPv6 outbound route map filter if the peer is preferred. Source router.route-map.name.
            type: str
          route_map_out_preferable:
            description:
            - IPv4 outbound route map filter if the peer is preferred. Source router.route-map.name.
            type: str
          route_map_out_vpnv4:
            description:
            - VPNv4 outbound route map filter. Source router.route-map.name.
            type: str
          route_map_out_vpnv4_preferable:
            description:
            - VPNv4 outbound route map filter if the peer is preferred. Source router.route-map.name.
            type: str
          route_reflector_client:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv4 AS route reflector client.
            type: str
          route_reflector_client6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv6 AS route reflector client.
            type: str
          route_reflector_client_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable VPNv4 AS route reflector client for this neighbor.
            type: str
          route_server_client:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv4 AS route server client.
            type: str
          route_server_client6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv6 AS route server client.
            type: str
          route_server_client_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable VPNv4 AS route server client for this neighbor.
            type: str
          send_community:
            choices:
            - standard
            - extended
            - both
            - disable
            description:
            - IPv4 Send community attribute to neighbor.
            type: str
          send_community6:
            choices:
            - standard
            - extended
            - both
            - disable
            description:
            - IPv6 Send community attribute to neighbor.
            type: str
          send_community_vpnv4:
            choices:
            - standard
            - extended
            - both
            - disable
            description:
            - Send community attribute to neighbor for VPNv4 address family.
            type: str
          shutdown:
            choices:
            - enable
            - disable
            description:
            - Enable/disable shutdown this neighbor.
            type: str
          soft_reconfiguration:
            choices:
            - enable
            - disable
            description:
            - Enable/disable allow IPv4 inbound soft reconfiguration.
            type: str
          soft_reconfiguration6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable allow IPv6 inbound soft reconfiguration.
            type: str
          soft_reconfiguration_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable allow VPNv4 inbound soft reconfiguration.
            type: str
          stale_route:
            choices:
            - enable
            - disable
            description:
            - Enable/disable stale route after neighbor down.
            type: str
          strict_capability_match:
            choices:
            - enable
            - disable
            description:
            - Enable/disable strict capability matching.
            type: str
          unsuppress_map:
            description:
            - IPv4 Route map to selectively unsuppress suppressed routes. Source router.route-map.name.
            type: str
          unsuppress_map6:
            description:
            - IPv6 Route map to selectively unsuppress suppressed routes. Source router.route-map.name.
            type: str
          update_source:
            description:
            - Interface to use as source IP/IPv6 address of TCP connections. Source system.interface.name.
            type: str
          weight:
            description:
            - Neighbor weight.
            type: int
        type: list
      neighbor_group:
        description:
        - BGP neighbor group table.
        elements: dict
        suboptions:
          activate:
            choices:
            - enable
            - disable
            description:
            - Enable/disable address family IPv4 for this neighbor.
            type: str
          activate6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable address family IPv6 for this neighbor.
            type: str
          activate_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable address family VPNv4 for this neighbor.
            type: str
          additional_path:
            choices:
            - send
            - receive
            - both
            - disable
            description:
            - Enable/disable IPv4 additional-path capability.
            type: str
          additional_path6:
            choices:
            - send
            - receive
            - both
            - disable
            description:
            - Enable/disable IPv6 additional-path capability.
            type: str
          additional_path_vpnv4:
            choices:
            - send
            - receive
            - both
            - disable
            description:
            - Enable/disable VPNv4 additional-path capability.
            type: str
          adv_additional_path:
            description:
            - Number of IPv4 additional paths that can be advertised to this neighbor.
            type: int
          adv_additional_path6:
            description:
            - Number of IPv6 additional paths that can be advertised to this neighbor.
            type: int
          adv_additional_path_vpnv4:
            description:
            - Number of VPNv4 additional paths that can be advertised to this neighbor.
            type: int
          advertisement_interval:
            description:
            - Minimum interval (sec) between sending updates.
            type: int
          allowas_in:
            description:
            - IPv4 The maximum number of occurrence of my AS number allowed.
            type: int
          allowas_in6:
            description:
            - IPv6 The maximum number of occurrence of my AS number allowed.
            type: int
          allowas_in_enable:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv4 Enable to allow my AS in AS path.
            type: str
          allowas_in_enable6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv6 Enable to allow my AS in AS path.
            type: str
          allowas_in_vpnv4:
            description:
            - The maximum number of occurrence of my AS number allowed for VPNv4 route.
            type: int
          as_override:
            choices:
            - enable
            - disable
            description:
            - Enable/disable replace peer AS with own AS for IPv4.
            type: str
          as_override6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable replace peer AS with own AS for IPv6.
            type: str
          attribute_unchanged:
            choices:
            - as-path
            - med
            - next-hop
            description:
            - IPv4 List of attributes that should be unchanged.
            elements: str
            type: list
          attribute_unchanged6:
            choices:
            - as-path
            - med
            - next-hop
            description:
            - IPv6 List of attributes that should be unchanged.
            elements: str
            type: list
          attribute_unchanged_vpnv4:
            choices:
            - as-path
            - med
            - next-hop
            description:
            - List of attributes that should be unchanged for VPNv4 route.
            elements: str
            type: list
          bfd:
            choices:
            - enable
            - disable
            description:
            - Enable/disable BFD for this neighbor.
            type: str
          capability_default_originate:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise default IPv4 route to this neighbor.
            type: str
          capability_default_originate6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise default IPv6 route to this neighbor.
            type: str
          capability_dynamic:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise dynamic capability to this neighbor.
            type: str
          capability_graceful_restart:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise IPv4 graceful restart capability to this neighbor.
            type: str
          capability_graceful_restart6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise IPv6 graceful restart capability to this neighbor.
            type: str
          capability_graceful_restart_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise VPNv4 graceful restart capability to this neighbor.
            type: str
          capability_orf:
            choices:
            - none
            - receive
            - send
            - both
            description:
            - Accept/Send IPv4 ORF lists to/from this neighbor.
            type: str
          capability_orf6:
            choices:
            - none
            - receive
            - send
            - both
            description:
            - Accept/Send IPv6 ORF lists to/from this neighbor.
            type: str
          capability_route_refresh:
            choices:
            - enable
            - disable
            description:
            - Enable/disable advertise route refresh capability to this neighbor.
            type: str
          connect_timer:
            description:
            - Interval (sec) for connect timer.
            type: int
          default_originate_routemap:
            description:
            - Route map to specify criteria to originate IPv4 default. Source router.route-map.name.
            type: str
          default_originate_routemap6:
            description:
            - Route map to specify criteria to originate IPv6 default. Source router.route-map.name.
            type: str
          description:
            description:
            - Description.
            type: str
          distribute_list_in:
            description:
            - Filter for IPv4 updates from this neighbor. Source router.access-list.name.
            type: str
          distribute_list_in6:
            description:
            - Filter for IPv6 updates from this neighbor. Source router.access-list6.name.
            type: str
          distribute_list_in_vpnv4:
            description:
            - Filter for VPNv4 updates from this neighbor. Source router.access-list.name.
            type: str
          distribute_list_out:
            description:
            - Filter for IPv4 updates to this neighbor. Source router.access-list.name.
            type: str
          distribute_list_out6:
            description:
            - Filter for IPv6 updates to this neighbor. Source router.access-list6.name.
            type: str
          distribute_list_out_vpnv4:
            description:
            - Filter for VPNv4 updates to this neighbor. Source router.access-list.name.
            type: str
          dont_capability_negotiate:
            choices:
            - enable
            - disable
            description:
            - Do not negotiate capabilities with this neighbor.
            type: str
          ebgp_enforce_multihop:
            choices:
            - enable
            - disable
            description:
            - Enable/disable allow multi-hop EBGP neighbors.
            type: str
          ebgp_multihop_ttl:
            description:
            - EBGP multihop TTL for this peer.
            type: int
          filter_list_in:
            description:
            - BGP filter for IPv4 inbound routes. Source router.aspath-list.name.
            type: str
          filter_list_in6:
            description:
            - BGP filter for IPv6 inbound routes. Source router.aspath-list.name.
            type: str
          filter_list_out:
            description:
            - BGP filter for IPv4 outbound routes. Source router.aspath-list.name.
            type: str
          filter_list_out6:
            description:
            - BGP filter for IPv6 outbound routes. Source router.aspath-list.name.
            type: str
          holdtime_timer:
            description:
            - Interval (sec) before peer considered dead.
            type: int
          interface:
            description:
            - Specify outgoing interface for peer connection. For IPv6 peer, the interface
              should have link-local address. Source system .interface.name.
            type: str
          keep_alive_timer:
            description:
            - Keep alive timer interval (sec).
            type: int
          link_down_failover:
            choices:
            - enable
            - disable
            description:
            - Enable/disable failover upon link down.
            type: str
          local_as:
            description:
            - Local AS number of neighbor.
            type: str
          local_as_no_prepend:
            choices:
            - enable
            - disable
            description:
            - Do not prepend local-as to incoming updates.
            type: str
          local_as_replace_as:
            choices:
            - enable
            - disable
            description:
            - Replace real AS with local-as in outgoing updates.
            type: str
          maximum_prefix:
            description:
            - Maximum number of IPv4 prefixes to accept from this peer.
            type: int
          maximum_prefix6:
            description:
            - Maximum number of IPv6 prefixes to accept from this peer.
            type: int
          maximum_prefix_threshold:
            description:
            - Maximum IPv4 prefix threshold value (1 - 100 percent).
            type: int
          maximum_prefix_threshold6:
            description:
            - Maximum IPv6 prefix threshold value (1 - 100 percent).
            type: int
          maximum_prefix_threshold_vpnv4:
            description:
            - Maximum VPNv4 prefix threshold value (1 - 100 percent).
            type: int
          maximum_prefix_vpnv4:
            description:
            - Maximum number of VPNv4 prefixes to accept from this peer.
            type: int
          maximum_prefix_warning_only:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv4 Only give warning message when limit is exceeded.
            type: str
          maximum_prefix_warning_only6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv6 Only give warning message when limit is exceeded.
            type: str
          maximum_prefix_warning_only_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable only giving warning message when limit is exceeded for VPNv4
              routes.
            type: str
          name:
            description:
            - Neighbor group name.
            type: str
          next_hop_self:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv4 next-hop calculation for this neighbor.
            type: str
          next_hop_self6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv6 next-hop calculation for this neighbor.
            type: str
          next_hop_self_rr:
            choices:
            - enable
            - disable
            description:
            - Enable/disable setting nexthop"s address to interface"s IPv4 address for
              route-reflector routes.
            type: str
          next_hop_self_rr6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable setting nexthop"s address to interface"s IPv6 address for
              route-reflector routes.
            type: str
          next_hop_self_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable setting VPNv4 next-hop to interface"s IP address for this
              neighbor.
            type: str
          override_capability:
            choices:
            - enable
            - disable
            description:
            - Enable/disable override result of capability negotiation.
            type: str
          passive:
            choices:
            - enable
            - disable
            description:
            - Enable/disable sending of open messages to this neighbor.
            type: str
          prefix_list_in:
            description:
            - IPv4 Inbound filter for updates from this neighbor. Source router.prefix-list.name.
            type: str
          prefix_list_in6:
            description:
            - IPv6 Inbound filter for updates from this neighbor. Source router.prefix-list6.name.
            type: str
          prefix_list_in_vpnv4:
            description:
            - Inbound filter for VPNv4 updates from this neighbor. Source router.prefix-list.name.
            type: str
          prefix_list_out:
            description:
            - IPv4 Outbound filter for updates to this neighbor. Source router.prefix-list.name.
            type: str
          prefix_list_out6:
            description:
            - IPv6 Outbound filter for updates to this neighbor. Source router.prefix-list6.name.
            type: str
          prefix_list_out_vpnv4:
            description:
            - Outbound filter for VPNv4 updates to this neighbor. Source router.prefix-list.name.
            type: str
          remote_as:
            description:
            - AS number of neighbor.
            type: str
          remove_private_as:
            choices:
            - enable
            - disable
            description:
            - Enable/disable remove private AS number from IPv4 outbound updates.
            type: str
          remove_private_as6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable remove private AS number from IPv6 outbound updates.
            type: str
          remove_private_as_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable remove private AS number from VPNv4 outbound updates.
            type: str
          restart_time:
            description:
            - Graceful restart delay time (sec, 0 = global default).
            type: int
          retain_stale_time:
            description:
            - Time to retain stale routes.
            type: int
          route_map_in:
            description:
            - IPv4 Inbound route map filter. Source router.route-map.name.
            type: str
          route_map_in6:
            description:
            - IPv6 Inbound route map filter. Source router.route-map.name.
            type: str
          route_map_in_vpnv4:
            description:
            - VPNv4 inbound route map filter. Source router.route-map.name.
            type: str
          route_map_out:
            description:
            - IPv4 outbound route map filter. Source router.route-map.name.
            type: str
          route_map_out6:
            description:
            - IPv6 Outbound route map filter. Source router.route-map.name.
            type: str
          route_map_out6_preferable:
            description:
            - IPv6 outbound route map filter if the peer is preferred. Source router.route-map.name.
            type: str
          route_map_out_preferable:
            description:
            - IPv4 outbound route map filter if the peer is preferred. Source router.route-map.name.
            type: str
          route_map_out_vpnv4:
            description:
            - VPNv4 outbound route map filter. Source router.route-map.name.
            type: str
          route_map_out_vpnv4_preferable:
            description:
            - VPNv4 outbound route map filter if the peer is preferred. Source router.route-map.name.
            type: str
          route_reflector_client:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv4 AS route reflector client.
            type: str
          route_reflector_client6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv6 AS route reflector client.
            type: str
          route_reflector_client_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable VPNv4 AS route reflector client for this neighbor.
            type: str
          route_server_client:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv4 AS route server client.
            type: str
          route_server_client6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable IPv6 AS route server client.
            type: str
          route_server_client_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable VPNv4 AS route server client for this neighbor.
            type: str
          send_community:
            choices:
            - standard
            - extended
            - both
            - disable
            description:
            - IPv4 Send community attribute to neighbor.
            type: str
          send_community6:
            choices:
            - standard
            - extended
            - both
            - disable
            description:
            - IPv6 Send community attribute to neighbor.
            type: str
          send_community_vpnv4:
            choices:
            - standard
            - extended
            - both
            - disable
            description:
            - Send community attribute to neighbor for VPNv4 address family.
            type: str
          shutdown:
            choices:
            - enable
            - disable
            description:
            - Enable/disable shutdown this neighbor.
            type: str
          soft_reconfiguration:
            choices:
            - enable
            - disable
            description:
            - Enable/disable allow IPv4 inbound soft reconfiguration.
            type: str
          soft_reconfiguration6:
            choices:
            - enable
            - disable
            description:
            - Enable/disable allow IPv6 inbound soft reconfiguration.
            type: str
          soft_reconfiguration_vpnv4:
            choices:
            - enable
            - disable
            description:
            - Enable/disable allow VPNv4 inbound soft reconfiguration.
            type: str
          stale_route:
            choices:
            - enable
            - disable
            description:
            - Enable/disable stale route after neighbor down.
            type: str
          strict_capability_match:
            choices:
            - enable
            - disable
            description:
            - Enable/disable strict capability matching.
            type: str
          unsuppress_map:
            description:
            - IPv4 Route map to selectively unsuppress suppressed routes. Source router.route-map.name.
            type: str
          unsuppress_map6:
            description:
            - IPv6 Route map to selectively unsuppress suppressed routes. Source router.route-map.name.
            type: str
          update_source:
            description:
            - Interface to use as source IP/IPv6 address of TCP connections. Source system.interface.name.
            type: str
          weight:
            description:
            - Neighbor weight.
            type: int
        type: list
      neighbor_range:
        description:
        - BGP neighbor range table.
        elements: dict
        suboptions:
          id:
            description:
            - Neighbor range ID.
            type: int
          max_neighbor_num:
            description:
            - Maximum number of neighbors.
            type: int
          neighbor_group:
            description:
            - Neighbor group name. Source router.bgp.neighbor-group.name.
            type: str
          prefix:
            description:
            - Neighbor range prefix.
            type: str
        type: list
      neighbor_range6:
        description:
        - BGP IPv6 neighbor range table.
        elements: dict
        suboptions:
          id:
            description:
            - IPv6 neighbor range ID.
            type: int
          max_neighbor_num:
            description:
            - Maximum number of neighbors.
            type: int
          neighbor_group:
            description:
            - Neighbor group name. Source router.bgp.neighbor-group.name.
            type: str
          prefix6:
            description:
            - IPv6 prefix.
            type: str
        type: list
      network:
        description:
        - BGP network table.
        elements: dict
        suboptions:
          backdoor:
            choices:
            - enable
            - disable
            description:
            - Enable/disable route as backdoor.
            type: str
          id:
            description:
            - ID.
            type: int
          network_import_check:
            choices:
            - global
            - enable
            - disable
            description:
            - Configure insurance of BGP network route existence in IGP.
            type: str
          prefix:
            description:
            - Network prefix.
            type: str
          route_map:
            description:
            - Route map to modify generated route. Source router.route-map.name.
            type: str
        type: list
      network6:
        description:
        - BGP IPv6 network table.
        elements: dict
        suboptions:
          backdoor:
            choices:
            - enable
            - disable
            description:
            - Enable/disable route as backdoor.
            type: str
          id:
            description:
            - ID.
            type: int
          network_import_check:
            choices:
            - global
            - enable
            - disable
            description:
            - Configure insurance of BGP network route existence in IGP.
            type: str
          prefix6:
            description:
            - Network IPv6 prefix.
            type: str
          route_map:
            description:
            - Route map to modify generated route. Source router.route-map.name.
            type: str
        type: list
      network_import_check:
        choices:
        - enable
        - disable
        description:
        - Enable/disable ensure BGP network route exists in IGP.
        type: str
      recursive_inherit_priority:
        choices:
        - enable
        - disable
        description:
        - Enable/disable priority inheritance for recursive resolution.
        type: str
      recursive_next_hop:
        choices:
        - enable
        - disable
        description:
        - Enable/disable recursive resolution of next-hop using BGP route.
        type: str
      redistribute:
        description:
        - BGP IPv4 redistribute table.
        elements: dict
        suboptions:
          name:
            description:
            - Distribute list entry name.
            type: str
          route_map:
            description:
            - Route map name. Source router.route-map.name.
            type: str
          status:
            choices:
            - enable
            - disable
            description:
            - Status.
            type: str
        type: list
      redistribute6:
        description:
        - BGP IPv6 redistribute table.
        elements: dict
        suboptions:
          name:
            description:
            - Distribute list entry name.
            type: str
          route_map:
            description:
            - Route map name. Source router.route-map.name.
            type: str
          status:
            choices:
            - enable
            - disable
            description:
            - Status.
            type: str
        type: list
      router_id:
        description:
        - Router ID.
        type: str
      scan_time:
        description:
        - Background scanner interval (sec), 0 to disable it.
        type: int
      synchronization:
        choices:
        - enable
        - disable
        description:
        - Enable/disable only advertise routes from iBGP if routes present in an IGP.
        type: str
      tag_resolve_mode:
        choices:
        - disable
        - preferred
        - merge
        description:
        - Configure tag-match mode. Resolves BGP routes with other routes containing the
          same tag.
        type: str
      vrf:
        description:
        - BGP VRF leaking table.
        elements: dict
        suboptions:
          export_rt:
            description:
            - List of export route target.
            elements: dict
            suboptions:
              route_target:
                description:
                - 'Attribute: AA|AA:NN.'
                type: str
            type: list
          import_route_map:
            description:
            - Import route map. Source router.route-map.name.
            type: str
          import_rt:
            description:
            - List of import route target.
            elements: dict
            suboptions:
              route_target:
                description:
                - 'Attribute: AA|AA:NN.'
                type: str
            type: list
          leak_target:
            description:
            - Target VRF table.
            elements: dict
            suboptions:
              interface:
                description:
                - Interface which is used to leak routes to target VRF. Source system.interface.name.
                type: str
              route_map:
                description:
                - Route map of VRF leaking. Source router.route-map.name.
                type: str
              vrf:
                description:
                - Target VRF ID (0 - 63).
                type: str
            type: list
          rd:
            description:
            - 'Route Distinguisher: AA|AA:NN.'
            type: str
          role:
            choices:
            - standalone
            - ce
            - pe
            description:
            - VRF role.
            type: str
          vrf:
            description:
            - Origin VRF ID (0 - 63).
            type: str
        type: list
      vrf6:
        description:
        - BGP IPv6 VRF leaking table.
        elements: dict
        suboptions:
          leak_target:
            description:
            - Target VRF table.
            elements: dict
            suboptions:
              interface:
                description:
                - Interface which is used to leak routes to target VRF. Source system.interface.name.
                type: str
              route_map:
                description:
                - Route map of VRF leaking. Source router.route-map.name.
                type: str
              vrf:
                description:
                - Target VRF ID (0 - 63).
                type: str
            type: list
          vrf:
            description:
            - Origin VRF ID (0 - 63).
            type: str
        type: list
      vrf_leak:
        description:
        - BGP VRF leaking table.
        elements: dict
        suboptions:
          target:
            description:
            - Target VRF table.
            elements: dict
            suboptions:
              interface:
                description:
                - Interface which is used to leak routes to target VRF. Source system.interface.name.
                type: str
              route_map:
                description:
                - Route map of VRF leaking. Source router.route-map.name.
                type: str
              vrf:
                description:
                - Target VRF ID (0 - 31).
                type: str
            type: list
          vrf:
            description:
            - Origin VRF ID (0 - 31).
            type: str
        type: list
      vrf_leak6:
        description:
        - BGP IPv6 VRF leaking table.
        elements: dict
        suboptions:
          target:
            description:
            - Target VRF table.
            elements: dict
            suboptions:
              interface:
                description:
                - Interface which is used to leak routes to target VRF. Source system.interface.name.
                type: str
              route_map:
                description:
                - Route map of VRF leaking. Source router.route-map.name.
                type: str
              vrf:
                description:
                - Target VRF ID (0 - 31).
                type: str
            type: list
          vrf:
            description:
            - Origin VRF ID (0 - 31).
            type: str
        type: list
    type: dict

member_path:
    description:
    - Member attribute path to operate on.
    - Delimited by a slash character if there are more than one attribute.
    - Parameter marked with member_path is legitimate for doing member operation.
    type: str

access_token:
    description:
    - Token-based authentication. Generated from GUI of Fortigate.
    required: false
    type: str

member_state:
    choices:
    - present
    - absent
    description:
    - Add or delete a member under specified attribute path.
    - When member_state is specified, the state option is ignored.
    type: str

Outputs

build:
  description: Build number of the fortigate image
  returned: always
  sample: '1547'
  type: str
http_method:
  description: Last method used to provision the content into FortiGate
  returned: always
  sample: PUT
  type: str
http_status:
  description: Last result given by FortiGate on last operation applied
  returned: always
  sample: '200'
  type: str
mkey:
  description: Master key (id) used in the last call to FortiGate
  returned: success
  sample: id
  type: str
name:
  description: Name of the table used to fulfill the request
  returned: always
  sample: urlfilter
  type: str
path:
  description: Path of the table used to fulfill the request
  returned: always
  sample: webfilter
  type: str
revision:
  description: Internal revision number
  returned: always
  sample: 17.0.2.10658
  type: str
serial:
  description: Serial number of the unit
  returned: always
  sample: FGVMEVYYQT3AB5352
  type: str
status:
  description: Indication of the operation's result
  returned: always
  sample: success
  type: str
vdom:
  description: Virtual domain used
  returned: always
  sample: root
  type: str
version:
  description: Version of the FortiGate
  returned: always
  sample: v5.6.3
  type: str