Browse Source

ovs_lib: add support for OpenFlow 1.5

This change add support for OpenFlow 1.5 for
OVSBridge.use_at_least_protocol().

This will allow, in particular, the use of bucket_id in
Id8f5318746cdee507beb112ba69800a43c7f6f20 .

Change-Id: If8f2374e1bff42ff4b1030bbb17e284f31c6ce45
Needed-By: Id8f5318746cdee507beb112ba69800a43c7f6f20
changes/26/560826/2
Thomas Morin 4 years ago
parent
commit
e302f962cf
  1. 3
      neutron/agent/common/ovs_lib.py
  2. 1
      neutron/plugins/ml2/drivers/openvswitch/agent/common/constants.py

3
neutron/agent/common/ovs_lib.py

@ -200,7 +200,8 @@ OF_PROTOCOL_TO_VERSION = {
constants.OPENFLOW11: 2,
constants.OPENFLOW12: 3,
constants.OPENFLOW13: 4,
constants.OPENFLOW14: 5
constants.OPENFLOW14: 5,
constants.OPENFLOW15: 6,
}

1
neutron/plugins/ml2/drivers/openvswitch/agent/common/constants.py

@ -150,6 +150,7 @@ OPENFLOW11 = "OpenFlow11"
OPENFLOW12 = "OpenFlow12"
OPENFLOW13 = "OpenFlow13"
OPENFLOW14 = "OpenFlow14"
OPENFLOW15 = "OpenFlow15"
# A placeholder for dead vlans.
DEAD_VLAN_TAG = p_const.MAX_VLAN_TAG + 1

Loading…
Cancel
Save