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>pull/3909/head
parent
59bbaeed77
commit
6cec2e2f58
|
@ -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({
|
options.update({
|
||||||
'vlan.id': self.vlanid,
|
'vlan.id': self.vlanid,
|
||||||
'vlan.parent': self.vlandev,
|
'vlan.parent': self.vlandev,
|
||||||
|
'vlan.flags': self.flags,
|
||||||
|
'vlan.ingress': self.ingress,
|
||||||
|
'vlan.egress': self.egress,
|
||||||
})
|
})
|
||||||
elif self.type == 'vxlan':
|
elif self.type == 'vxlan':
|
||||||
options.update({
|
options.update({
|
||||||
|
|
Loading…
Reference in New Issue