Specify an Exchange/Connection object with Email #755
Labels
priority: evaluating
status: accepted
type: enhancement
Issue is considered as an enhancement to the code, so it is not a regression nor a blocking issue
Peering Manager version
1.7.4
Feature type
New functionality
Proposed functionality
Allow a config context to be associated with the Email template.
Example template:
Right now, I have to hard code a number of things into the template, using a config context will allow this to be reused without touching the template. If the IXP and Connections objects could be retrieved more directly, that would also be a bonus because putting all the Jinja code into the subject line as well is a bit of a pain.
e.g
Use case
We find that we want to announce to existing peers of an IX about a new connection to the IX. There doesn't seem to be a good way to template this tidily. The parameters end up being hardcoded into the template. Also, it would be nice to be able to retrieve some of these stand alone objects in the templates without having to dive through the AutonomousSystem object to get it, but that is really a separate issue, and could be just the addition of more filters?
Database changes
None
External dependencies
None
The text was updated successfully, but these errors were encountered: