Skip to content

Commit

Permalink
issue #107 - added vlan test with defined uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
zerwes committed Dec 1, 2024
1 parent d00edea commit d55532e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test/vlans-test-uuid-expect.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version='1.0' encoding='UTF-8'?>
<opnsense>
<system>
</system>
<vlans>
<vlan uuid="60383065-4adf-5652-ace0-936604cd8376">
<tag>110</tag>
<descr>110_USR</descr>
<if>lagg1</if>
<vlanif>lagg1_vlan110</vlanif>
</vlan>
<vlan uuid="5847f2ba-18e3-5405-97aa-991425034f8a">
<tag>220</tag>
<descr>220_SRV</descr>
<if>lagg2</if>
<vlanif>lagg2_vlan220</vlanif>
</vlan>
</vlans>
</opnsense>
15 changes: 15 additions & 0 deletions test/vlans-test-uuid.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---

opn_vlans:
- tag: 110
vlan_parent_interface: lagg1
uuid: 60383065-4adf-5652-ace0-936604cd8376
settings:
- key: descr
value: 110_USR
- tag: 220
vlan_parent_interface: lagg2
uuid: 5847f2ba-18e3-5405-97aa-991425034f8a
settings:
- key: descr
value: 220_SRV

0 comments on commit d55532e

Please sign in to comment.