Management Plane API > Security > Services > Service Insertion

Resolve 'source node id' value to source entities.

Service insertion data path inserts unique 'source node id' value
into each packet. This API can be used to identify the source of the packet
using this value. It can be resolved to multiple source entities.

Request:

Method:
GET
URI Path(s):
/api/v1/serviceinsertion/source-entities
Request Headers:
n/a
Query Parameters:
SourceEntityQueryParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/serviceinsertion/source-entities?source_node_value=00:50:56:bf:87:b8

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
SourceEntityResult+

Example Response:

{ "result_count": 2, "results": [ { "source_entity_id": "12f563af-af9f-48f3-848e-e9257c8740b0", "source_entity_type": "VIRTUAL_NETWORK_INTERFACE", }, { "source_entity_id": "35ec2c06-0051-4480-ad83-9e4d178cd3a", "source_entity_type": "VIRTUAL_MACHINE", } ] }

Required Permissions:

read

Feature:

service_insertion

Additional Errors: