Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser for Apple peering notifications #227

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

slyngshede
Copy link
Contributor

Parser for Apple peering notification emails. We haven't yet seen anything that can be classified as other than "CONFIRMED"

The EmailSubjectParser behaves slightly different than one would expect based on the naming, in that it just get the entire email text, without line break. I would expect that it would receive ONLY the subject line, but that doesn't seem to be the case. Am I using it wrong perhaps?

m = re.search(pattern, text)
return [CircuitImpact(
circuit_id=f'AS{m.group(1)}',
impact=Impact.NO_IMPACT)]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you would like to mark the circuit state during the maintenance as OUTAGE? NO_IMPACT is supposed for a circuit that it's not being affected during the maintenance period

@chadell
Copy link
Collaborator

chadell commented May 22, 2023

@slyngshede black tests are still complaining
Remember to add the new parser support to the Readme to make it visible.

@slyngshede
Copy link
Contributor Author

Yes, sorry, I got distracted. Apple apparently also have different time formats for different parts of the world, so I need to update the patch anyway.

@chadell
Copy link
Collaborator

chadell commented Jun 8, 2023

Hi @slyngshede , there is still some linting problem. anything we can help you with?

@slyngshede
Copy link
Contributor Author

slyngshede commented Jun 8, 2023

@chadell No, I got it working, just been busy with other project :-)

@chadell
Copy link
Collaborator

chadell commented Dec 15, 2023

@slyngshede , if you can't finish it, I could do it for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants