octavia.amphorae.backends.health_daemon package

octavia.amphorae.backends.health_daemon package

Submodules

octavia.amphorae.backends.health_daemon.health_daemon module

build_stats_message()[source]
get_stats(stat_sock_file)[source]
list_sock_stat_files(hadir=None)[source]
run_sender(cmd_queue)[source]

octavia.amphorae.backends.health_daemon.health_sender module

class UDPStatusSender[source]

Bases: object

dosend(obj)[source]
update(dest, port)[source]
round_robin_addr(addrinfo_list)[source]

octavia.amphorae.backends.health_daemon.status_message module

decode_obj(binary_array)[source]
encode_obj(obj)[source]
get_hmac(payload, key, hex=True)[source]

Get digest for the payload.

The hex param is for backward compatibility, so the package data sent from the existing amphorae can still be checked in the previous approach.

get_payload(envelope, key, hex=True)[source]
to_hex(byte_array)[source]
unwrap_envelope(envelope, key)[source]

A backward-compatible way to get data.

We may still receive package from amphorae that are using digest() instead of hexdigest()

wrap_envelope(obj, key, hex=True)[source]

Module contents

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.