Skip to content

Commit 30aaee4

Browse files
committed
Make sure vsys import is on the top of the spec
The order matters, security zone imports cannot be done for interfaces that have no vsys import configured.
1 parent 5e813d6 commit 30aaee4

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

specs/network/interface/ethernet.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,19 @@ imports:
8585
- variant: layer3
8686
type: template
8787
locations:
88+
- name: vsys
89+
required: true
90+
xpath:
91+
path:
92+
- vsys
93+
- $vsys
94+
- import
95+
- network
96+
- interface
97+
vars:
98+
- name: "vsys"
99+
description: "The vsys."
100+
default: "vsys1"
88101
- name: virtual-router
89102
xpath:
90103
path:
@@ -115,19 +128,6 @@ imports:
115128
description: Logical Router Name
116129
- name: vrf
117130
description: Logical Router VRF
118-
- name: vsys
119-
required: true
120-
xpath:
121-
path:
122-
- vsys
123-
- $vsys
124-
- import
125-
- network
126-
- interface
127-
vars:
128-
- name: "vsys"
129-
description: "The vsys."
130-
default: "vsys1"
131131
- name: zone
132132
xpath:
133133
path:

0 commit comments

Comments
 (0)