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
1 change: 1 addition & 0 deletions panos/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3479,6 +3479,7 @@ def set_vsys(
"vlan": "vlans",
"virtual-wire": "virtual_wires",
"virtual-router": "virtual_routers",
"logical-router": "logical_routers",
"interface": "interface",
}
for key, param_name in import_to_vsys_param.items():
Expand Down
5 changes: 5 additions & 0 deletions panos/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ class Vsys(VersionedPanObject):
vlans (list): A list of strings of VLANs
virtual_wires (list): A list of strings of virtual wires
virtual_routers (list): A list of strings of virtual routers
logical_routers (list): (10.2+) A list of strings of logical routers
visible_vsys (list): A list of strings of the vsys visible
dns_proxy (str): DNS Proxy server
decrypt_forwarding (bool): Allow forwarding of decrypted content
Expand Down Expand Up @@ -188,6 +189,10 @@ def _setup(self):
path="import/network/virtual-router",
)
)
params.append(VersionedParamPath("logical_routers", exclude=True))
params[-1].add_profile(
"10.2.0", path="import/network/logical-router", vartype="member"
)
params.append(
VersionedParamPath(
"visible_vsys", vartype="member", path="import/visible-vsys"
Expand Down
Loading