Functions
consume_queue(queue, max_count)
consume_queue
Consume count at least 1 and at most max_count elements from the given queue.
count
1
max_count
get_host_ip()
get_host_ip
Get the host ip.
get_host_name()
get_host_name
Get the host name.
get_ip(name)
get_ip
Get the ip address.
A string value.
str
name (str) – The name to be converted to an ip.
queue – The queue to be consumed.
max_count (int) – The max count of elements to be consumed.
This function does not return anything.
None