Skip to content

Commit 46c8e6b

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Fix binding l2-only ports by setting connectivity property"
2 parents 0d3cec2 + fc5e92d commit 46c8e6b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

networking_generic_switch/generic_switch_mech.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636

3737
class GenericSwitchDriver(api.MechanismDriver):
3838

39+
@property
40+
def connectivity(self):
41+
return portbindings.CONNECTIVITY_L2
42+
3943
def initialize(self):
4044
"""Perform driver initialization.
4145

0 commit comments

Comments
 (0)