On this page
onyx_mlag_vip - Configures MLAG VIP on Mellanox ONYX network devices
New in version 2.5.
Synopsis
- This module provides declarative management of MLAG virtual IPs on Mellanox ONYX network devices.
 
Parameters
| Parameter | Choices/Defaults | Comments | 
|---|---|---|
| delay | Default: 
        12
         | 
      
        
        Delay interval, in seconds, waiting for the changes on mlag VIP to take effect.
         | 
     
| group_name | 
        
        MLAG group name. Required if state=present.
         | 
     |
| ipaddress | 
        
        Virtual IP address of the MLAG. Required if state=present.
         | 
     |
| mac_address | 
        
        MLAG system MAC address. Required if state=present.
         | 
     |
| state | 
       
  | 
      
        
        MLAG VIP state.
         | 
     
Notes
Note
- Tested on ONYX 3.6.4000
 
Examples
- name: configure mlag-vip
  onyx_mlag_vip:
    ipaddress: 50.3.3.1/24
    group_name: ansible-test-group
    mac_address: 00:11:12:23:34:45
  Return Values
Common return values are documented here, the following are the fields unique to this module:
| Key | Returned | Description | 
|---|---|---|
| commands  
        list
         | 
      always | 
        
        The list of configuration mode commands to send to the device.
         Sample:
        
       
        ['mlag-vip ansible_test_group ip 50.3.3.1 /24 force', 'no mlag shutdown']
         | 
     
Status
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
Maintenance
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
Author
- Samer Deeb (@samerd)
 
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
 https://docs.ansible.com/ansible/2.6/modules/onyx_mlag_vip_module.html