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
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>
(cherry picked from commit 6cec2e2f58
)
Co-authored-by: Jean-Francois Panisset <32653482+jfpanisset@users.noreply.github.com>
This commit is contained in:
parent
c34fb01462
commit
4e14c429c7
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).
|
|
@ -1332,6 +1332,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