beautypg.com

Network advisor uris, Protocol support, Default https port (443) – Brocade Network Advisor REST API Guide (Supporting Network Advisor 12.3.0) User Manual

Page 16: Non-default https port, Default https port (443) non-default https port

background image

2

Brocade Network Advisor REST API Guide

53-1003160-01

Network Advisor URIs

1

Network Advisor URIs

Network Advisor URIs consists of two parts:

Base URI: The base URI is specific to the Network Advisor server. All URIs accessing the same
server use the same base URI.

Request URI: The request URI is the URI that you use to perform a GET or POST request. This
part of the URI is the same across all Network Advisor servers.

The following are examples of Network Advisor URIs (the text in bold is the base URI part and the
rest is the request part).

POST URI examples:

http://10.24.48.103/rest/fcfabrics/10:00:00:05:1E:90:52:07/createzoningobject

http://10.24.48.103/rest/fcfabrics/10:00:00:05:1E:90:52:07/deletezoningobject

http://10.24.48.103/rest/fcfabrics/10:00:00:05:1E:90:52:07/updatezoningobject

http://10.24.48.103/rest/fcfabrics/10:00:00:05:1E:90:52:07/activatezoneset

GET URI examples:

http://10.24.48.103/rest/resourcegroups

http://10.24.48.103/rest/fcfabrics

NOTE

URIs are case-sensitive.

Protocol support

The Network Advisor REST API supports HTTP and HTTPS, unlike Network Advisor which only
supports HTTPS.

All REST HTTP requests are redirected to the HTTPS port. By default, the HTTPS port number is
443. However, this port can be changed during the installation of Network Advisor or after
installation through the server management console.

Default HTTPS port (443)

If the HTTPS port is 443 (default), you can use the HTTP and HTTPS protocols as show in the
following two example URIs. In the HTTP case, the request is redirected to HTTPS.

http:///rest/resourcegroups

https:///rest/resourcegroups

Non-Default HTTPS port

If the HTTPS port is changed to a non-default value, the REST URI must specify HTTPS as the
protocol and must also specify the port number to send the requests to, as shown in the following
example. If not, Network Advisor refuses connection requests.

https://:/rest/resourcegroups