1.3. Connection

Thrift network stack

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:

  1. On the OpenScape Management Portal go to Topology/OSX Clients

  2. Find the turret you wish to enable the API for

  3. Clicking on the Node Address will open a dialog

  4. Go to the Interfaces tab

  5. In the Thrift-based API part check the Enable API checkbox. If you want to use encryption check the Use TLS checkbox as well (Encrypted Communication)

For multiple turrets you can use the Bulk Edit... feature.