Skip to content

Commit fb43076

Browse files
authored
Fix linux native bridge for SUSE in cloudutils (apache#6134)
* fix linux native bridge for SUSE * apply suggestion
1 parent f8b648b commit fb43076

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/lib/cloudutils/serviceConfig.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,9 @@ def addBridge(self, brName, dev):
374374
if self.syscfg.env.bridgeType == "openvswitch":
375375
if cfo.getEntry("IPADDR"):
376376
cfo.rmEntry("IPADDR", cfo.getEntry("IPADDR"))
377+
elif self.syscfg.env.bridgeType == "native":
378+
# Bridge is linked to the dev in SUSE not the other way round
379+
pass
377380
else:
378381
raise CloudInternalException("Unknown network.bridge.type %s" % self.syscfg.env.bridgeType)
379382
cfo.save()

0 commit comments

Comments
 (0)