mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
update python dependencies
This commit is contained in:
@@ -14,8 +14,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- [#135](https://github.com/checktheroads/hyperglass/issues/135): Fix an issue where Juniper indirect next-hops were empty.
|
||||
|
||||
### Changed
|
||||
- Upgraded Scrapli to 2021.1.30
|
||||
- Upgraded UI dependencies
|
||||
- Updated major Python dependencies (FastAPI, Scrapli, Netmiko, Pydantic, Uvicorn, Gunicorn, etc.)
|
||||
- Updated UI dependencies
|
||||
|
||||
### Added
|
||||
- The driver for devices can now be overridden with the `driver` parameter.
|
||||
|
||||
# 1.0.0-beta.81 - 2021-04-10
|
||||
|
||||
|
@@ -176,6 +176,9 @@ async def import_certificate(encoded_request: EncodedRequest):
|
||||
"""Import a certificate from hyperglass-agent."""
|
||||
|
||||
# Try to match the requested device name with configured devices
|
||||
log.debug(
|
||||
"Attempting certificate import for device '{}'", devices[encoded_request.device]
|
||||
)
|
||||
try:
|
||||
matched_device = devices[encoded_request.device]
|
||||
except AttributeError:
|
||||
|
@@ -124,9 +124,6 @@ def start(build, direct, workers): # noqa: C901
|
||||
warning(str(err))
|
||||
error("Stopping hyperglass due to keyboard interrupt.")
|
||||
|
||||
except BaseException as err:
|
||||
error(str(err))
|
||||
|
||||
|
||||
@hg.command(
|
||||
"secret",
|
||||
|
2
hyperglass/external/_base.py
vendored
2
hyperglass/external/_base.py
vendored
@@ -9,7 +9,7 @@ from socket import gaierror
|
||||
|
||||
# Third Party
|
||||
import httpx
|
||||
from httpx.status_codes import StatusCode
|
||||
from httpx import StatusCode
|
||||
|
||||
# Project
|
||||
from hyperglass.log import log
|
||||
|
@@ -16,13 +16,13 @@ _FMT = (
|
||||
_DATE_FMT = "%Y%m%d %H:%M:%S"
|
||||
_FMT_BASIC = "{message}"
|
||||
_LOG_LEVELS = [
|
||||
{"name": "TRACE", "no": 5, "color": "<m>"},
|
||||
{"name": "DEBUG", "no": 10, "color": "<c>"},
|
||||
{"name": "INFO", "no": 20, "color": "<le>"},
|
||||
{"name": "SUCCESS", "no": 25, "color": "<g>"},
|
||||
{"name": "WARNING", "no": 30, "color": "<y>"},
|
||||
{"name": "ERROR", "no": 40, "color": "<y>"},
|
||||
{"name": "CRITICAL", "no": 50, "color": "<r>"},
|
||||
{"name": "TRACE", "color": "<m>"},
|
||||
{"name": "DEBUG", "color": "<c>"},
|
||||
{"name": "INFO", "color": "<le>"},
|
||||
{"name": "SUCCESS", "color": "<g>"},
|
||||
{"name": "WARNING", "color": "<y>"},
|
||||
{"name": "ERROR", "color": "<y>"},
|
||||
{"name": "CRITICAL", "color": "<r>"},
|
||||
]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user