forked from nautobot/nautobot-app-circuit-maintenance
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue nautobot#210: Ability to parse multiple maintenance windows fro…
…m Zayo maintenance notification (nautobot#214) * Add multiple windows to Zayo maintenances * Updated unit test cases for Zayo Parser * Fixed CI/black job: replace single quotes with double quotes * Fixed CI/black job: double spaces in between classes * Fixed pydocstyle job: No blank lines allowed after function docstring --------- Co-authored-by: mkekez <[email protected]>
- Loading branch information
Showing
12 changed files
with
392 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,53 @@ | ||
[ | ||
{ | ||
"maintenance_id": "TTN-0004567890", | ||
"summary": "Routine Fiber splice - NO Impact is Expected to your services. This notification is to advise you that we will be entering a splice case that houses live traffic.", | ||
"circuits": [ | ||
{ | ||
"circuit_id": "/OGYX/123418/ /ZYO /", | ||
"impact": "NO-IMPACT" | ||
}, | ||
{ | ||
"circuit_id": "/OGYX/123408/ /ZYO /", | ||
"circuit_id":"/OGYX/123408/ /ZYO /", | ||
"impact": "NO-IMPACT" | ||
} | ||
], | ||
"end": 1635937200, | ||
"maintenance_id": "TTN-0004567890", | ||
"status": "COMPLETED", | ||
"start": 1635746460, | ||
"end": 1635764400 | ||
}, | ||
{ | ||
"maintenance_id": "TTN-0004567890", | ||
"summary": "Routine Fiber splice - NO Impact is Expected to your services. This notification is to advise you that we will be entering a splice case that houses live traffic.", | ||
"circuits": [ | ||
{ | ||
"circuit_id": "/OGYX/123418/ /ZYO /", | ||
"impact": "NO-IMPACT" | ||
}, | ||
{ | ||
"circuit_id":"/OGYX/123408/ /ZYO /", | ||
"impact": "NO-IMPACT" | ||
} | ||
], | ||
"status": "COMPLETED", | ||
"start": 1635832860, | ||
"end": 1635850800 | ||
}, | ||
{ | ||
"maintenance_id": "TTN-0004567890", | ||
"summary": "Routine Fiber splice - NO Impact is Expected to your services. This notification is to advise you that we will be entering a splice case that houses live traffic.", | ||
"circuits": [ | ||
{ | ||
"circuit_id": "/OGYX/123418/ /ZYO /", | ||
"impact": "NO-IMPACT" | ||
}, | ||
{ | ||
"circuit_id":"/OGYX/123408/ /ZYO /", | ||
"impact": "NO-IMPACT" | ||
} | ||
], | ||
"status": "COMPLETED", | ||
"summary": "Routine Fiber splice - NO Impact is Expected to your services. This notification is to advise you that we will be entering a splice case that houses live traffic." | ||
"start": 1635919260, | ||
"end": 1635937200 | ||
} | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.