blob: 37c653b139a7febd8401c736163a75bd07ff0627 [file] [log] [blame]
Zdravko Bozakov2da76342019-10-21 09:47:35 +02001.. _BBSimAPI:
2
3BBSimAPI
4--------
5
6BBSim exposes gRPC and REST APIs for external control of the simulated OLT. The API is defined using the protocol buffer specification in `api/bbsim/bbsim.proto`.
7By default, the gRPC server is started on port 50070 and the REST server is started on port 50071. The following endpoints are currently defined:
8
9.. openapi:: ../swagger/bbsim/bbsim.swagger.json
10
11Legacy BBSimAPI
12---------------
13
14Additionally, a legacy API is available, defined in `api/legacy/bbsim.proto`. This API is deprecated and will be removed once BBSim reaches feature parity with the legacz version.
15By default, the legacy gRPC server is started on port 50072 and the corresponding REST server is started on port 50073. The following endpoints are currently defined:
16
17.. openapi:: ../swagger/legacy/bbsim.swagger.json