File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
extensions/eda/plugins/event_source Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 33
33
34
34
"""
35
35
36
- # ruff: noqa: UP001, UP010, FA102
36
+ # ruff: noqa: UP001, UP010
37
37
from __future__ import absolute_import , division , print_function
38
38
39
39
# pylint: disable-next=invalid-name
Original file line number Diff line number Diff line change 47
47
description:
48
48
- A list of Firewall state areas that we should take a snapshot of. For the details on currently supported list please refer to
49
49
L(package documentation, https://pan.dev/panos/docs/panos-upgrade-assurance/configuration-details/#state-snapshots).
50
+ - In most of the cases it is enough to specify a snapshot name to run it with default settings.
51
+ In this case the list element is of type B(str). If additional configuration is required the element is a single element B(dict),
52
+ where key is the state snapshot name and value contains the snapshot's configuration. For information which snapshot requires additional
53
+ configuration please refer to L(package documentation, https://pan.dev/panos/docs/panos-upgrade-assurance/configuration-details/#state-snapshots).
50
54
- To capture the actual snapshot data use a register.
51
55
type: list
52
- elements: str
56
+ elements: raw
53
57
default: ["all"]
54
58
"""
55
59
@@ -133,7 +137,7 @@ def main():
133
137
with_classic_provider_spec = True ,
134
138
min_panos_upgrade_assurance_version = MIN_PUA_VER ,
135
139
argument_spec = dict (
136
- state_areas = dict (type = "list" , default = ["all" ], elements = "str " )
140
+ state_areas = dict (type = "list" , default = ["all" ], elements = "raw " )
137
141
),
138
142
panorama_error = "This is a firewall only module" ,
139
143
)
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ pan-os-python = ">=1.8,<2.0"
20
20
xmltodict = " >=0.12.0,<0.15.0"
21
21
aiohttp = " >=3.8.4,<4.0"
22
22
dpath = " >=2.1.5,<3.0"
23
- panos-upgrade-assurance = " >=1.0 ,<2.0"
23
+ panos-upgrade-assurance = " >=1.4 ,<2.0"
24
24
25
25
[tool .poetry .dev-dependencies ]
26
26
black = " >=22.3.0"
Original file line number Diff line number Diff line change 1
1
aiohttp >= 3.8.4 ,< 4.0 ; python_version >= "3.10" and python_version < "4.0"
2
2
dpath >= 2.1.5 ,< 3.0 ; python_version >= "3.10" and python_version < "4.0"
3
3
pan-os-python >= 1.8 ,< 2.0 ; python_version >= "3.10" and python_version < "4.0"
4
- panos-upgrade-assurance >= 1.0 ,< 2.0 ; python_version >= "3.10" and python_version < "4.0"
4
+ panos-upgrade-assurance >= 1.4 ,< 2.0 ; python_version >= "3.10" and python_version < "4.0"
5
5
xmltodict >= 0.12.0 ,< 0.15.0 ; python_version >= "3.10" and python_version < "4.0"
You can’t perform that action at this time.
0 commit comments