Skip to content

Commit 32453af

Browse files
authored
Merge pull request #47 from chkp-omerhad/master
Ansible VSNext
2 parents 72ad792 + 6e2d971 commit 32453af

25 files changed

+712
-4
lines changed

CHANGELOG.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@ Check_Point.gaia Release Notes
33
==============================
44

55
.. contents:: Topics
6+
7+
v6.0.0
8+
======
9+
10+
Release Summary
11+
---------------
12+
13+
This is release 6.0.0 of ``check_point.gaia``, released on 2024-12-31.
14+
15+
New Modules
16+
-----------
17+
cp_gaia_virtual_systems_facts – get virtual-system objects facts on Check Point machine over Web Services API.
18+
cp_gaia_virtual_switch – manages virtual switch on Check Point machine over Web Services API.
19+
cp_gaia_virtual_switch_facts – get virtual-switch objects facts on Check Point machine over Web Services API.
20+
cp_gaia_virtual_gateway – manages virtual-gateway objects on Check Point machine over Web Services API.
21+
cp_gaia_virtual_gateway_facts – get virtual-gateway objects facts on Check Point machine over Web Services API.
22+
cp_gaia_virtual_vsnext_state_facts – get the VSNext state on Check Point machine over Web Services API.
623

724
v5.0.1
825
======

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ Modules
121121
* `cp_gaia_expert_password_facts` – get expert hash password of a Check Point machine over Web Services API.
122122
* `cp_gaia_time_and_date` – manage time and date and timezone of a Check Point machine over Web Services API.
123123
* `cp_gaia_time_and_date_facts` – get time and date and timezone of a Check Point machine over Web Services API.
124+
* `cp_gaia_virtual_systems_facts` – get virtual-system objects facts on Check Point over Web Services API.
125+
* `cp_gaia_virtual_switch` – manages virtual switch on Check Point machine over Web Services API.
126+
* `cp_gaia_virtual_switch_facts` – get virtual-switch objects facts on Check machine Point over Web Services API.
127+
* `cp_gaia_virtual_gateway` – manages virtual-gateway objects on Check Point machine over Web Services API.
128+
* `cp_gaia_virtual_gateway_facts` – get virtual-gateway objects facts on Check Point machine over Web Services API.
129+
* `cp_gaia_virtual_vsnext_state_facts` – get the VSNext state on Check Point machine over Web Services API.
124130

125131
### Code of Conduct
126132
This collection follows the Ansible project's

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace: check_point
99
name: gaia
1010

1111
# The version of the collection. Must be compatible with semantic versioning
12-
version: 5.0.1
12+
version: 6.0.0
1313

1414
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
1515
readme: README.md

plugins/module_utils/checkpoint.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
)
4343

4444
checkpoint_argument_spec_for_all = dict(
45-
version=dict(type='str')
45+
version=dict(type='str'),
46+
virtual_system_id=dict(type="int", required=False)
4647
)
4748

4849

plugins/modules/cp_gaia_bond_interface.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
type: str
4242
default: present
4343
choices: [present, absent]
44+
virtual_system_id:
45+
description: Virtual System ID.
46+
required: false
47+
type: int
4448
name:
4549
description:
4650
- Interface name with format C(bond<id>), valid values are bond1, bond2, bond3 .. etc.
@@ -151,6 +155,10 @@
151155
description: Media monitoring interval, Valid values are C(1-5000).
152156
required: false
153157
type: int
158+
virtual_system_id:
159+
description: Virtual System ID.
160+
required: false
161+
type: int
154162
"""
155163

156164
EXAMPLES = """

plugins/modules/cp_gaia_bond_interface_facts.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
description: Interface name to show. If not specified, all bond interfaces information is returned.
4040
required: false
4141
type: str
42+
virtual_system_id:
43+
description: Virtual System ID.
44+
required: false
45+
type: int
4246
4347
"""
4448

@@ -70,6 +74,10 @@
7074
- Interface name.
7175
returned: always
7276
type: str
77+
virtual_system_id:
78+
description: Virtual System ID.
79+
returned: always
80+
type: int
7381
ipv4_address:
7482
description: Interface IPv4 address.
7583
returned: always

plugins/modules/cp_gaia_bridge_interface.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@
122122
required: false
123123
type: list
124124
elements: str
125+
virtual_system_id:
126+
description: Virtual System ID.
127+
required: False
128+
type: int
125129
"""
126130

127131
EXAMPLES = """

plugins/modules/cp_gaia_bridge_interface_facts.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
description: Interface name to show. If not specified, all bridge interfaces information is returned.
4040
required: false
4141
type: str
42+
virtual_system_id:
43+
description: Virtual System ID.
44+
required: false
45+
type: int
4246
4347
"""
4448

@@ -70,6 +74,10 @@
7074
- Interface name.
7175
returned: always
7276
type: str
77+
virtual_system_id:
78+
description: Virtual System ID.
79+
returned: always
80+
type: int
7381
ipv4_address:
7482
description: Interface IPv4 address.
7583
returned: always

plugins/modules/cp_gaia_dhcp_server.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@
9595
description: The IPv4 address of the default gateway for the DHCP clients.
9696
required: False
9797
type: str
98+
virtual_system_id:
99+
description: Virtual System ID.
100+
required: False
101+
type: int
98102
dns:
99103
description: DNS configuration.
100104
required: False
@@ -133,7 +137,7 @@
133137
"default_gateway": "4.5.6.1",
134138
"ip_pools": [{"start": "4.5.6.5", "end": "4.5.6.7", "enabled": True, "include": "include"}],
135139
"dns": {"domain_name": "my_domain_name", "primary": "8.8.8.8", "secondary": "8.8.8.8", "tertiary": "8.8.4.4"},
136-
"enabled": True}
140+
"enabled": True, virtual_system_id: 0}
137141
]
138142
"""
139143

plugins/modules/cp_gaia_dhcp_server_facts.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@
107107
description: The IPv4 address of the default gateway for the DHCP clients.
108108
returned: always
109109
type: str
110+
virtual_system_id:
111+
description: Virtual System ID.
112+
returned: always
113+
type: int
110114
dns:
111115
description: DNS configuration.
112116
returned: always

0 commit comments

Comments
 (0)