Руководство Разработчика для Cisco Cisco Virtual Topology System 2.0

Скачать
Страница из 102
VTS 2.0 Developer Guide 
 
 
28 
4.10.2.3 Payload example 

  “name”: “my-first-route-reflector” 

 
4.11  Global Settings 
The following APIs are used to do CRUD operations on global settings. 
4.11.1  Anycast Gateway Address 
 
The following APIs are used to perform CRUD operations on the common MAC 
address for all L2 Gateway devices on the Infrastructure Policy hierarchy. 
4.11.1.1 URIs 
  https://host:8888/api/running/cisco-vts/global-settings/anycast-gateway/ 
anycast-gw-address 
4.11.1.2 Payload fields 
Field 
Data Type 
Description 
anycast-gw-address 
MAC address e.g.: 
AA:BB:CC:DD:EE:FF 
Common MAC address 
for all L2 Gateway 
devices 
4.11.1.3 Payload example 
{  
  “anycast-gw-address”: “00:11:22:33:44:55”; 

 
 
4.12  Vcenter VTS Plugin API 
 
Current VTS-VCenter plugin supports network provisioning operations through VCenter GUI 
extensions.  
NOTE: The user has to log into vSphere WebClient and enter NCS credentials on the VTS 
plugin, before any of the rest calls are made.  
 
 
Base URI:  
https://<vCenterIP>:9443/eventMonitorDaemon/EventMonitorWebService
 
Headers 
1.)  Create/POST – Content-type – “application/json” 
2.)  Delete – Content-type – “text/plain”