mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
16 lines
337 B
Python
16 lines
337 B
Python
![]() |
"""Validate SSL configuration variables."""
|
||
|
|
||
|
# Third Party Imports
|
||
|
from pydantic import FilePath
|
||
|
from pydantic import StrictBool
|
||
|
|
||
|
# Project Imports
|
||
|
from hyperglass.configuration.models._utils import HyperglassModel
|
||
|
|
||
|
|
||
|
class Ssl(HyperglassModel):
|
||
|
"""Validate SSL config parameters."""
|
||
|
|
||
|
enable: StrictBool = True
|
||
|
cert: FilePath
|