kytos / maintenance

Kytos Maintenance Window NApp
0 stars 12 forks source link

New attribute needed inside maintenance window schema to validate proper termination #27

Closed dgarc330 closed 3 years ago

dgarc330 commented 3 years ago

In order to finish the consistency test for the following API call: /api/kytos/maintenance//end PATCH ,
we need to brainstorm how to validate that a maintenance window was properly ended. An attribute should be included in the maintenance schema to specify if it was ended or stopped, and to allow a user to validate against it.

For example: request the ended MW via API call, parse through the output, search for the "ended" attribute and validate if it's True.