Extreme API with Python

Table Of Contents
5.2.5 Add User Inputs ................................................................................................................... 81
5.2.6 Automate Workflow Execution ........................................................................................... 83
5.2.7 Workflow Example .............................................................................................................. 88
5.3 NorthBound Interface API ........................................................................................................... 93
5.3.1 emc_nbi ............................................................................................................................... 94
5.3.2 GraphQL Query ................................................................................................................... 94
5.3.3 GraphQL Mutation ............................................................................................................ 100
5.3.4 RBAC for API Usage ........................................................................................................... 102
5.3.5 External Access to the NBI API .......................................................................................... 103
5.3.6 Use NBI to Execute a Workflow ........................................................................................ 106
5.4 Axis API ...................................................................................................................................... 109
5.4.1 Analytics Methods............................................................................................................. 109
5.4.2 Analytics API with Python ................................................................................................. 113
6 ExtremeCloud IQ API ..................................................................116
6.1 Connect to the xAPI .................................................................................................................. 116
6.1.1 Create Tokens ................................................................................................................... 116
6.1.2 Headers for the xAPI ......................................................................................................... 119
6.1.3 xAPI Endpoints .................................................................................................................. 119
6.1.4 Parameters ........................................................................................................................ 121
6.2 Use Python with XIQ ................................................................................................................. 123
6.2.1 Use GET ............................................................................................................................. 123
6.2.2 Use POST ........................................................................................................................... 125
6.2.3 Use Webhooks .................................................................................................................. 128
7 Extreme Campus Controller API .................................................134
7.1 Set Up Authorization ................................................................................................................. 134
7.2 Use GET method ....................................................................................................................... 136
7.3 Use POST ................................................................................................................................... 139
7.4 Use PUT ..................................................................................................................................... 141
7.5 Use DELETE ................................................................................................................................ 143