octavia.amphorae.backends.health_daemon package¶
Submodules¶
octavia.amphorae.backends.health_daemon.health_daemon module¶
- build_stats_message()[source]¶
- Build a stats message based on retrieved listener statistics. - Example version 3 message without UDP (note that values are deltas, not absolutes): - {"id": "<amphora_id>", "seq": 67, "listeners": { "<listener_id>": { "status": "OPEN", "stats": { "tx": 0, "rx": 0, "conns": 0, "totconns": 0, "ereq": 0 } } }, "pools": { "<pool_id>:<listener_id>": { "status": "UP", "members": { "<member_id>": "no check" } } }, "ver": 3 } 
octavia.amphorae.backends.health_daemon.health_sender module¶
octavia.amphorae.backends.health_daemon.status_message module¶
- 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. 
