mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-14 12:51:04 +00:00
* Fix Issue #49612 Signed-off-by: Anas Badaha <anasb@mellanox.com> * Fix Pep8 failures Signed-off-by: Anas Badaha <anasb@mellanox.com> * Add validation for send empty group name Signed-off-by: Anas Badaha <anasb@mellanox.com> * Fix Error message Signed-off-by: Anas Badaha <anasb@mellanox.com>
This commit is contained in:
committed by
Ganesh Nalawade
parent
01833b6fb1
commit
6178a55afd
@@ -65,6 +65,14 @@ class TestOnyxMlagVipModule(TestOnyxModule):
|
||||
'mlag system-mac 00:00:5e:00:01:4e', 'no mlag shutdown']
|
||||
self.execute_module(changed=True, commands=commands)
|
||||
|
||||
def test_mlag_send_group_name_only_change(self):
|
||||
self._mlag_enabled = False
|
||||
set_module_args(dict(group_name='neo-mlag-vip-500',
|
||||
delay=0))
|
||||
commands = ['mlag-vip neo-mlag-vip-500',
|
||||
'no mlag shutdown']
|
||||
self.execute_module(changed=True, commands=commands)
|
||||
|
||||
def test_mlag_absent_no_change(self):
|
||||
self._mlag_enabled = False
|
||||
set_module_args(dict(state='absent'))
|
||||
|
||||
Reference in New Issue
Block a user