
Line Test API v2.1 minor release with new Hyperfibre and RGW with Wi-Fi fields
What's happening
We launched Line Test API v2 on 29 January 2020, this included Enhanced ONT information. With the imminent full release of Hyperfibre and early launch of RGW with Wi-Fi we are adding more fields to ensure you are equipped to Assure these products on your systems. Line Test API V2.1 will release October 9, 2020.
If you are currently using v1 or v2 then it should only require a few small changes to adapt to v2.1 for the same functionality.
Migrating from Line Test API v1.0 to v2.0
Enhanced ONT changes in first release of Line test API v2.0. Apart from different end points between Line Test API v1 and v2, there are very small payload changes as noted in the table below:
Line Test API V1 payload
"ont": {
"id": "NPE-POLT05:1-1-4-8-3",
"ports": "4",
"tlc": "101593704",
"type": "4+2 Standard",
"ontSerialNumber": "ALCL45781245"
}
Line Test API V2 payload
"ont": {
"id": "NPE-POLT05:1-1-4-8-3",
"ports": "4",
"ataPorts": "1",
"mode": "Standard"
"model": "G-140W-C",
"tlc": "101593704",
"type": "Type 300",
"ontSerialNumber": "ALCLB30F63A1"
}
Note:
- Above text is the only part of the payload that's changing in v2.0, rest of the payload remains the same
- Possible values for ports can be 1 or 4 (in v1, it used to be hardcoded to 4 at all times)
- Possible values for ataPorts can be 1 or 2
- Possible values for model can be G-140W-C, G-240G-P, I-240G-R, G-010S-P or G-010S-A
- Possible values for type can be Type 100, Type 200, Type 300 or SFP
B. Migrating from Line Test API v2.0 to v2.1
- Additional Fields and values
- Ont object:
|
|
|
|
Note:
- Possible values for xgsPorts can be 0 or 1
- wifiPorts are the count of Wi-Fi SSIDs on the ONT, possible/maximum number can be 0 or 2
- dataServices object:
|
|
Note:
- The type of data service. Type 'RGW' instead of UNI if the ONT is working in RGW Mode
- allocatedPorts:
|
|
|
|
Note:
- This in an array that consists of port types and assigned port number (aka port ID) in an ONT
- The port type identifies the type of port being consumed - supported values are 1G, 10G, ATA & Wi-Fi
The port ID on the ONT identifies the resource ID of the above port type within the ONT – supported values are any integer
- Updated Fields and values
- Ont object:
|
|
|
|
|
|
Note:
- New possible value for model can be XS-250WX-A when it’s a Hyperfibre ONT
- New possible value for type can be Type 10G 400 when it’s a Hyperfibre ONT
- New possible value for mode can be ‘RGW’ when the ONT works in RGW mode
Next steps
Please contact API@Chorus.co.nz for any support, questions or queries on APIs.