Extreme API with Python

Table Of Contents
Extreme API with Python
Page | 88
Part no.9036931-00 Rev AA February 2021
XMC User: NetSight Server
XMC User Domain:
IP: 192.168.56.121
You received an alarm that device IP Campus_08:00:27:35:2A:E4, with the IP
192.168.56.121 is SNMP Contact Lost: No SNMP reply from device 192.168.56.121
caused by SNMP Error: Timeout[4098], last uptime was 0 Days 00:02:56.
5.2.7 Workflow Example
In this example, you will create a new workflow, using different resources for illustration. You will
retrieve data from a web server and use it in a script.
To see a list of blocked IP addresses, go to this link:
HTTPS://iplists.firehol.org/files/firehol_level1.netset
You will use this for your workflow, using the HTTP Activity. You must do a GET on this URL.
To use the content returned by this URL, in the script following the HTTP activity, define a new variable
and set the “Variable Reference” field to the output of the ID of the HTTP Activity.
Note: This ID can be found in the General tab of an activity, in is the “custom ID” field.
Limit the scope of the new variable to the activity since you will not be using it elsewhere.