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, GenericInterfaceBundle

Attributes

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

Relationships

namepeeroptionalcardinalitykind
lag_membersInterfacePhysicalmanyAttribute

Generics

InterfaceBundle

  • Label: Generic Interface Bundle
  • Namespace: Generic

Attributes

namedescriptionkindoptionaldefault_valuechoices
nameName of the interfaceText

Relationships

namepeeroptionalcardinalitykind
bundle_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
bundleGenericInterfaceBundleTrueoneAttribute

Code

version: '1.0'
generics:
- name: InterfaceBundle
namespace: Generic
label: Generic Interface Bundle
include_in_menu: false
attributes:
- name: name
kind: Text
description: Name of the interface
order_weight: 1000
relationships:
- name: bundle_members
label: Bundle members
peer: InterfacePhysical
cardinality: many
kind: Attribute
description: Physical Interfaces that are members of this aggregate
order_weight: 1800
nodes:
- name: Lag
namespace: Interface
label: LAG Interface
description: LAG interface
inherit_from:
- DcimInterface
- InterfaceLayer2
- InterfaceLayer3
- InterfaceHasSubInterface
- GenericInterfaceBundle
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
common_parent: device
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: bundle
label: Interface Bundle
peer: GenericInterfaceBundle
optional: true
cardinality: one
kind: Attribute
description: Interface Bundle using this Physical Interface
order_weight: 1800