uspAgentPath

Value Type

word

Default Value

/agent-path

Description

This parameter specifies the MTP-specific resource used by the USP Agent to receive USP records. The value of this testvar should be derived from the value of the uspControllerMTP testvar as follows:

  • If MTP is websocket, uspAgentPath should be set to the value of the “path-abempty” component in the http/https URI or the “path” component in the ws/wss URI used by the USP Agent to receive USP records. For example, if the USP Agent’s http URI is http://6.0.0.2:80/path/to/agent, then uspAgentPath should be set to /path/to/agent. See [RFC 7230] Sections 2.7.1 and 2.7.2 for details on the “path-abempty” component of http/https URI’s and [RFC 6455] Section 3 for details on the “path” component of ws/wss URI’s.

  • If MTP is stomp, uspAgentPath should be the value of the “destination” header in SUBSCRIBE messages sent by the USP Agent in order to receive USP records. For example, if the STOMP destination used by the USP Agent is /path/to/agent, then uspAgentPath should be set to /path/to/agent. See the STOMP Protocol Specification, version 1.2 for details on STOMP subscriptions and destinations.

  • If MTP is mqtt or mqttv3, uspAgentPath should be the topic name to which the USP Agent subscribes to upon connecting to the MQTT server. For example if the USP Agent sends a subscribe for the Topic Name /agent/path the uspAgentPath testvar should be set to /agent/path. See the MQTT, version 5.0 for details on MQTT subscriptions and topic names.

This testvar was added in CDRouter 11.0