Skip to main content

QinQ

This schema extension brings extensions to VLAN model in order to support QinQ.

Details​

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.

IpamVLAN​

Attributes​

namedescriptionkindoptionaldefault_valuechoices
qinq_roleDropdownTruesuplier, customer

Relationships​

namepeeroptionalcardinalitykind
svlanIpamVLANTrueoneAttribute
cvlanIpamVLANTruemanyAttribute

Code​

version: '1.0'
extensions:
nodes:
- kind: IpamVLAN
attributes:
- name: qinq_role
kind: Dropdown
optional: true
choices:
- name: suplier
label: Suplier
description: A VLAN used to encapsulate multiple CVLANs.
- name: customer
label: Customer
description: A VLAN assigned to customer traffic.
relationships:
- name: svlan
label: Supplier vlan
peer: IpamVLAN
optional: true
direction: inbound
identifier: vlan__qinq
cardinality: one
kind: Attribute
- name: cvlan
label: Customer vlan(s)
peer: IpamVLAN
optional: true
direction: outbound
identifier: vlan__qinq
cardinality: many
kind: Attribute