Skip to content

Commit 213bee2

Browse files
committed
add docs directory and update docs link to our pkg in galaxy
1 parent 35d7b0b commit 213bee2

File tree

96 files changed

+10648
-58
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+10648
-58
lines changed

docs/cp_gaia_alias_interface.rst

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
.. _cp_gaia_alias_interface_module:
2+
3+
4+
cp_gaia_alias_interface -- Modify alias interface.
5+
==================================================
6+
7+
.. contents::
8+
:local:
9+
:depth: 1
10+
11+
12+
Synopsis
13+
--------
14+
15+
Modify alias interface.
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+
state (False, str, present)
30+
Ansible state which can be \ :literal:`present`\ or \ :literal:`absent`\ .
31+
32+
33+
name (True, str, None)
34+
Interface name with format "\<parent interface\>:\<id\>", for example eth0:1, eth0:2 .. etc.
35+
36+
37+
ipv4_address (False, str, None)
38+
Interface IPv4 address.
39+
40+
41+
ipv4_mask_length (False, int, None)
42+
Interface IPv4 address mask length.
43+
44+
45+
46+
47+
48+
Notes
49+
-----
50+
51+
.. note::
52+
- Supports \ :literal:`check\_mode`\ .
53+
54+
55+
56+
57+
Examples
58+
--------
59+
60+
.. code-block:: yaml+jinja
61+
62+
63+
- name: Set comment field of a alias interface
64+
check_point.gaia.cp_gaia_alias_interface:
65+
comments: "eth0:1 interface"
66+
name: eth0:1
67+
68+
69+
70+
Return Values
71+
-------------
72+
73+
alias_interface (always., dict, )
74+
The updated interface details.
75+
76+
77+
78+
79+
80+
Status
81+
------
82+
83+
84+
85+
86+
87+
Authors
88+
~~~~~~~
89+
90+
- Duane Toler (@duanetoler)
91+
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
.. _cp_gaia_alias_interface_facts_module:
2+
3+
4+
cp_gaia_alias_interface_facts -- Show alias interface/s.
5+
========================================================
6+
7+
.. contents::
8+
:local:
9+
:depth: 1
10+
11+
12+
Synopsis
13+
--------
14+
15+
Show alias interface.
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+
name (False, str, None)
30+
Interface name to show. If not specified, all alias interfaces information is returned.
31+
32+
33+
34+
35+
36+
Notes
37+
-----
38+
39+
.. note::
40+
- Supports \ :literal:`check\_mode`\ .
41+
42+
43+
44+
45+
Examples
46+
--------
47+
48+
.. code-block:: yaml+jinja
49+
50+
51+
- name: Show alias interface
52+
check_point.gaia.cp_gaia_alias_interface_facts:
53+
- name: Show alias interface by specifying it's name
54+
check_point.gaia.cp_gaia_alias_interface_facts:
55+
name: eth0:1
56+
57+
58+
59+
Return Values
60+
-------------
61+
62+
ansible_facts (always., dict, )
63+
The interface/s facts.
64+
65+
66+
objects (always, list, )
67+
List of interfaces.
68+
69+
70+
name (always, str, )
71+
Interface name.
72+
73+
74+
ipv4_address (always, str, )
75+
Interface IPv4 address.
76+
77+
78+
ipv4_mask_length (always, int, )
79+
Interface IPv4 address mask length.
80+
81+
82+
enabled (always, bool, )
83+
Interface State.
84+
85+
86+
87+
88+
89+
90+
91+
Status
92+
------
93+
94+
95+
96+
97+
98+
Authors
99+
~~~~~~~
100+
101+
- Duane Toler (@duanetoler)
102+

docs/cp_gaia_allowed_clients.rst

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
.. _cp_gaia_allowed_clients_module:
2+
3+
4+
cp_gaia_allowed_clients -- Modify the configuration of allowed clients.
5+
=======================================================================
6+
7+
.. contents::
8+
:local:
9+
:depth: 1
10+
11+
12+
Synopsis
13+
--------
14+
15+
Modify the configuration of allowed clients.
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.6
24+
25+
26+
27+
Parameters
28+
----------
29+
30+
version (False, str, None)
31+
Gaia API version for example 1.6.
32+
33+
34+
allowed_networks (False, list, None)
35+
Configure allowed clients as network.
36+
37+
38+
subnet (False, str, None)
39+
The network subnet.
40+
41+
42+
mask_length (False, int, None)
43+
The network mask length.
44+
45+
46+
47+
allowed_hosts (False, list, None)
48+
Configure allowed clients as hosts, valid valuse are IPv4/Ipv6 addresses.
49+
50+
51+
allowed_any_host (False, bool, None)
52+
Allowed all hosts.
53+
54+
55+
56+
57+
58+
Notes
59+
-----
60+
61+
.. note::
62+
- Supports \ :literal:`check\_mode`\ .
63+
64+
65+
66+
67+
Examples
68+
--------
69+
70+
.. code-block:: yaml+jinja
71+
72+
73+
- name: Set allowed clients
74+
check_point.gaia.cp_gaia_allowed_clients:
75+
allowed_networks: [{"subnet": "44.4.44.0", "mask_length": 24}, {"subnet": "55.4.55.0", "mask_length": 24}]
76+
77+
78+
79+
Return Values
80+
-------------
81+
82+
allowed_clients (always., dict, )
83+
The checkpoint object updated.
84+
85+
86+
87+
88+
89+
Status
90+
------
91+
92+
93+
94+
95+
96+
Authors
97+
~~~~~~~
98+
99+
- Ameer Asli (@chkp-ameera)
100+
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
.. _cp_gaia_allowed_clients_facts_module:
2+
3+
4+
cp_gaia_allowed_clients_facts -- Show the configuration of allowed clients.
5+
===========================================================================
6+
7+
.. contents::
8+
:local:
9+
:depth: 1
10+
11+
12+
Synopsis
13+
--------
14+
15+
Show the configuration of allowed clients.
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.6
24+
25+
26+
27+
Parameters
28+
----------
29+
30+
version (False, str, None)
31+
Gaia API version for example 1.6.
32+
33+
34+
35+
36+
37+
Notes
38+
-----
39+
40+
.. note::
41+
- Supports \ :literal:`check\_mode`\ .
42+
43+
44+
45+
46+
Examples
47+
--------
48+
49+
.. code-block:: yaml+jinja
50+
51+
52+
- name: Show allowed clients
53+
check_point.gaia.cp_gaia_allowed_clients_facts:
54+
55+
56+
57+
Return Values
58+
-------------
59+
60+
ansible_facts (always., dict, )
61+
The checkpoint object facts.
62+
63+
64+
allowed_any_host (always, bool, )
65+
Allowed any host to access the server.
66+
67+
68+
allowed_hosts (always, list, )
69+
Lists of allowed hosts.
70+
71+
72+
allowed_networks (always, list, )
73+
List of allowed networks.
74+
75+
76+
subnet (, str, )
77+
The network subnet.
78+
79+
80+
mask_length (, int, )
81+
The network mask length.
82+
83+
84+
85+
86+
87+
88+
89+
Status
90+
------
91+
92+
93+
94+
95+
96+
Authors
97+
~~~~~~~
98+
99+
- Ameer Asli (@chkp-ameera)
100+

0 commit comments

Comments
 (0)