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

This commit is contained in:
spike77453 2021-05-03 07:27:56 +02:00 committed by GitHub
parent 26aba8e766
commit b5f8ae4320
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,