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
be6d8fbe
Commit
be6d8fbe
authored
Dec 04, 2013
by
Sigmund Augdal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shut up pylint
parent
99bdf04b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
iptables_configurator.py
iptables_configurator.py
+3
-2
No files found.
iptables_configurator.py
View file @
be6d8fbe
...
@@ -178,8 +178,9 @@ class Generator(object):
...
@@ -178,8 +178,9 @@ class Generator(object):
while
True
:
while
True
:
data
=
self
.
etcd_client
.
watch
(
"/nova/iaas"
,
index
+
1
)
data
=
self
.
etcd_client
.
watch
(
"/nova/iaas"
,
index
+
1
)
index
=
data
.
index
index
=
data
.
index
if
not
data
.
key
.
startswith
(
"nova/iaas/instances"
)
and
not
\
key
=
data
.
key
# pylint: disable=E1101
data
.
key
.
startswith
(
"nova/iaas/security_group"
):
if
not
key
.
startswith
(
"nova/iaas/instances"
)
and
not
\
key
.
startswith
(
"nova/iaas/security_group"
):
continue
continue
logging
.
debug
(
"new config index %d"
,
data
.
index
)
logging
.
debug
(
"new config index %d"
,
data
.
index
)
time
.
sleep
(
1
)
time
.
sleep
(
1
)
...
...
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