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 interfaceDropdownFalsefastslow, fast
lacp_modeLACP mode for the aggregated interfaceDropdownFalseactiveactive, passive, disabled

Relationships

namepeeroptionalcardinalitykind
bundle_membersInterfacePhysicalTruemanyAttribute

Generics

InterfaceBundle

  • Label: Generic Interface Bundle
  • Description: Generic holding the members of an interface bundle such as a LAG.
  • Namespace: Generic

Attributes

namedescriptionkindoptionaldefault_valuechoices
nameName of the interfaceTextFalse
bundle_numberBundle number for the aggregated interfaceNumberFalse

Relationships

namepeeroptionalcardinalitykind
bundle_membersInterfacePhysicalTruemanyAttribute

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
description: Generic holding the members of an interface bundle such as a LAG.
label: Generic Interface Bundle
include_in_menu: false
attributes:
- name: name
kind: Text
optional: false
description: Name of the interface
order_weight: 1000
- name: bundle_number
kind: Number
optional: false
description: Bundle number for the aggregated interface
order_weight: 1250
relationships:
- name: bundle_members
peer: InterfacePhysical
label: Member(s)
kind: Attribute
cardinality: many
identifier: interface__bundle
optional: true
description: Physical Interfaces that are members of this aggregate
order_weight: 1800
nodes:
- name: Lag
namespace: Interface
description: LAG interface
label: LAG Interface
include_in_menu: false
inherit_from:
- DcimInterface
- InterfaceLayer2
- InterfaceLayer3
- InterfaceHasSubInterface
- GenericInterfaceBundle
attributes:
- name: lacp_rate
kind: Dropdown
label: LACP Rate
default_value: fast
choices:
- name: slow
label: Slow
color: '#E6E6FA'
- name: fast
label: Fast
color: '#E6E6FA'
optional: false
description: LACP rate for the aggregated interface
order_weight: 1850
- name: lacp_mode
kind: Dropdown
label: LACP Mode
default_value: active
choices:
- name: active
label: Active
color: '#E6E6FA'
- name: passive
label: Passive
color: '#E6E6FA'
- name: disabled
label: Disabled
color: '#E6E6FA'
optional: false
description: LACP mode for the aggregated interface
order_weight: 1900
relationships:
- name: bundle_members
peer: InterfacePhysical
label: Member(s)
kind: Attribute
cardinality: many
identifier: interface__bundle
common_parent: device
optional: true
description: Physical Interfaces that are members of this aggregate
order_weight: 1800
extensions:
nodes:
- kind: InterfacePhysical
relationships:
- name: bundle
peer: GenericInterfaceBundle
label: Interface Bundle
kind: Attribute
cardinality: one
optional: true
identifier: interface__bundle
description: Interface Bundle using this Physical Interface
order_weight: 1950