1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

enable ssl certificate import for hyperglass-agent

This commit is contained in:
checktheroads
2020-03-21 01:44:38 -07:00
parent cd454d5ca1
commit fe61a7e90f
11 changed files with 224 additions and 34 deletions

View File

@@ -0,0 +1,14 @@
"""hyperglass-agent certificate import models."""
# Standard Library
from typing import Union
# Third Party
from pydantic import BaseModel, StrictStr
# Project
from hyperglass.configuration.models._utils import StrictBytes
class EncodedRequest(BaseModel):
device: StrictStr
encoded: Union[StrictStr, StrictBytes]