Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tcloud
networking-capnet
Commits
778fa76f
Commit
778fa76f
authored
May 04, 2016
by
David Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug: only agents who host wfas can run them; and only the wfas mapped to them.
parent
11d036b4
Pipeline
#1209
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
networking_capnet/plugins/ml2/drivers/capnet/capnet_neutron_agent.py
...capnet/plugins/ml2/drivers/capnet/capnet_neutron_agent.py
+9
-6
No files found.
networking_capnet/plugins/ml2/drivers/capnet/capnet_neutron_agent.py
View file @
778fa76f
...
...
@@ -1540,12 +1540,15 @@ class CapnetNeutronAgent(service.Service):
pass
# Fire off any workflow agents that need to be running...
for
binding
in
bindings
:
if
'wfagent'
in
binding
and
not
binding
[
'wfagent'
]
is
None
\
and
'port'
in
binding
and
not
binding
[
'port'
]
is
None
:
LOG
.
debug
(
"ensure_running(%s)"
%
(
str
(
binding
),))
self
.
wfagent_manager
.
ensure_running
(
binding
[
'wfagent'
],
binding
[
'port'
])
if
self
.
hosts_workflow_apps
:
for
binding
in
bindings
:
if
'wfagent'
in
binding
and
not
binding
[
'wfagent'
]
is
None
\
and
'port'
in
binding
and
not
binding
[
'port'
]
is
None
\
and
'host'
in
binding
and
binding
[
'host'
]
==
cfg
.
CONF
.
host
:
LOG
.
debug
(
"ensure_running(%s)"
%
(
str
(
binding
),))
self
.
wfagent_manager
.
ensure_running
(
binding
[
'wfagent'
],
binding
[
'port'
])
pass
pass
pass
...
...
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