Code Review
/
fuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7365eee
)
[dpdk] Check whether public bridge exists
99/61899/1
author
Michael Polenchuk
<mpolenchuk@mirantis.com>
Thu, 6 Sep 2018 09:08:31 +0000
(13:08 +0400)
committer
Michael Polenchuk
<mpolenchuk@mirantis.com>
Thu, 6 Sep 2018 09:13:03 +0000
(13:13 +0400)
Change-Id: I5aad512b5761deaa30522b6939bf245ecb1ec681
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
mcp/config/states/dpdk
patch
|
blob
|
history
diff --git
a/mcp/config/states/dpdk
b/mcp/config/states/dpdk
index
efe1daf
..
65832db
100755
(executable)
--- a/
mcp/config/states/dpdk
+++ b/
mcp/config/states/dpdk
@@
-16,4
+16,4
@@
salt -I 'nova:compute' alternatives.set ovs-vswitchd /usr/lib/openvswitch-switch
salt -I 'nova:compute' service.restart openvswitch-switch
# Set datapath type to netdev for public bridge
-salt -I 'nova:compute' cmd.run 'ovs-vsctl
set bridge br-floating datapath_type=netdev'
+salt -I 'nova:compute' cmd.run 'ovs-vsctl
br-exists br-floating && ovs-vsctl set bridge br-floating datapath_type=netdev' ignore_retcode=True