redvypr.data_packets¶
Functions
|
|
|
Checks if the redvypr addr is in the datapacket. |
|
|
|
|
|
Checks if the two datastreams match |
|
Creates an address string from given ingredients :param datakey: :param devicename: :param hostname: :param addr: :param uuid: :param local_hostinfo: |
|
A datapacket dictionary used as internal datastructure in redvypr |
|
Fills in the statistics dictionary with the data packet information :param data: :param statdict: |
|
Expands an address string, i.e. it fills non existing entries with wildcards. |
|
Returns an address string based either on a data packet or on hostname |
|
Returns the data from the datapacket associated with the datastream |
|
Returns a redvypr datastream string including the hostname, ip with the optional uuid. |
|
Returns all datastreams of the datapacket |
|
|
|
Returns a redvypr devicename string including the hostname, ip with the optional uuid. |
|
Returns the keys of a redvypr data packet without the potentially existing standard keys: -'_redvypr' -'_redvypr_command' -'_deviceinfo' -'_keyinfo' |
|
Modifies address string with optionally given arguments. Note that missing parts are replaced by wildcards: modify_addrstr('test') becomes /test:*@::*. |
|
Parses as redvypr address string and returns a dictionary with the parsed result |
|
Remove a deviceaddress from the statistic :param deviceaddress: :param statdict: |
|
Treats a datadict received from a device and adds additional information from redvypr as hostinfo, numpackets etc. |
Classes
|
redvypr address |