You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--cloud "cloud02 cloud03 cloud04" (list of environments) --all (all active environments) --rack "rack1 rack2 rack3" (send to all clouds with systems in certain racks) - this may need to wait for #448 to simplify lookups --ticket (can be used with or without --email) --email (can be used with or without --ticket) --subject (used for email)
Example Usage
notifying all environments of an outage or downtime
notify_tenant.py --all --ticket --email --subject "Ongoing Power Outage in XYZ!" --message /tmp/2024-10-15-outage.txt
Don't we already send the expiration emails via cron entries for notifications? I only ask because of the 3rd example, but the use cases for power outage, or maintenance work would be great use cases. Perhaps also add something like:
may be a good use case, for which the notification goes out to any environment that has a current/active allocation with hosts that are part of a given rack.
Don't we already send the expiration emails via cron entries for notifications? I only ask because of the 3rd example, but the use cases for power outage, or maintenance work would be great use cases. Perhaps also add something like:
Yeah we use use postman lib for those notifications currently so any new tool can just import that.
may be a good use case, for which the notification goes out to any environment that has a current/active allocation with hosts that are part of a given rack.
Yeah love the idea of --rack too, I'll update the RFE
--rack may want to wait until we implement #448 where we move rack location into the host metadata.
This is an RFE for a general-purpose tenant contact tool like
src/quads/tools/notify_tenant.py
Description
Integration
notify_tenant.py
Payload
--message
/path/to/message.txtUsage Options
--cloud
"cloud02 cloud03 cloud04" (list of environments)--all
(all active environments)--rack
"rack1 rack2 rack3" (send to all clouds with systems in certain racks) - this may need to wait for #448 to simplify lookups--ticket
(can be used with or without --email)--email
(can be used with or without --ticket)--subject
(used for email)Example Usage
The text was updated successfully, but these errors were encountered: