This URL gets the NTBA integration configuration.
Resource URL
GET sensor/<sensor_id>/ntbaintegration
Request Parameters
URL Parameter
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Sensor Id | Number | Yes |
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned.
Field Name | Description | Data Type |
|---|---|---|
| Exporting data | Object |
Details of flow exporting data:
Field Name | Description | Data Type |
|---|---|---|
| NTBA Integration | String |
| NTBA name | String |
| Destination IP | String |
| Destination UDP port | Number |
| Flow source | Object |
| Monitoring ports | Object list |
Details of portUsedToExportTraffic:
Field Name | Description | Data Type |
|---|---|---|
| Designated port for NTBA | String |
| IP address for port | String |
| network mask | String |
| default gateway | String |
| VLAN Id | Number |
Details of monitoring ports:
Field Name | Description | Data Type |
|---|---|---|
| Port name | String |
| NTBA direction for port | String |
Example
Request
GET https://<NSM_IP>/sdkapi/sensor/0/ntbaintegration
Response
{
"exportingData":
{
"ntbaIntegration":"ENABLED_EXPORTING_ONLY",
"destinationNTBA":"ntba-nsmapi",
"destinationIPAddr":"1.1.1.8",
"destinationUDPPort":9996
"portUsedToExportTraffic":
{
"designatedPort":"8A",
"portIPAddr":"1.1.1.11",
"networkMask":"255.255.255.0",
"defaultGateway":"1.1.1.8",
"VLANId":0
},
"monitoringPorts":
[
{
"port":"8A",
"portNTBADirection":"INTERNAL"
}
]
}
}
}
Error Information
Following error codes are returned by this URL:
S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 400 | 1106 | Invalid Sensor Id |