Lab Services — Topology
4 min
get_topology
sync(client: AuthenticatedClient | Client, apiversion: str | Unset = UNSET) -> list[NetworkNodeResponse] | NoneParameter | Type | Default |
|---|---|---|
client | AuthenticatedClient | Client | required |
apiversion | str | Unset | UNSET |
Returns: list[NetworkNodeResponse] | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |
patch_topology
sync(client: AuthenticatedClient | Client, body: list[UpdateParentRequest] | Unset = UNSET, apiversion: str | Unset = UNSET) -> list[NetworkNodeResponse] | NoneParameter | Type | Default |
|---|---|---|
client | AuthenticatedClient | Client | required |
body | list[UpdateParentRequest] | Unset | UNSET |
apiversion | str | Unset | UNSET |
Returns: list[NetworkNodeResponse] | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |