Skip to main content

Lag

This schema extension includes models for Link Aggregation Groups (LAGs), enabling you to link physical interfaces as building blocs of your LAG interface. It can be used in standard networking environments as well as in compute scenarios, such as capturing bond interfaces.

Details

  • Dependencies:

Nodes

Lag

  • Label: LAG Interface
  • Description: LAG interface
  • Namespace: Interface
  • Inherit From: DcimInterface, InterfaceLayer2, InterfaceLayer3, InterfaceHasSubInterface

Attributes

namedescriptionkindoptionaldefault_valuechoices
lacp_rateLACP rate for the aggregated interfaceDropdownfastslow, fast
lacp_modeLACP mode for the aggregated interfaceDropdownactiveactive, passive, disabled

Relationships

namepeeroptionalcardinalitykind
lag_membersInterfacePhysicalmanyAttribute

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.

InterfacePhysical

Relationships

namepeeroptionalcardinalitykind
lag_parentInterfaceLagTrueoneAttribute

Code

version: '1.0'
nodes:
- name: Lag
namespace: Interface
label: LAG Interface
description: LAG interface
inherit_from:
- DcimInterface
- InterfaceLayer2
- InterfaceLayer3
- InterfaceHasSubInterface
include_in_menu: false
attributes:
- name: lacp_rate
label: LACP Rate
kind: Dropdown
choices:
- name: slow
label: Slow
color: '#E6E6FA'
- name: fast
label: Fast
color: '#E6E6FA'
default_value: fast
description: LACP rate for the aggregated interface
order_weight: 1700
- name: lacp_mode
label: LACP Mode
kind: Dropdown
choices:
- name: active
label: Active
color: '#E6E6FA'
- name: passive
label: Passive
color: '#E6E6FA'
- name: disabled
label: Disabled
color: '#E6E6FA'
description: LACP mode for the aggregated interface
default_value: active
order_weight: 1750
relationships:
- name: lag_members
label: Member(s)
peer: InterfacePhysical
cardinality: many
kind: Attribute
description: Physical Interfaces that are members of this aggregate
order_weight: 1800
extensions:
nodes:
- kind: InterfacePhysical
relationships:
- name: lag_parent
label: LAG
peer: InterfaceLag
optional: true
cardinality: one
kind: Attribute
description: LAG Interface using this Physical Interface
order_weight: 1800