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
3 changes: 3 additions & 0 deletions changelog/+qinq-svlan-name.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The QinQ extension now loads on Infrahub releases before 1.9. `IpamCVLAN` builds its HFID from its S-VLAN's name,
so `IpamSVLAN` now declares `name` unique; older releases rejected the schema with "HFID of IpamCVLAN refers to peer
IpamSVLAN with a non-unique combination of attributes".
2 changes: 2 additions & 0 deletions docs/docs/reference/qinq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ This schema extension adds the Service VLAN and Customer VLAN nodes needed to mo
- **Namespace:** Ipam
- **Uniqueness Constraints:**
- vlan_id__value, vlan_group
- name__value
- **Inherit From:** IpamGenericVLAN

#### Relationships
Expand Down Expand Up @@ -64,6 +65,7 @@ nodes:
uniqueness_constraints:
- - vlan_id__value
- vlan_group
- - name__value
relationships:
- name: cvlan
peer: IpamCVLAN
Expand Down
1 change: 1 addition & 0 deletions extensions/qinq/qinq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ nodes:
- IpamGenericVLAN
uniqueness_constraints:
- [vlan_id__value, vlan_group]
- [name__value]
relationships:
- name: cvlan
peer: IpamCVLAN
Expand Down
Loading