mellanox / mellanox.onyx / 1.0.0 / module / onyx_magp Manage MAGP protocol on Mellanox ONYX network devices Authors: Samer Deeb (@samerd)mellanox.onyx.onyx_magp (1.0.0) — module
Install with ansible-galaxy collection install mellanox.onyx:==1.0.0
collections: - name: mellanox.onyx version: 1.0.0
This module provides declarative management of MAGP protocol on vlan interface of Mellanox ONYX network devices.
- name: Run add vlan interface with magp onyx_magp: magp_id: 103 router_ip: 192.168.8.2 router_mac: AA:1B:2C:3D:4E:5F interface: Vlan 1002
state: choices: - present - absent - enabled - disabled default: present description: - MAGP state. magp_id: description: - MAGP instance number 1-255 required: true interface: description: - VLAN Interface name. required: true router_ip: description: - MAGP router IP address. router_mac: description: - MAGP router MAC address.
commands: description: The list of configuration mode commands to send to the device. returned: always sample: - interface vlan 234 magp 103 - exit - interface vlan 234 magp 103 ip virtual-router address 1.2.3.4 type: list