Skip to main content

VRRP

This schema extension contains models for VRRP.

Details

  • Dependencies:

Nodes

VRRPGroup

  • Label: VRRP Group
  • Description: VRRP Group configuration
  • Namespace: Network
  • Icon: fluent:virtual-network-20-filled
  • Human Friendly ID: name__value

Attributes

namedescriptionkindoptionaldefault_valuechoices
nameUnique name of the entryText
vridVirtual Router ID (VRID, should be between 1 and 255)Number
passwordVRRP Password/KeyHashedPasswordTrue

Relationships

namepeeroptionalcardinalitykind
ip_addressesIpamIPAddressTruemanyAttribute
vrrp_interfacesNetworkVRRPInterfacemanyComponent

VRRPInterface

  • Label: VRRP Interface
  • Description: VRRP Interface configuration
  • Namespace: Network
  • Icon: carbon:interface-usage
  • Uniqueness Constraints:
    • vrrp_group, interface

Attributes

namedescriptionkindoptionaldefault_valuechoices
priorityVRRP Priority (Should be between 1 and 255)Number100

Relationships

namepeeroptionalcardinalitykind
vrrp_groupNetworkVRRPGroupFalseoneAttribute
interfaceInterfaceLayer3FalseoneAttribute

Extensions

note

In this context "extensions" refer to modifications or additions to the existing schema, such as adding new attributes, relationships, or other schema elements.

InterfaceLayer3

Relationships

namepeeroptionalcardinalitykind
vrrpNetworkVRRPInterfaceoneComponent

IpamIPAddress

Relationships

namepeeroptionalcardinalitykind
vrrpNetworkVRRPGrouponeComponent

Code

version: '1.0'
nodes:
- name: VRRPGroup
namespace: Network
label: VRRP Group
icon: fluent:virtual-network-20-filled
description: VRRP Group configuration
display_label: name__value
order_by:
- name__value
human_friendly_id:
- name__value
attributes:
- name: name
kind: Text
label: Name
unique: true
description: Unique name of the entry
order_weight: 1000
- name: vrid
kind: Number
parameters:
min_value: 1
max_value: 255
description: Virtual Router ID (VRID, should be between 1 and 255)
label: VRID
order_weight: 1100
- name: password
kind: HashedPassword
description: VRRP Password/Key
label: Password
optional: true
order_weight: 1400
relationships:
- name: ip_addresses
on_delete: cascade
description: VRRP IP (v4 or v6)
label: IP Addresses
peer: IpamIPAddress
optional: true
cardinality: many
kind: Attribute
order_weight: 1200
- name: vrrp_interfaces
on_delete: cascade
kind: Component
peer: NetworkVRRPInterface
cardinality: many
label: VRRP Interfaces
order_weight: 1300
- name: VRRPInterface
namespace: Network
label: VRRP Interface
icon: carbon:interface-usage
menu_placement: NetworkVRRPGroup
description: VRRP Interface configuration
order_by:
- priority__value
uniqueness_constraints:
- - vrrp_group
- interface
attributes:
- name: priority
kind: Number
label: VRRP Priority
parameters:
min_value: 1
max_value: 255
description: VRRP Priority (Should be between 1 and 255)
default_value: 100
order_weight: 1100
relationships:
- name: vrrp_group
description: VRRP Group
label: VRRP Group
peer: NetworkVRRPGroup
optional: false
cardinality: one
kind: Attribute
order_weight: 1200
- name: interface
description: Interface L3
label: Interface
peer: InterfaceLayer3
optional: false
cardinality: one
kind: Attribute
order_weight: 1300
extensions:
nodes:
- kind: InterfaceLayer3
relationships:
- name: vrrp
kind: Component
peer: NetworkVRRPInterface
description: VRRP Interface Configuration
cardinality: one
label: VRRP
order_weight: 1500
- kind: IpamIPAddress
relationships:
- name: vrrp
kind: Component
peer: NetworkVRRPGroup
description: Part of VRRP Group
cardinality: one
label: VRRP Group
order_weight: 1600