Toggle interface state using Tags

POST https://{{crosswork_ip}}:30603/crosswork/nca/v1/mopjobs

Use this API Call to toggle the state on group of devices that are tagged with the same tag.

Request Body

{"mop_id"=>"router_op_interface_xe", "check_start_time"=>1579307509, "exec_start_time"=>1579307509, "wae_threshold"=>"90", "name"=>"at112", "tags"=>["at"], "device_group"=>"xerouters", "execution_params"=>{"admin_state"=>"up", "if_names"=>["GigabitEthernet2"], "provider"=>"Nso", "mop_timeout"=>"1h"}, "execution_policy"=>{"execution_strategy"=>"STRATEGY_CONTINUOUS", "on_failure"=>"ON_FAILURE_ABORT", "collect_syslog"=>false}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring