Age | Commit message (Collapse) | Author |
|
|
|
Closes #534. accepts int [1-6] that get passed to openvpn invocation.
We should filter out the polling "state"/"status" commands from the log if
we want it to be real useful.
|
|
|
|
|
|
|
|
forgot to update eipconnection tests after #504 changes :(
|
|
documentation of the Exception Hierarchy and attributes.
also a bit of general cleanup around error handling in conductor.
Hopefully to be polished an abstracted to leap.base with time.
not all errors are converted (and the old with_errors/ignoring
errors) are still there, but we should be using this style of handlers
from now on.
wrapping up with this pseudo-feature for now. as we work on individual
features we can mimick the exceptions that are working.
|
|
idea is that we define user messages in the exceptions,
and queue them during (conductor) checks.
user facing dialogs get constucted from exception attrs.
if critical, log as such and exit.
|
|
so we can get them to file / stdout even if
our log viewer is not launched.
|
|
|
|
|
|
closes #331
|
|
|
|
to their base classes.
plus a bit of juggling with order.
|
|
still a bit rough, but makes everything a bit more
readable.
|
|
war on spaguetti! :D
|
|
|
|
removed "configuration" object. checks are called from conductor.
|
|
|
|
handling and tests.
uses the requests library for network interactions and mocks for simulating network states.
|
|
|
|
manually merge changes from the develop branch that were lost due
to having branched a previous state when refactored former "conductor"
class.
also, moved more exceptions to its own file.
|
|
|
|
|
|
|
|
|
|
|
|
preparation for completion of #356, #355, #354, #182
if no default openvpn config is present, we build one
with a preset template and the remote_ip of the eip
service as the only input. right now we're taking it from
the eip.cfg file.
|
|
fix #382.
|
|
|
|
|
|
|
|
also locate openvpn binary when building eip
configparser defaults.
implement half of feature #356
|
|
|