nmcli: Add 'slave-type bridge' to nmcli command if type is bridge-slave (#2409) (#2423)

(cherry picked from commit b5f8ae4320)

Co-authored-by: spike77453 <spike77453@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2021-05-03 08:16:19 +02:00
committed by GitHub
parent 007333dbfe
commit 5691e3aff3
3 changed files with 4 additions and 0 deletions

View File

@@ -780,6 +780,7 @@ class Nmcli(object):
})
elif self.type == 'bridge-slave':
options.update({
'connection.slave-type': 'bridge',
'bridge-port.path-cost': self.path_cost,
'bridge-port.hairpin-mode': self.hairpin,
'bridge-port.priority': self.slavepriority,