Browse Source

Add OpenFlow10 to protocols for backwards compatability

We need to add OpenFlow10 to the required protocols to support
backwards compatibility with neutron's destroy_patch_ports.

Closes-Bug: #1892491
Change-Id: I6865787f4d0b0459ac2eb91c0f1da9c08b36dd8d
tags/1.7.0
Brent Eagles 1 month ago
committed by Alex Schultz
parent
commit
3220e4e5e3
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      tripleo_ansible/ansible_plugins/modules/tripleo_ovs_upgrade.py

+ 3
- 3
tripleo_ansible/ansible_plugins/modules/tripleo_ovs_upgrade.py View File

@@ -160,11 +160,11 @@ def set_openflow_version_on_bridges(module, bridges=None):
bridges = ['br-int']
for bridge in bridges:
cmd = ['ovs-vsctl', 'set', 'bridge', bridge,
'protocols=OpenFlow13,OpenFlow15']
'protocols=OpenFlow10,OpenFlow13,OpenFlow15']
rc, out, err = module.run_command(cmd)
if rc != 0:
module.warn('Cannot set OpenFlow13 and OpenFlow15 '
'protocol on a bridge: %s: %s.' %
module.warn('Cannot set new OpenFlow protocols on a bridge: '
'%s: %s.' %
(bridge, to_native(err)))




Loading…
Cancel
Save