devices_switch_routing_static_routes
Execute a reviewed Meraki Dashboard API action on the controller
Collection: cisco.meraki
Full Name: cisco.meraki.devices_switch_routing_static_routes
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Execute a reviewed Meraki Dashboard API action on the controller
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| meraki_api_key | str | yes | ||
| meraki_base_url | str | https://api.meraki.com/api/v1 | ||
| meraki_single_request_timeout | int | 60 | ||
| meraki_certificate_path | str | |||
| meraki_requests_proxy | str | |||
| meraki_wait_on_rate_limit | bool | true | ||
| meraki_nginx_429_retry_wait_time | int | 60 | ||
| meraki_action_batch_retry_wait_time | int | 60 | ||
| meraki_retry_4xx_error | bool | false | ||
| meraki_retry_4xx_error_wait_time | int | 60 | ||
| meraki_maximum_retries | int | 2 | ||
| meraki_output_log | bool | true | ||
| meraki_log_path | str | |||
| meraki_log_file_prefix | str | meraki_api_ | ||
| meraki_print_console | bool | true | ||
| meraki_suppress_logging | bool | true | ||
| meraki_simulate | bool | false | ||
| meraki_be_geo_id | str | |||
| meraki_use_iterator_for_get_pages | bool | false | ||
| meraki_inherit_logging_config | bool | false | ||
| state | str | present | ||
| name | str | |||
| subnet | str | |||
| nextHopIp | str | |||
| advertiseViaOspfEnabled | bool | |||
| preferOverOspfRoutesEnabled | bool | |||
| vrf | dict | |||
| serial | str | |||
| staticRouteId | str | |||
| managementNextHop | str |
Example
yaml
- name: Run Meraki controller action
cisco.meraki.devices_switch_routing_static_routes:
meraki_api_key: '{{ meraki_key }}'
meraki_suppress_logging: true
name: 'example'
subnet: 'example'
nextHopIp: 'example'
advertiseViaOspfEnabled: false
preferOverOspfRoutesEnabled: false
vrf: {}
serial: 'example'
staticRouteId: 'example'
managementNextHop: 'example'