Skip to content

Commit 1630bac

Browse files
committed
new release 7.0.0 with new maestro modules
1 parent ac266ab commit 1630bac

21 files changed

+1391
-85
lines changed

CHANGELOG.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ Check_Point.gaia Release Notes
33
==============================
44

55
.. contents:: Topics
6-
6+
7+
78
v7.0.0
89
======
910

1011
Release Summary
1112
---------------
1213

13-
This is release 6.0.0 of ``check_point.gaia``, released on 2025-01-28.
14+
This is release 7.0.0 of ``check_point.gaia``, released on 2025-02-07.
1415

1516
New Modules
1617
-----------

check_point-gaia-7.0.0.tar.gz

132 KB
Binary file not shown.

docs/cp_gaia_maestro_changes.rst

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
.. _cp_gaia_maestro_changes_module:
2+
3+
4+
cp_gaia_maestro_changes -- Handle pending changes, either apply or delete them.
5+
===============================================================================
6+
7+
.. contents::
8+
:local:
9+
:depth: 1
10+
11+
12+
Synopsis
13+
--------
14+
15+
Handle pending changes, either apply or delete them.
16+
17+
18+
19+
Requirements
20+
------------
21+
The below requirements are needed on the host that executes this module.
22+
23+
- supported starting from gaia\_api \>= 1.8
24+
25+
26+
27+
Parameters
28+
----------
29+
30+
version (False, str, None)
31+
Gaia API version for example 1.6.
32+
33+
34+
state (False, str, present)
35+
Ansible state which can be :literal:`present` or :literal:`absent`. absent will delete the pending changes, present will apply them
36+
37+
38+
virtual_system_id (False, int, None)
39+
Virtual System ID.
40+
41+
42+
43+
44+
45+
Notes
46+
-----
47+
48+
.. note::
49+
- Supports :literal:`check\_mode`.
50+
51+
52+
53+
54+
Examples
55+
--------
56+
57+
.. code-block:: yaml+jinja
58+
59+
60+
- name: Delete pending changes
61+
check_point.gaia.cp_gaia_user:
62+
state: absent
63+
64+
65+
66+
67+
68+
Status
69+
------
70+
71+
72+
73+
74+
75+
Authors
76+
~~~~~~~
77+
78+
- Roi Tal (@chkp-roital)
79+

docs/cp_gaia_maestro_gateways.rst

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
.. _cp_gaia_maestro_gateways_module:
2+
3+
4+
cp_gaia_maestro_gateways -- Modify Security Group Members.
5+
==========================================================
6+
7+
.. contents::
8+
:local:
9+
:depth: 1
10+
11+
12+
Synopsis
13+
--------
14+
15+
Assign, re-assign or un-assign Gateways to Security Groups, and change GW descriptions.
16+
17+
18+
19+
Requirements
20+
------------
21+
The below requirements are needed on the host that executes this module.
22+
23+
- supported starting from gaia\_api \>= 1.8
24+
25+
26+
27+
Parameters
28+
----------
29+
30+
version (False, str, None)
31+
Gaia API version for example 1.6.
32+
33+
34+
id (True, str, None)
35+
The serial of the Gateway you wish to modify
36+
37+
38+
security_group (False, int, None)
39+
Choose ID of Security Group to assign this Gateway to
40+
41+
42+
description (False, str, None)
43+
Description of this Gateway
44+
45+
46+
virtual_system_id (False, int, None)
47+
Virtual System ID.
48+
49+
50+
51+
52+
53+
Notes
54+
-----
55+
56+
.. note::
57+
- Supports :literal:`check\_mode`.
58+
59+
60+
61+
62+
Examples
63+
--------
64+
65+
.. code-block:: yaml+jinja
66+
67+
68+
- name: Assign GW to SG and add description
69+
check_point.gaia.cp_gaia_gateways:
70+
id: 1007RT1992
71+
security_group: 1
72+
description: "1007RT1992 GW Description"
73+
74+
75+
76+
Return Values
77+
-------------
78+
79+
maestro_gateway (always., dict, )
80+
The updated Maestro Gateway details.
81+
82+
83+
84+
85+
86+
Status
87+
------
88+
89+
90+
91+
92+
93+
Authors
94+
~~~~~~~
95+
96+
- Roi Tal (@chkp-roital)
97+
Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
.. _cp_gaia_maestro_gateways_facts_module:
2+
3+
4+
cp_gaia_maestro_gateways_facts -- Show Gateway/s.
5+
=================================================
6+
7+
.. contents::
8+
:local:
9+
:depth: 1
10+
11+
12+
Synopsis
13+
--------
14+
15+
Show information regarding Maestro Gateways, either assigned to Security Groups or unassigned.
16+
17+
18+
19+
20+
21+
22+
Parameters
23+
----------
24+
25+
version (False, str, None)
26+
Gaia API version for example 1.6.
27+
28+
29+
id (False, str, None)
30+
ID (serial number) of Maestro Gateway to show. If not specified, all gateways information is returned.
31+
32+
33+
include_pending_changes (False, bool, None)
34+
If true, show pending topology. If false, show deployed topology
35+
36+
37+
virtual_system_id (False, int, None)
38+
Virtual System ID.
39+
40+
41+
42+
43+
44+
Notes
45+
-----
46+
47+
.. note::
48+
- Supports :literal:`check\_mode`.
49+
50+
51+
52+
53+
Examples
54+
--------
55+
56+
.. code-block:: yaml+jinja
57+
58+
59+
- name: Show Maestro Gateways
60+
check_point.gaia.cp_gaia_gateways_facts:
61+
62+
- name: Show Maestro Gateway by specifying it's ID
63+
check_point.gaia.cp_gaia_gateways_facts:
64+
id: 1007RT1992
65+
66+
67+
68+
Return Values
69+
-------------
70+
71+
ansible_facts (always., dict, )
72+
The Maestro Gateway/s facts.
73+
74+
75+
gateways (always, list, )
76+
List of Maestro Gateways.
77+
78+
79+
id (always, str, )
80+
Maestro Gateway ID.
81+
82+
83+
site (always, int, )
84+
Site this Gateway belongs to.
85+
86+
87+
security_group (always, int, )
88+
The Security Group this Gateway belongs to.
89+
90+
91+
member_id (always, int, )
92+
The member ID of this Gateway, if it's assigned to a Security Group.
93+
94+
95+
model (always, str, )
96+
Model of this Gateway.
97+
98+
99+
version (always, dict, )
100+
OS version installed on this Gateway.
101+
102+
103+
major (always, str, )
104+
Major version
105+
106+
107+
108+
downlink_ports (always, list, )
109+
The Orchestrator ports which are connected to the Gateway.
110+
111+
112+
orchestrator_id (always, str, )
113+
ID of the Orchestrator to which this port belongs
114+
115+
116+
port (always, str, )
117+
Port ID
118+
119+
120+
121+
description (always, str, )
122+
Description of this Gateway.
123+
124+
125+
state (always, str, )
126+
State of this Gateway.
127+
128+
129+
weight (always, int, )
130+
Weight assigned to this Gateway, in case it's assigned to a Security Group.
131+
132+
133+
134+
135+
136+
137+
138+
Status
139+
------
140+
141+
142+
143+
144+
145+
Authors
146+
~~~~~~~
147+
148+
- Roi Tal (@chkp-roital)
149+

0 commit comments

Comments
 (0)