mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 22:36:52 +00:00
2.2 KiB
2.2 KiB
AgentToAgentProperties
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| direction | TestDirection | [optional] | |
| dscp | str | DSCP label. | [optional] [readonly] |
| dscp_id | TestDscpId | [optional] | |
| mss | int | Maximum segment size, in bytes. | [optional] |
| num_path_traces | int | Number of path traces executed by the agent. | [optional] [default to 3] |
| path_trace_mode | TestPathTraceMode | [optional] | |
| port | int | Target port. | [optional] [default to 49153] |
| protocol | AgentToAgentTestProtocol | [optional] | |
| target_agent_id | str | `agentId` of the target agent for the test. | |
| throughput_measurements | bool | Enable or disable throughput measurements. Throughput measurements cannot be enabled when the source or target of the test is a cloud agent. | [optional] [default to False] |
| throughput_duration | int | The throughput duration. | [optional] [default to 10000] |
| throughput_rate | int | The throughput rate, only applicable for UDP protocol. | [optional] |
| fixed_packet_rate | int | Sets packets rate sent to measure the network in packets per second. | [optional] |
| type | str | [optional] [readonly] |
Example
from thousandeyes_sdk.tests.models.agent_to_agent_properties import AgentToAgentProperties
# TODO update the JSON string below
json = "{}"
# create an instance of AgentToAgentProperties from a JSON string
agent_to_agent_properties_instance = AgentToAgentProperties.from_json(json)
# print the JSON string representation of the object
print(AgentToAgentProperties.to_json())
# convert the object into a dict
agent_to_agent_properties_dict = agent_to_agent_properties_instance.to_dict()
# create an instance of AgentToAgentProperties from a dict
agent_to_agent_properties_from_dict = AgentToAgentProperties.from_dict(agent_to_agent_properties_dict)