Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Name | Description
[vyos.vyos.vyos_system](https://github.com/vyos/vyos.vyos/blob/main/docs/vyos.vyos.vyos_system_module.rst)|Run `set system` commands on VyOS devices
[vyos.vyos.vyos_user](https://github.com/vyos/vyos.vyos/blob/main/docs/vyos.vyos.vyos_user_module.rst)|Manage the collection of local users on VyOS device
[vyos.vyos.vyos_vlan](https://github.com/vyos/vyos.vyos/blob/main/docs/vyos.vyos.vyos_vlan_module.rst)|Manage VLANs on VyOS network devices
[vyos.vyos.vyos_vrrp](https://github.com/vyos/vyos.vyos/blob/main/docs/vyos.vyos.vyos_vrrp_module.rst)|High Availability (VRRP) resource module

<!--end collection content-->

Expand Down
3 changes: 3 additions & 0 deletions changelogs/fragments/t6820_vrrp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- vyos_vrrp - Add VRRP (High Availability) support
1,240 changes: 1,240 additions & 0 deletions docs/vyos.vyos.vyos_vrrp_module.rst

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions plugins/action/vyos_vrrp.py
Empty file.
63 changes: 63 additions & 0 deletions plugins/module_utils/network/vyos/argspec/vrrp/vrrp.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# -*- coding: utf-8 -*-
# Copyright 2024 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

from __future__ import absolute_import, division, print_function


__metaclass__ = type

#############################################
# WARNING #
#############################################
#
# This file is auto generated by the
# cli_rm_builder.
#
# Manually editing this file is not advised.
#
# To update the argspec make the desired changes
# in the module docstring and re-run
# cli_rm_builder.
#
#############################################

"""
The arg spec for the vyos_vrrp module
"""


class VrrpArgs(object): # pylint: disable=R0903
"""The arg spec for the vyos_vrrp module"""

argument_spec = {
"config": {
"type": "dict",
"options": {
"disable": {"aliases": ["disabled"], "type": "bool", "default": False},
"virtual_server": {
"type": "list",
"elements": "dict",
"options": {
"name": {"required": True, "type": "str"},
"address": {"type": "str"},
},
},
},
},
"state": {
"type": "str",
"choices": [
"deleted",
"merged",
"purged",
"replaced",
"gathered",
"rendered",
"parsed",
],
"default": "merged",
},
"running_config": {"type": "str"},
} # pylint: disable=C0301
Empty file.
Loading
Loading