This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathnsx-api-reference.txt
37 lines (30 loc) · 1.83 KB
/
nsx-api-reference.txt
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
====================================================
NSX Manager
====================================================
Global Information = GET https://<nsxmgr-ip>/api/1.0/appliance-management/global/info
System Network = GET https://<nsxmgr-ip>/api/1.0/appliance-management/system/network
Syslog = GET https://<nsxmgr-ip>/api/1.0/appliance-management/system/syslogserver
Backup = GET https://<nsxmgr-ip>/api/1.0/appliance-management/backuprestore/backupsetting
Available Backups = GET https://<nsxmgr-ip>/api/1.0/appliance-management/backuprestore/backup
====================================================
Controllers, VXLAN, Segments, Transport, etc.
====================================================
Controllers = GET https://<nsxmgr-ip>/api/2.0/vdn/controller
Segment IDs = GET https://<vsm-ip>/api/2.0/vdn/config/segments
Network Scopes = GET https://<vsm-ip>/api/2.0/vdn/scopes
====================================================
Logical Switches
====================================================
Query VDS = GET https://<vsm-ip>/api/2.0/vdn/switches
Query VDS on a Network Scope = GET https://<vsm-ip>/api/2.0/vdn/scopes/scopeID/virtualwires
Query all Logical Switches = GET https://<vsm-ip>/api/2.0/vdn/virtualwires
Create a Logical Switch = POST https://<vsm-ip>/api/2.0/vdn/scopes/scopeID/virtualwires
====================================================
NSX Edges
====================================================
All Edge Devices = GET https://<nsxmgr-ip>/api/4.0/edges
Management Interface = GET https://<nsxmgr-ip>/api/4.0/edges/{edgeid}/mgmtinterface
Other Interfaces = GET https://<nsxmgr-ip>/api/4.0/edges/{edgeid}/interfaces
Routes = GET https://<nsxmgr-ip>/api/4.0/edges/<edgeId>/routing/config
OSPF config = GET https://<nsxmgr-ip>/api/4.0/edges/<edgeId>/routing/config/ospf
Create an Edge = POST https://<nsxmgr-ip>/api/4.0/edges