mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Pass missing vlan-related options (flags, ingress, egress) to nmcli (#3896)
* Pass missing vlan-related options (flags, ingress, egress) to nmcli Signed-off-by: Jean-Francois Panisset <panisset@gmail.com> * Follow style: comma on last parameter Signed-off-by: Jean-Francois Panisset <panisset@gmail.com> * PEP8 code style fix Signed-off-by: Jean-Francois Panisset <panisset@gmail.com> * add missing changelog fragment Signed-off-by: Jean-Francois Panisset <panisset@gmail.com>
This commit is contained in:
parent
59bbaeed77
commit
6cec2e2f58
2 changed files with 5 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- nmcli - pass ``flags``, ``ingress``, ``egress`` params to ``nmcli`` (https://github.com/ansible-collections/community.general/issues/1086).
|
|
@ -1373,6 +1373,9 @@ class Nmcli(object):
|
|||
options.update({
|
||||
'vlan.id': self.vlanid,
|
||||
'vlan.parent': self.vlandev,
|
||||
'vlan.flags': self.flags,
|
||||
'vlan.ingress': self.ingress,
|
||||
'vlan.egress': self.egress,
|
||||
})
|
||||
elif self.type == 'vxlan':
|
||||
options.update({
|
||||
|
|
Loading…
Reference in a new issue