Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
labs
jetconf
Commits
65d51760
Unverified
Commit
65d51760
authored
Oct 19, 2016
by
Pavel Spirek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor import fixes
parent
d4295b60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
jetconf/__main__.py
jetconf/__main__.py
+9
-3
jetconf/config.yaml
jetconf/config.yaml
+1
-1
No files found.
jetconf/__main__.py
View file @
65d51760
import
os
import
colorlog
import
getopt
import
logging
import
sys
import
signal
from
colorlog
import
info
from
colorlog
import
error
,
info
from
importlib
import
import_module
from
yangson.enumerations
import
ContentType
from
.
import
usr_op_handlers
,
usr_state_data_handlers
...
...
@@ -16,7 +15,14 @@ from .data import JsonDatastore
from
.helpers
import
DataHelpers
from
.handler_list
import
OP_HANDLERS
,
STATE_DATA_HANDLES
,
CONF_DATA_HANDLES
from
.knot_api
import
knot_api_init
,
knot_connect
,
knot_disconnect
from
.usr_conf_data_handlers
import
*
from
.usr_conf_data_handlers
import
(
KnotConfServerListener
,
KnotConfLogListener
,
KnotConfZoneListener
,
KnotConfControlListener
,
KnotConfAclListener
,
KnotZoneDataListener
)
def
main
():
...
...
jetconf/config.yaml
View file @
65d51760
...
...
@@ -15,7 +15,7 @@ HTTP_SERVER:
SERVER_SSL_CERT
:
"
jetconf/server.crt"
SERVER_SSL_PRIVKEY
:
"
jetconf/server.key"
CA_CERT
:
"
jetconf/ca.pem"
DBG_DISABLE_CERTS
:
fals
e
DBG_DISABLE_CERTS
:
tru
e
NACM
:
ALLOWED_USERS
:
[
"
lojza@mail.cz"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment