added modes to config services that allows them to decide sets of configurations

This commit is contained in:
Blake Harnden 2020-01-21 14:00:55 -08:00
parent 1ca3b0e3f4
commit 0ea2f73a80
8 changed files with 64 additions and 18 deletions

View file

@ -15,3 +15,4 @@ class VpnClient(ConfigService):
shutdown = ["killall openvpn"]
validation_mode = ConfigServiceMode.BLOCKING
default_configs = []
modes = {}