fmgd_router_multicast_pimsmglobal – PIM sparse-mode global settings.
Added in version 1.0.0.
Synopsis
This module is able to configure a FortiManager device.
Examples include all parameters and values need to be adjusted to data sources before usage.
Tested with FortiManager v7.x.
Requirements
The below requirements are needed on the host that executes this module.
ansible-core>=2.16.0
FortiManager Version Compatibility
Supported Version Ranges: v7.2.6 -> v7.2.12, v7.4.3 -> latest
Parameters
- access_token -The token to access FortiManager without using username and password. type: str required: false
- bypass_validation - Only set to True when module schema diffs with FortiManager API structure, module continues to execute without validating parameters. type: bool required: false default: False
- enable_log - Enable/Disable logging for task. type: bool required: false default: False
- forticloud_access_token - Access token of forticloud managed API users, this option is available with FortiManager later than 6.4.0. type: str required: false
- proposed_method - The overridden method for the underlying Json RPC request. type: str required: false choices: set, update, add
- rc_succeeded - The rc codes list with which the conditions to succeed will be overriden. type: list required: false
- rc_failed - The rc codes list with which the conditions to fail will be overriden. type: list required: false
- workspace_locking_adom - Acquire the workspace lock if FortiManager is running in workspace mode. type: str required: false choices: global, custom adom including root
- workspace_locking_timeout - The maximum time in seconds to wait for other users to release workspace lock. type: integer required: false default: 300
- device - The parameter in requested url type: str required: true
- vdom - The parameter in requested url type: str required: true
- router_multicast_pimsmglobal - PIM sparse-mode global settings. type: dict
- accept_register_list (Alias name: accept-register-list) Sources allowed to register packets with this rendezvous point (rp). type: list more...
- accept_source_list (Alias name: accept-source-list) Sources allowed to send multicast traffic. type: list more...
- bsr_allow_quick_refresh (Alias name: bsr-allow-quick-refresh) Enable/disable accept bsr quick refresh packets from neighbors. type: str choices: [disable, enable] more...
- bsr_candidate (Alias name: bsr-candidate) Enable/disable allowing this router to become a bootstrap router (bsr). type: str choices: [disable, enable] more...
- bsr_hash (Alias name: bsr-hash) Bsr hash length (0 - 32, default = 10). type: int more...
- bsr_interface (Alias name: bsr-interface) Interface to advertise as candidate bsr. type: list more...
- bsr_priority (Alias name: bsr-priority) Bsr priority (0 - 255, default = 0). type: int more...
- cisco_crp_prefix (Alias name: cisco-crp-prefix) Enable/disable making candidate rp compatible with old cisco ios. type: str choices: [disable, enable] more...
- cisco_ignore_rp_set_priority (Alias name: cisco-ignore-rp-set-priority) Use only hash for rp selection (compatibility with old cisco ios). type: str choices: [disable, enable] more...
- cisco_register_checksum (Alias name: cisco-register-checksum) Checksum entire register packet(for old cisco ios compatibility). type: str choices: [disable, enable] more...
- cisco_register_checksum_group (Alias name: cisco-register-checksum-group) Cisco register checksum only these groups. type: list more...
- join_prune_holdtime (Alias name: join-prune-holdtime) Join/prune holdtime (1 - 65535, default = 210). type: int more...
- message_interval (Alias name: message-interval) Period of time between sending periodic pim join/prune messages in seconds (1 - 65535, default = 60). type: int more...
- null_register_retries (Alias name: null-register-retries) Maximum retries of null register (1 - 20, default = 1). type: int more...
- pim_use_sdwan (Alias name: pim-use-sdwan) Enable/disable use of sdwan when checking rpf neighbor and sending of reg packet. type: str choices: [disable, enable] more...
- register_rate_limit (Alias name: register-rate-limit) Limit of packets/sec per source registered through this rp (0 - 65535, default = 0 which means unlimited). type: int more...
- register_rp_reachability (Alias name: register-rp-reachability) Enable/disable check rp is reachable before registering packets. type: str choices: [disable, enable] more...
- register_source (Alias name: register-source) Override source address in register packets. type: str choices: [disable, ip-address, interface] more...
- register_source_interface (Alias name: register-source-interface) Override with primary interface address. type: list more...
- register_source_ip (Alias name: register-source-ip) Override with local ip address. type: str more...
- register_supression (Alias name: register-supression) Period of time to honor register-stop message (1 - 65535 sec, default = 60). type: int more...
- rp_address (Alias name: rp-address) Rp address. type: list more...
- rp_register_keepalive (Alias name: rp-register-keepalive) Timeout for rp receiving data on (s,g) tree (1 - 65535 sec, default = 185). type: int more...
- spt_threshold (Alias name: spt-threshold) Enable/disable switching to source specific trees. type: str choices: [disable, enable] more...
- spt_threshold_group (Alias name: spt-threshold-group) Groups allowed to switch to source tree. type: list more...
- ssm Enable/disable source specific multicast. type: str choices: [disable, enable] more...
- ssm_range (Alias name: ssm-range) Groups allowed to source specific multicast. type: list more...
Notes
Note
Running in workspace locking mode is supported in this FortiManager module, the top level parameters workspace_locking_adom and workspace_locking_timeout help do the work.
To create or update an object, use state: present directive.
To delete an object, use state: absent directive
Normally, running one module can fail when a non-zero rc is returned. you can also override the conditions to fail or succeed with parameters rc_failed and rc_succeeded
Examples
- name: Example playbook (generated based on argument schema)
hosts: fortimanagers
connection: httpapi
gather_facts: false
vars:
ansible_httpapi_use_ssl: true
ansible_httpapi_validate_certs: false
ansible_httpapi_port: 443
tasks:
- name: PIM sparse-mode global settings.
fortinet.fmgdevice.fmgd_router_multicast_pimsmglobal:
# bypass_validation: false
# workspace_locking_adom: <global or your adom name>
# workspace_locking_timeout: 300
# rc_succeeded: [0, -2, -3, ...]
# rc_failed: [-2, -3, ...]
device: <your own value>
vdom: <your own value>
router_multicast_pimsmglobal:
# accept_register_list: <list or string>
# accept_source_list: <list or string>
# bsr_allow_quick_refresh: <value in [disable, enable]>
# bsr_candidate: <value in [disable, enable]>
# bsr_hash: <integer>
# bsr_interface: <list or string>
# bsr_priority: <integer>
# cisco_crp_prefix: <value in [disable, enable]>
# cisco_ignore_rp_set_priority: <value in [disable, enable]>
# cisco_register_checksum: <value in [disable, enable]>
# cisco_register_checksum_group: <list or string>
# join_prune_holdtime: <integer>
# message_interval: <integer>
# null_register_retries: <integer>
# pim_use_sdwan: <value in [disable, enable]>
# register_rate_limit: <integer>
# register_rp_reachability: <value in [disable, enable]>
# register_source: <value in [disable, ip-address, interface]>
# register_source_interface: <list or string>
# register_source_ip: <string>
# register_supression: <integer>
# rp_address:
# - group: <list or string>
# id: <integer>
# ip_address: <string>
# rp_register_keepalive: <integer>
# spt_threshold: <value in [disable, enable]>
# spt_threshold_group: <list or string>
# ssm: <value in [disable, enable]>
# ssm_range: <list or string>
Return Values
Common return values are documented: https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values, the following are the fields unique to this module:
- meta - The result of the request.returned: always type: dict
- request_url - The full url requested. returned: always type: str sample: /sys/login/user
- response_code - The status of api request. returned: always type: int sample: 0
- response_data - The data body of the api response. returned: optional type: list or dict
- response_message - The descriptive message of the api response. returned: always type: str sample: OK
- system_information - The information of the target system. returned: always type: dict
- rc - The status the request. returned: always type: int sample: 0
- version_check_warning - Warning if the parameters used in the playbook are not supported by the current FortiManager version. returned: if at least one parameter not supported by the current FortiManager version type: list
Status
This module is not guaranteed to have a backwards compatible interface.