1.3. Connection¶
In order to interact with the Turret API we communicate using fixed transport and protocol type. Namely TFramedTransport and TBinaryProtocol.
osxpert.thrift for C++ takes care of this detail. It is important to note that with different languages these types should be used when communicating with the turret.
1.3.1. Enabling API in OpenScape Xpert Management Portal¶
For the turret to start a thrift server so that it can accept connections, the API must be enabled in SM first. To do this for a single turret:
On the OpenScape Management Portal go to
Topology/OSX ClientsFind the turret you wish to enable the API for
Clicking on the
Node Addresswill open a dialogGo to the
InterfacestabIn the
Thrift-based APIpart check theEnable APIcheckbox. If you want to use encryption check theUse TLScheckbox as well (Encrypted Communication)
For multiple turrets you can use the Bulk Edit... feature.