Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
R
router_services
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nova
router_services
Commits
471ce814
Commit
471ce814
authored
Dec 03, 2013
by
Sigmund Augdal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve log formatting
parent
1df616cc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
clean_stale.py
clean_stale.py
+2
-1
dhcp_configurator.py
dhcp_configurator.py
+2
-1
iptables_configurator.py
iptables_configurator.py
+2
-1
neighbors.py
neighbors.py
+2
-1
No files found.
clean_stale.py
View file @
471ce814
...
...
@@ -14,7 +14,8 @@ def main():
username
=
'bs-unsi\spfsvc'
password
=
'Laste8il'
logging
.
basicConfig
(
level
=
logging
.
INFO
)
logging
.
basicConfig
(
level
=
logging
.
INFO
,
format
=
'%(asctime)s %(name)s %(levelname)s %(message)s'
)
etcd_client
=
etcd
.
Etcd
(
"158.38.213.2"
,
ssl_key
=
key
,
ssl_cert
=
cert
,
verify
=
cacert
)
vmm_client
=
odata
.
VMMClient
(
vmm_baseurl
,
username
,
password
)
...
...
dhcp_configurator.py
View file @
471ce814
...
...
@@ -132,7 +132,8 @@ def parse_args():
return
parser
.
parse_args
()
if
__name__
==
'__main__'
:
logging
.
basicConfig
(
level
=
logging
.
DEBUG
)
logging
.
basicConfig
(
level
=
logging
.
DEBUG
,
format
=
'%(asctime)s %(name)s %(levelname)s %(message)s'
)
logging
.
getLogger
(
"requests"
).
setLevel
(
logging
.
WARNING
)
args
=
parse_args
()
if
args
.
daemonize
:
...
...
iptables_configurator.py
View file @
471ce814
...
...
@@ -139,7 +139,8 @@ def parse_args():
return
parser
.
parse_args
()
if
__name__
==
'__main__'
:
logging
.
basicConfig
(
level
=
logging
.
DEBUG
)
logging
.
basicConfig
(
level
=
logging
.
DEBUG
,
format
=
'%(asctime)s %(name)s %(levelname)s %(message)s'
)
logging
.
getLogger
(
"requests"
).
setLevel
(
logging
.
WARNING
)
args
=
parse_args
()
if
args
.
daemonize
:
...
...
neighbors.py
View file @
471ce814
...
...
@@ -131,7 +131,8 @@ def parse_args():
return
parser
.
parse_args
()
if
__name__
==
'__main__'
:
logging
.
basicConfig
(
level
=
logging
.
DEBUG
)
logging
.
basicConfig
(
level
=
logging
.
DEBUG
,
format
=
'%(asctime)s %(name)s %(levelname)s %(message)s'
)
logging
.
getLogger
(
"requests"
).
setLevel
(
logging
.
WARNING
)
args
=
parse_args
()
if
args
.
daemonize
:
...
...
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