All notable changes to the Maintenance NApp will be documented in this file.
- The maintenance modal now uses the modal component
- Fixed maintenance
edit_windows.kytos
buttons
- Updated python environment installation from 3.9 to 3.11
- Upgraded UI framework to Vue3
- Fixed bug that caused links to be filtered incorrectly with interfaces
- Added
status_func
andstatus_reason_func
for maintenance windows.
- Prevented potential race conditions when starting/stopping maintenance windows.
- Fixed error 500 when user attempts to add maintenance window with duplicate IDs
- Fixed handling of all device types to properly express all affected devices.
- Maintenance start and end no longer produce
kytos/maintenance.*
events, and instead producetopology.interruption.[start|end]
events to work with blueprint EP0037 - Creating a maintenance window now checks if all devs exist and rejects the window, except when the attribute
ignore_no_exists
is set to True
@rest
endpoints are now run bystarlette/uvicorn
instead offlask/werkzeug
.
- Fixed maintenance UI using incorrect key for links when creating a maintenance window.
- Added persistence to maintenance using mongodb.
- Added tracking of maintenance window creation and updated times.
- Updated REST API endpoints to include version numbers. Current version is v1.
- Changed API to use descriptive strings for status of maintenance windows instead of integers.
- Seperated maintenance window items into switches, interfaces, and links.
- Made a shallow copy when iterating on shared data structure to avoid RuntimeError size changed
- UI k-toolbar component to list maintenance windows.
- UI k-toolbar component to create maintenance windows.
- UI k-info-panel component to list maintenance windows in a sortable and filterable table.
- UI k-info-panel component to edit and delete maintenance windows.
- UI k-info-panel component to finish maintenance windows.
- UI k-info-panel component to extend maintenance windows.
- Fixed GET responses in the OpenAPI spec to include
status
- Updated requirements to fix conflict error with wrapt and use kytos-ng repository
- Fixed request status code and messages in case of a payload with empty items
- Extend maintenance feature
- Enhanced and standardized setup.py install_requires to install pinned dependencies
- Added verification to not delete/modify maintenances that are running.
- Fixed an issue where the scheduler was not updated on maintenance update.
- Updated class
Status
to be JSON Serializable.
- Added
description
andstatus
attributes to maintenance window.
- Changed
setup.py
to alert when Travis fails. - Updated dependencies' versions.
- Fixed REST API URLs and HTTP status code in the documentation.
- Added missing parameter "Maintenance Window ID" to the REST API documentation.
- Added
@tags
decorator to run tests by type and size.
- Fixed README file.
- Methods to start and finish a maintenance. These methods generate events to make other NApps aware of a maintenance.
- Tests to the models module
- Fixed datetimes to be timezone aware.
- REST API methods to create, delete and update a maintenance.
- Schedule of maintenances.