Skip to content

Commit ec2b3c5

Browse files
fix: Change the logical router versioning to exclude when it's on <10.2
1 parent 1012ed6 commit ec2b3c5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

panos/device.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,10 @@ def _setup(self):
192192
params.append(
193193
VersionedParamPath(
194194
"logical_routers",
195-
vartype="member",
196-
path="import/network/logical-router",
197-
version="10.2.0"
195+
exclude=True
198196
)
199197
)
198+
params[-1].add_profile("10.2.0", path="import/network/logical-router", vartype="member")
200199
params.append(
201200
VersionedParamPath(
202201
"visible_vsys", vartype="member", path="import/visible-vsys"

0 commit comments

Comments
 (0)