mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-08-24 11:35:40 +02:00
Set default value for interface list include/exclude (#394)
Without a default value a pre-existing value isn't removed unless the caller specifies the property.
This commit is contained in:
parent
db716c1368
commit
fb070e4ac6
3 changed files with 4 additions and 10 deletions
|
@ -470,8 +470,6 @@ class TestRouterosApiInfoModule(ModuleTestCase):
|
|||
{
|
||||
'.id': '*2000010',
|
||||
'name': 'WAN',
|
||||
'include': '',
|
||||
'exclude': '',
|
||||
'comment': 'defconf',
|
||||
},
|
||||
])
|
||||
|
@ -523,24 +521,18 @@ class TestRouterosApiInfoModule(ModuleTestCase):
|
|||
{
|
||||
'.id': '*2000000',
|
||||
'name': 'all',
|
||||
'include': '',
|
||||
'exclude': '',
|
||||
'builtin': True,
|
||||
'comment': 'contains all interfaces',
|
||||
},
|
||||
{
|
||||
'.id': '*2000001',
|
||||
'name': 'none',
|
||||
'include': '',
|
||||
'exclude': '',
|
||||
'builtin': True,
|
||||
'comment': 'contains no interfaces',
|
||||
},
|
||||
{
|
||||
'.id': '*2000010',
|
||||
'name': 'WAN',
|
||||
'include': '',
|
||||
'exclude': '',
|
||||
'builtin': False,
|
||||
'comment': 'defconf',
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue