Wireless Controller
WirelessController
WirelessController class.
get_organization_wireless_controller_availabilities_change_history
List connectivity data of wireless LAN controllers in an organization.
API documentation: getOrganizationWirelessControllerAvailabilitiesChangeHistory
Parameters:
-
organization_id(str) –Organization ID.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud ID. This filter uses multiple exact matches.
-
t0(str | None, default:None) –The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
-
t1(str | None, default:None) –The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
-
timespan(float | None, default:None) –The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerAvailabilitiesChangeHistoryResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"changes": [
{
"startTs": "2020-01-01T00:00:00Z",
"endTs": "null",
"status": "online"
}
]
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
get_organization_wireless_controller_clients_overview_history_by_device_by_interval
List wireless client counts of wireless LAN controllers over time in an organization.
API documentation: getOrganizationWirelessControllerClientsOverviewHistoryByDeviceByInterval
Parameters:
-
organization_id(str) –Organization ID.
-
network_ids(list[str] | None, default:None) –Optional parameter to filter wireless LAN controllers by network ID. This filter uses multiple exact matches.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud ID. This filter uses multiple exact matches.
-
t0(str | None, default:None) –The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
-
t1(str | None, default:None) –The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
-
timespan(float | None, default:None) –The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
resolution(int | None, default:None) –The time resolution in seconds for returned data. The valid resolutions are: 300, 600, 1200, 3600, 14400, 86400. The default is 86400.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerClientsOverviewHistoryByDeviceByIntervalResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"network": {
"id": "N_24329156"
},
"readings": [
{
"startTs": "2020-01-01T00:00:00Z",
"endTs": "2020-01-01T01:00:00Z",
"counts": {
"byStatus": {
"online": 1
}
}
}
]
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
get_organization_wireless_controller_connections
List all access points associated with wireless LAN controllers in an organization.
API documentation: getOrganizationWirelessControllerConnections
Parameters:
-
organization_id(str) –Organization ID.
-
network_ids(list[str] | None, default:None) –Optional parameter to filter access points by network ID. This filter uses multiple exact matches.
-
controller_serials(list[str] | None, default:None) –Optional parameter to filter access points by its controller cloud ID. This filter uses multiple exact matches.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerConnectionsResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"controller": {
"serial": "Q234-ABCD-5678"
},
"network": {
"id": "N_24329156",
"url": "https://network/url",
"name": "Network1"
}
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
get_organization_wireless_controller_devices_interfaces_l2_by_device
List wireless LAN controller layer 2 interfaces in an organization.
API documentation: getOrganizationWirelessControllerDevicesInterfacesL2ByDevice
Parameters:
-
organization_id(str) –Organization ID.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud ID. This filter uses multiple exact matches.
-
t0(str | None, default:None) –The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
-
t1(str | None, default:None) –The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
-
timespan(float | None, default:None) –The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerDevicesInterfacesL2ByDeviceResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"interfaces": [
{
"name": "TenGigabitEthernet0/0/5",
"description": "Uplink",
"enabled": true,
"mac": "b0:c5:3c:0d:c5:0b",
"status": "disabled",
"speed": "1 Gbps",
"isUplink": true,
"vlan": 10,
"isRedundancyPort": true,
"linkNegotiation": "auto",
"channelGroup": {
"number": 5
},
"module": {
"model": "C9800-2X40GE"
}
}
]
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
get_organization_wireless_controller_devices_interfaces_l2_statuses_change_history_by_device
List wireless LAN controller layer 2 interfaces history status in an organization.
API documentation: getOrganizationWirelessControllerDevicesInterfacesL2StatusesChangeHistoryByDevice
Parameters:
-
organization_id(str) –Organization ID.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud ID. This filter uses multiple exact matches.
-
include_interfaces_without_changes(bool | None, default:None) –By default, interfaces without changes are omitted from the response for brevity. If you want to include the interfaces even if they have no changes, set to true. (default: false).
-
t0(str | None, default:None) –The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
-
t1(str | None, default:None) –The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
-
timespan(float | None, default:None) –The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerDevicesInterfacesL2StatusesChangeHistoryByDeviceResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"interfaces": [
{
"name": "TenGigabitEthernet0/0/5",
"mac": "b0:c5:3c:0d:c5:0b",
"changes": [
{
"ts": "2020-01-01T00:00:00Z",
"status": "disabled",
"warnings": [
"CRC warnings"
],
"errors": [
"CRC errors"
]
}
]
}
]
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
get_organization_wireless_controller_devices_interfaces_l2_usage_history_by_interval
List wireless LAN controller layer 2 interfaces history usage in an organization.
API documentation: getOrganizationWirelessControllerDevicesInterfacesL2UsageHistoryByInterval
Parameters:
-
organization_id(str) –Organization ID.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud ID. This filter uses multiple exact matches.
-
t0(str | None, default:None) –The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
-
t1(str | None, default:None) –The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
-
timespan(float | None, default:None) –The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerDevicesInterfacesL2UsageHistoryByIntervalResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"readings": [
{
"name": "TenGigabitEthernet0/0/5",
"mac": "b0:c5:3c:0d:c5:0b",
"recv": 0,
"send": 0
}
]
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
get_organization_wireless_controller_devices_interfaces_l3_by_device
List wireless LAN controller layer 3 interfaces in an organization.
API documentation: getOrganizationWirelessControllerDevicesInterfacesL3ByDevice
Parameters:
-
organization_id(str) –Organization ID.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud ID. This filter uses multiple exact matches.
-
t0(str | None, default:None) –The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
-
t1(str | None, default:None) –The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
-
timespan(float | None, default:None) –The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerDevicesInterfacesL3ByDeviceResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"interfaces": [
{
"name": "vlan123",
"description": "Wireless Mgmt",
"mac": "1c:e8:5d:00:00:0c",
"status": "disabled",
"speed": "1 Gbps",
"addresses": [
{
"protocol": "ipv4",
"address": "192.168.123.1",
"subnet": "192.168.123.0/24"
}
],
"vrf": {
"name": "Global"
},
"isUplink": true,
"vlan": 10,
"linkNegotiation": "auto",
"channelGroup": {
"number": 5
},
"module": {
"model": "C9800-2X40GE"
}
}
]
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
get_organization_wireless_controller_devices_interfaces_l3_statuses_change_history_by_device
List wireless LAN controller layer 3 interfaces history status in an organization.
API documentation: getOrganizationWirelessControllerDevicesInterfacesL3StatusesChangeHistoryByDevice
Parameters:
-
organization_id(str) –Organization ID.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud ID. This filter uses multiple exact matches.
-
include_interfaces_without_changes(bool | None, default:None) –By default, interfaces without changes are omitted from the response for brevity. If you want to include the interfaces even if they have no changes, set to true. (default: false).
-
t0(str | None, default:None) –The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
-
t1(str | None, default:None) –The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
-
timespan(float | None, default:None) –The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerDevicesInterfacesL2StatusesChangeHistoryByDeviceResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"interfaces": [
{
"name": "TenGigabitEthernet0/0/5",
"mac": "b0:c5:3c:0d:c5:0b",
"changes": [
{
"ts": "2020-01-01T00:00:00Z",
"status": "disabled",
"warnings": [
"CRC warnings"
],
"errors": [
"CRC errors"
]
}
]
}
]
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
get_organization_wireless_controller_devices_interfaces_l3_usage_history_by_interval
List wireless LAN controller layer 3 interfaces history usage in an organization.
API documentation: getOrganizationWirelessControllerDevicesInterfacesL3UsageHistoryByInterval
Parameters:
-
organization_id(str) –Organization ID.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud ID. This filter uses multiple exact matches.
-
t0(str | None, default:None) –The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
-
t1(str | None, default:None) –The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
-
timespan(float | None, default:None) –The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerDevicesInterfacesL2UsageHistoryByIntervalResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"readings": [
{
"name": "TenGigabitEthernet0/0/5",
"mac": "b0:c5:3c:0d:c5:0b",
"recv": 0,
"send": 0
}
]
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
get_organization_wireless_controller_devices_interfaces_packets_overview_by_device
Retrieve the packet counters for the interfaces of a Wireless LAN controller.
API documentation: getOrganizationWirelessControllerDevicesInterfacesPacketsOverviewByDevice
Parameters:
-
organization_id(str) –Organization ID.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud ID. This filter uses multiple exact matches.
-
names(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its interface name. This filter uses multiple exact matches.
-
t0(str | None, default:None) –The beginning of the timespan for the data. The maximum lookback period is 1 day from today.
-
t1(str | None, default:None) –The end of the timespan for the data. t1 can be a maximum of 1 day after t0.
-
timespan(float | None, default:None) –The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 1 day. The default is 1 hour.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerDevicesInterfacesPacketsOverviewByDeviceResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"interfaces": [
{
"name": "TenGigabitEthernet0/0/0",
"readings": [
{
"name": "Total",
"total": 2001,
"recv": 1000,
"send": 1001,
"rate": {
"total": 12,
"recv": 3,
"send": 8
}
}
]
}
]
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
get_organization_wireless_controller_devices_interfaces_usage_history_by_interval
Retrieve the traffic for the interfaces of a Wireless LAN controller.
API documentation: getOrganizationWirelessControllerDevicesInterfacesUsageHistoryByInterval
Parameters:
-
organization_id(str) –Organization ID.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud ID. This filter uses multiple exact matches.
-
names(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its interface name. This filter uses multiple exact matches.
-
t0(str | None, default:None) –The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
-
t1(str | None, default:None) –The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
-
timespan(float | None, default:None) –The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerDevicesInterfacesUsageHistoryByIntervalResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"intervals": [
{
"startTs": "2024-07-25T03:20:55Z",
"endTs": "2024-07-25T03:25:55Z",
"overall": {
"total": 12300,
"recv": 2300,
"send": 10000
},
"byInterface": [
{
"name": "TenGigabitEthernet0/0/1",
"usage": {
"total": 12300,
"recv": 2300,
"send": 10000
}
}
]
}
]
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
get_organization_wireless_controller_devices_redundancy_failover_history
List the failover events of wireless LAN controllers in an organization.
API documentation: getOrganizationWirelessControllerDevicesRedundancyFailoverHistory
Parameters:
-
organization_id(str) –Organization ID.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud ID. This filter uses multiple exact matches.
-
t0(str | None, default:None) –The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
-
t1(str | None, default:None) –The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
-
timespan(float | None, default:None) –The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerDevicesRedundancyFailoverHistoryResponseItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
[
{
"items": [
{
"serial": "Q234-ABCD-5678",
"ts": "2020-01-01T00:00:00Z",
"reason": "Active Unit Failed",
"failed": {
"chassis": {
"name": "Chassis 2"
}
},
"active": {
"chassis": {
"name": "Chassis 1"
}
}
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
]
get_organization_wireless_controller_devices_redundancy_statuses
List redundancy details of wireless LAN controllers in an organization.
API documentation: getOrganizationWirelessControllerDevicesRedundancyStatuses
Parameters:
-
organization_id(str) –Organization ID.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud IDs. This filter uses multiple exact matches.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerDevicesRedundancyStatusesResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"mode": "SSO",
"enabled": true,
"failover": {
"last": {
"ts": "2020-01-01T00:00:00Z",
"reason": "Active Unit Failed"
},
"counts": {
"total": 2
}
},
"mobilityMac": "b0:c5:3c:0d:c5:0b"
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
get_organization_wireless_controller_devices_system_utilization_history_by_interval
List cpu utilization data of wireless LAN controllers in an organization.
API documentation: getOrganizationWirelessControllerDevicesSystemUtilizationHistoryByInterval
Parameters:
-
organization_id(str) –Organization ID.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud ID. This filter uses multiple exact matches.
-
t0(str | None, default:None) –The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
-
t1(str | None, default:None) –The end of the timespan for the data. t1 can be a maximum of 31 days after t0.
-
timespan(float | None, default:None) –The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerDevicesSystemUtilizationHistoryByIntervalResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"intervals": [
{
"startTs": "2024-03-04T05:25:03Z",
"endTs": "2024-03-04T05:30:19Z",
"overall": {
"usage": {
"average": {
"percentage": 10.59
}
}
},
"byCore": [
{
"name": "0",
"usage": {
"average": {
"percentage": 2.74
}
}
}
]
}
]
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}
get_organization_wireless_controller_overview_by_device
List the overview information of wireless LAN controllers in an organization and it is updated every minute.
API documentation: getOrganizationWirelessControllerOverviewByDevice
Parameters:
-
organization_id(str) –Organization ID.
-
network_ids(list[str] | None, default:None) –Optional parameter to filter wireless LAN controllers by network ID. This filter uses multiple exact matches.
-
serials(list[str] | None, default:None) –Optional parameter to filter wireless LAN controller by its cloud ID. This filter uses multiple exact matches.
-
per_page(int | None, default:None) –The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
-
starting_after(str | None, default:None) –A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
ending_before(str | None, default:None) –A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
-
total_pages(int | Literal['all'], default:'all') –use with per_page to get total results up to total_pages * per_page; -1 or "all" for all pages.
-
direction(Literal['prev', 'next'], default:'next') –direction to paginate, either "next" (default) or "prev" page.
Returns:
-
PaginatedResponse[GetOrganizationWirelessControllerOverviewByDeviceResponseItemsItem]–Successful operation.
Note
Returns a lazy PaginatedResponse
that can be iterated or collected with .collect().
Page metadata is available on .meta and .meta_pages.
Example API response
{
"items": [
{
"serial": "Q234-ABCD-5678",
"network": {
"id": "N_24329156"
},
"counts": {
"clients": {
"byStatus": {
"online": 300
}
},
"connections": {
"total": 200,
"byStatus": {
"online": 180,
"offline": 20
}
}
},
"redundancy": {
"role": "Active",
"id": "123456",
"chassisName": "Chassis 1",
"redundantSerial": "Q234-ABCD-5679",
"management": {
"addresses": [
{
"address": "10.14.140.5"
}
]
}
},
"firmware": {
"version": {
"shortName": "ios-xe"
}
}
}
],
"meta": {
"counts": {
"items": {
"total": 10,
"remaining": 0
}
}
}
}