mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
nmcli: Add 'slave-type bridge' to nmcli command if type is bridge-slave (#2409)
This commit is contained in:
parent
26aba8e766
commit
b5f8ae4320
3 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue