Dell W-Series 304 Instant 6.5.1.0-4.3.1.0 User Guide - Page 296

Integration with Instant, Configuring a W-IAP for XML API integration, Creating an XML API Request

Page 296 highlights

Integration with Instant The XML API interface allows you to send specific XML commands to a W-IAP from an external server. These XML commands can be used to customize W-IAP client entries. You can use the XML API interface to add, delete, authenticate, query, or blacklist a user or a client. The user authentication is supported only for users authenticated by captive portal authentication and not for the dot1x-authentication users. The user add operation performed by the XML API interface is only used to modify the role of an existing user and not to create a new user. You can now use HTTP or HTTPS to post commands to W-IAP. The communication process using the XML API Interface is as follows: l An API command is issued in XML format from the server to the VC. l The VC processes the XML request and identifies where the client is and sends the command to the correct slave W-IAP. l Once the operation is completed, VC sends the XML response to the XML server. l Users can use the response and take appropriate action to suit their requirements. The response from the VC is returned using the predefined formats. Configuring a W-IAP for XML API integration You can configure a W-IAP for XML API integration by using the Instant UI or the CLI. W-IAP supports the configuration of up to 8 XML API server entries. In the Instant UI Enabling XML API server entries: 1. Click More > Services. 2. Click Network Integration. The XML API Server configuration parameters are displayed. 3. Enter a name for the XML API Server in the Name text box. 4. Enter the subnet of the XML API Server in the Subnet text box. 5. Enter the subnet mask of the XML API Server in the Mask text box. 6. Enter a passcode in the Passphrase text box, to enable authorized access to the XML API Server. 7. Re-enter the passcode in the Retype box. 8. To add multiple entries, repeat the procedure. 9. Click OK. 10.To edit or delete the server entries, use the Edit and Delete buttons, respectively. In the CLI To enable XML API integration with the W-IAP: (Instant AP)(config)# xml-api-server (Instant AP)(xml-api-server )# ip [mask ] (Instant AP)(xml-api-server)# key (Instant AP)(xml-api-server)# end (Instant AP)# commit apply Creating an XML API Request You can now create an XML request with an appropriate authentication command and send it to the VC through HTTPS post. The format of the URL to send the XML request is: 296 | Services Dell Networking W-Series Instant 6.5.1.0-4.3.1.0 | User Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309
  • 310
  • 311
  • 312
  • 313
  • 314
  • 315
  • 316
  • 317
  • 318
  • 319
  • 320
  • 321
  • 322
  • 323
  • 324
  • 325
  • 326
  • 327
  • 328
  • 329
  • 330
  • 331
  • 332
  • 333
  • 334
  • 335
  • 336
  • 337
  • 338
  • 339
  • 340
  • 341
  • 342
  • 343
  • 344
  • 345
  • 346
  • 347
  • 348
  • 349
  • 350
  • 351
  • 352
  • 353
  • 354
  • 355
  • 356
  • 357
  • 358
  • 359
  • 360
  • 361
  • 362
  • 363
  • 364
  • 365
  • 366
  • 367
  • 368
  • 369
  • 370
  • 371
  • 372
  • 373
  • 374
  • 375
  • 376
  • 377
  • 378
  • 379
  • 380
  • 381
  • 382
  • 383
  • 384
  • 385
  • 386
  • 387
  • 388
  • 389
  • 390
  • 391
  • 392
  • 393
  • 394
  • 395
  • 396
  • 397
  • 398
  • 399
  • 400
  • 401
  • 402
  • 403
  • 404
  • 405
  • 406
  • 407
  • 408
  • 409
  • 410
  • 411
  • 412
  • 413
  • 414
  • 415
  • 416
  • 417
  • 418
  • 419
  • 420
  • 421
  • 422
  • 423
  • 424
  • 425
  • 426
  • 427
  • 428
  • 429
  • 430
  • 431
  • 432
  • 433
  • 434
  • 435

296
| Services
Dell Networking W-Series Instant 6.5.1.0-4.3.1.0 | User Guide
Integration with Instant
The XML API interface allows you to send specific XML commands to a W-IAP from an external server. These
XML commands can be used to customize W-IAP client entries. You can use the XML API interface to add,
delete, authenticate, query, or blacklist a user or a client.
The user authentication is supported only for users authenticated by captive portal authentication and not
for the dot1x-authentication users.
The user add operation performed by the XML API interface is only used to modify the role of an existing user
and not to create a new user.
You can now use HTTP or HTTPS to post commands to W-IAP. The communication process using the
XML API Interface is as follows:
l
An API command is issued in XML format from the server to the VC.
l
The VC processes the XML request and identifies where the client is and sends the command to the correct
slave W-IAP.
l
Once the operation is completed, VC sends the XML response to the XML server.
l
Users can use the response and take appropriate action to suit their requirements. The response from the
VC is returned using the predefined formats.
Configuring a W-IAP for XML API integration
You can configure a W-IAP for XML API integration by using the Instant UI or the CLI. W-IAP supports the
configuration of up to 8 XML API server entries.
In the Instant UI
Enabling XML API server entries:
1. Click
More > Services
.
2. Click
Network Integration
. The XML API Server configuration parameters are displayed.
3. Enter a name for the XML API Server in the
Name
text box.
4. Enter the subnet of the XML API Server in the
Subnet
text box.
5. Enter the subnet mask of the XML API Server in the
Mask
text box.
6. Enter a passcode in the
Passphrase
text box, to enable authorized access to the XML API Server.
7. Re-enter the passcode in the
Retype
box.
8. To add multiple entries, repeat the procedure.
9. Click
OK
.
10.To edit or delete the server entries, use the
Edit
and
Delete
buttons, respectively.
In the CLI
To enable XML API integration with the W-IAP:
(Instant AP)(config)# xml-api-server <xml_api_server_profile>
(Instant AP)(xml-api-server <profile-name>)# ip <subnet> [mask <mask>]
(Instant AP)(xml-api-server)# key <key>
(Instant AP)(xml-api-server)# end
(Instant AP)# commit apply
Creating an XML API Request
You can now create an XML request with an appropriate authentication command and send it to the VC
through HTTPS post. The format of the URL to send the XML request is: