APGraph

class ap_graph.APGraph(url, obj)[source]

Aruba networks AirWave Graph.

Attributes:

url (str):AirWave URL.
path (str):Graph path.
default_start_time(int):
 Graph start default time.
default_end_time(int):
 Graph end default time.

init

APGraph.__init__(url, obj)[source]

Initialize AirWaveAPIClient.

Args:

url (str):AirWave URL.
obj (collections.OrderedDict):
 APList element.

Usage:

>>> from airwaveapiclient import AirWaveAPIClient
>>> from airwaveapiclient import APGraph
>>> from airwaveapiclient import APList
>>>
>>> url = 'http://192.168.1.1/'
>>>
>>> airwave = AirWaveAPIClient(username='admin',
>>>                            password='xxxxx',
>>>                            url=url)
>>>
>>> airwave.login()
>>> ap_list = airwave.ap_list()
>>>
>>> objs = APList(ap_list)
>>> for obj in objs:
...     ap_graph = APGraph(url, obj)
...     ap_graph.client_count_802dot11an()
...
'http://x.x.x.x/nf/rrd_graph?
    end=0s&id=1&radio_index=2&start=-7200s&type=ap_client_count'
'http://x.x.x.x/nf/rrd_graph?
    end=0s&id=2&radio_index=2&start=-7200s&type=ap_client_count'
'http://x.x.x.x/nf/rrd_graph?
    end=0s&id=3&radio_index=2&start=-7200s&type=ap_client_count'
>>> airwave.logout()

client_count_802dot11bgn

APGraph.client_count_802dot11bgn(start=None, end=None)[source]

RRD graph URL for access point client count of radio type IEEE802.11BGN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.client_count_802dot11bgn(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    end=-0s&id=1&radio_index=1&start=-3600s&type=ap_client_count'

client_count_802dot11an

APGraph.client_count_802dot11an(start=None, end=None)[source]

RRD graph URL for access point client count of radio type IEEE802.11AN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.client_count_802dot11an(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    end=-0s&id=1&radio_index=2&start=-3600s&type=ap_client_count'

client_count_802dot11ac

APGraph.client_count_802dot11ac(start=None, end=None)[source]

RRD graph URL for access point client count of radio type IEEE802.11AC.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.client_count_802dot11ac(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    end=-0s&id=1&radio_index=2&start=-3600s&type=ap_client_count'

bandwidth_802dot11bgn

APGraph.bandwidth_802dot11bgn(start=None, end=None)[source]

RRD graph URL for access point bandwidth of radio type IEEE802.11BGN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.bandwidth_802dot11bgn(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    end=-0s&id=1&radio_index=1&start=-3600s&type=ap_bandwidth'

bandwidth_802dot11an

APGraph.bandwidth_802dot11an(start=None, end=None)[source]

RRD graph URL for access point bandwidth of radio type IEEE802.11AN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.bandwidth_802dot11an(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    end=-0s&id=1&radio_index=2&start=-3600s&type=ap_bandwidth'

bandwidth_802dot11ac

APGraph.bandwidth_802dot11ac(start=None, end=None)[source]

RRD graph URL for access point bandwidth of radio type IEEE802.11AC.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.bandwidth_802dot11ac(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    end=-0s&id=3&radio_index=2&start=-3600s&type=ap_bandwidth'

dot11_counters_802dot11bgn

APGraph.dot11_counters_802dot11bgn(start=None, end=None)[source]

RRD graph URL for access point dot11 counters of radio type IEEE802.11BGN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.dot11_counters_802dot11bgn(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    end=-0s&id=1&radio_index=1&start=-3600s&type=dot11_counters'

dot11_counters_802dot11an

APGraph.dot11_counters_802dot11an(start=None, end=None)[source]

RRD graph URL for access point dot11 counters of radio type IEEE802.11AN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.dot11_counters_802dot11an(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    end=-0s&id=1&radio_index=2&start=-3600s&type=dot11_counters'

dot11_counters_802dot11ac

APGraph.dot11_counters_802dot11ac(start=None, end=None)[source]

RRD graph URL for access point dot11 counters of radio type IEEE802.11AC.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.dot11_counters_802dot11ac(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    end=-0s&id=3&radio_index=2&start=-3600s&type=dot11_counters'

radio_channel_802dot11bgn

APGraph.radio_channel_802dot11bgn(start=None, end=None)[source]

RRD graph URL for radio channel for radio type IEEE802.11BGN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_channel_802dot11bgn(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=1&radio_interface=2&start=-3600s&type=radio_channel'

radio_channel_802dot11an

APGraph.radio_channel_802dot11an(start=None, end=None)[source]

RRD graph URL for radio channel for radio type IEEE802.11AN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_channel_802dot11an(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=2&radio_interface=1&start=-3600s&type=radio_channel'

radio_channel_802dot11ac

APGraph.radio_channel_802dot11ac(start=None, end=None)[source]

RRD graph URL for radio channel for radio type IEEE802.11AC.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_channel_802dot11ac(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=2&radio_interface=1&start=-3600s&type=radio_channel'

radio_noise_802dot11bgn

APGraph.radio_noise_802dot11bgn(start=None, end=None)[source]

RRD graph URL for radio noise for radio type IEEE802.11BGN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_noise_802dot11bgn(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=1&radio_interface=2&start=-3600s&type=radio_noise'

radio_noise_802dot11an

APGraph.radio_noise_802dot11an(start=None, end=None)[source]

RRD graph URL for radio noise for radio type IEEE802.11AN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_noise_802dot11an(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=2&radio_interface=1&start=-3600s&type=radio_noise'

radio_noise_802dot11ac

APGraph.radio_noise_802dot11ac(start=None, end=None)[source]

RRD graph URL for radio noise for radio type IEEE802.11AC.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_noise_802dot11ac(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=2&radio_interface=1&start=-3600s&type=radio_noise'

radio_power_802dot11bgn

APGraph.radio_power_802dot11bgn(start=None, end=None)[source]

RRD graph URL for radio power for radio type IEEE802.11BGN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_power_802dot11bgn(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=1&radio_interface=2&start=-3600s&type=radio_power'

radio_power_802dot11an

APGraph.radio_power_802dot11an(start=None, end=None)[source]

RRD graph URL for radio power for radio type IEEE802.11AN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_power_802dot11an(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=2&radio_interface=2&start=-3600s&type=radio_power'

radio_power_802dot11ac

APGraph.radio_power_802dot11ac(start=None, end=None)[source]

RRD graph URL for radio power for radio type IEEE802.11AC.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_power_802dot11ac(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=2&radio_interface=2&start=-3600s&type=radio_power'

radio_errors_802dot11bgn

APGraph.radio_errors_802dot11bgn(start=None, end=None)[source]

RRD graph URL for radio errors for radio type IEEE802.11BGN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_errors_802dot11bgn(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=1&radio_interface=2&start=-3600s&type=radio_errors'

radio_errors_802dot11an

APGraph.radio_errors_802dot11an(start=None, end=None)[source]

RRD graph URL for radio errors for radio type IEEE802.11AN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_errors_802dot11an(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=2&radio_interface=2&start=-3600s&type=radio_errors'

radio_errors_802dot11ac

APGraph.radio_errors_802dot11ac(start=None, end=None)[source]

RRD graph URL for radio errors for radio type IEEE802.11AC.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_errors_802dot11ac(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=2&radio_interface=2&start=-3600s&type=radio_errors'

radio_goodput_802dot11bgn

APGraph.radio_goodput_802dot11bgn(start=None, end=None)[source]

RRD graph URL for radio goodput for radio type IEEE802.11BGN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_goodput_802dot11bgn(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=1&radio_interface=2&start=-3600s&type=radio_goodput'

radio_goodput_802dot11an

APGraph.radio_goodput_802dot11an(start=None, end=None)[source]

RRD graph URL for radio goodput for radio type IEEE802.11AN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_goodput_802dot11an(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=2&radio_interface=2&start=-3600s&type=radio_goodput'

radio_goodput_802dot11ac

APGraph.radio_goodput_802dot11ac(start=None, end=None)[source]

RRD graph URL for radio goodput for radio type IEEE802.11AC.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.radio_goodput_802dot11ac(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=2&radio_interface=2&start=-3600s&type=radio_goodput'

channel_utilization_802dot11bgn

APGraph.channel_utilization_802dot11bgn(start=None, end=None)[source]

RRD graph URL for channel utilization for radio type IEEE802.11BGN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.channel_utilization_802dot11bgn(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=1&radio_interface=2&start=-3600s&type=channel_utilization'

channel_utilization_802dot11an

APGraph.channel_utilization_802dot11an(start=None, end=None)[source]

RRD graph URL for channel utilization for radio type IEEE802.11AN.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.channel_utilization_802dot11an(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=2&radio_interface=2&start=-3600s&type=channel_utilization'

channel_utilization_802dot11ac

APGraph.channel_utilization_802dot11ac(start=None, end=None)[source]

RRD graph URL for channel utilization for radio type IEEE802.11AC.

Args:

start (int, optional):
 Graph start time(seconds ago). Default is -7200.
end (int, optional):
 Graph end time(seconds ago). Default is None.

Returns:

str:Graph URL string.

Usage:

>>> ap_graph.channel_utilization_802dot11ac(start=-3600)
'https://x.x.x.x/nf/rrd_graph?
    ap_uid=00%3A00%3A10%3A00%3A00%3A03&
    end=-0s&radio_index=2&radio_interface=2&start=-3600s&type=channel_utilization'