Skip to content
Open
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
11 changes: 9 additions & 2 deletions extensions/lag/lag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,15 @@ generics:
kind: Text
description: "Name of the interface"
order_weight: 1000
- name: bundle_number
kind: Number
description: "Bundle number for the aggregated interface"
order_weight: 1100
relationships:
- name: bundle_members
label: Bundle members
label: "Member(s)"
peer: InterfacePhysical
identifier: interface__bundle
cardinality: many
kind: Attribute
description: "Physical Interfaces that are members of this aggregate"
Expand Down Expand Up @@ -65,10 +70,11 @@ nodes:
order_weight: 1750
relationships:
# Redifine the relationship here to add common_parent constraint
- name: lag_members
- name: bundle_members
common_parent: device
label: "Member(s)"
peer: InterfacePhysical
identifier: interface__bundle
cardinality: many
kind: Attribute
description: "Physical Interfaces that are members of this aggregate"
Expand All @@ -81,6 +87,7 @@ extensions:
- name: bundle
label: Interface Bundle
peer: GenericInterfaceBundle
identifier: interface__bundle
optional: true
cardinality: one
kind: Attribute
Expand Down
5 changes: 0 additions & 5 deletions extensions/mlag/mlag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ nodes:
kind: Text
description: "Name of the interface"
order_weight: 1000
- name: mlag_id
label: "MLAG ID"
kind: Number
description: "Identifier for the MLAG interface"
order_weight: 1050
- name: description
kind: Text
optional: true
Expand Down
6 changes: 4 additions & 2 deletions extensions/sfp/sfp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,12 @@ generics:
color: "#0099cc"
relationships:
- name: interface
peer: DcimInterface
peer: InterfacePhysical
kind: Attribute
optional: true
cardinality: one
order_weight: 1200
identifier: sfp__interface
- name: spare_location
peer: LocationHosting
kind: Attribute
Expand Down Expand Up @@ -178,12 +179,13 @@ nodes:

extensions:
nodes:
- kind: DcimInterface
- kind: InterfacePhysical
relationships:
- name: plugged_sfp
peer: DcimGenericSFP
cardinality: one
optional: true
identifier: sfp__interface
- kind: LocationHosting
relationships:
- name: spare_sfps
Expand Down
Loading