Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

Commit 5b3ea9f

Browse files
Adds license information and encoding for open.
1 parent 189ee19 commit 5b3ea9f

19 files changed

+328
-29
lines changed

python/influx/database_tables.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
"""Provides all database and table structures used for the influx database.
1+
"""
2+
----------------------------------------------------------------------------------------------
3+
(c) Copyright IBM Corporation 2020, 2021. All Rights Reserved.
4+
5+
IBM Spectrum Protect Family Software
6+
7+
Licensed materials provided under the terms of the IBM International Program
8+
License Agreement. See the Software licensing materials that came with the
9+
IBM Program for terms and conditions.
10+
11+
U.S. Government Users Restricted Rights: Use, duplication or disclosure
12+
restricted by GSA ADP Schedule Contract with IBM Corp.
13+
14+
----------------------------------------------------------------------------------------------
15+
16+
Description:
17+
Provides all database and table structures used for the influx database.
218
319
Classes:
420
Datatype

python/influx/definitions.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
"""All kinds of table, retention policies and continuous queries definitions are implemented here
1+
"""
2+
----------------------------------------------------------------------------------------------
3+
(c) Copyright IBM Corporation 2020, 2021. All Rights Reserved.
4+
5+
IBM Spectrum Protect Family Software
6+
7+
Licensed materials provided under the terms of the IBM International Program
8+
License Agreement. See the Software licensing materials that came with the
9+
IBM Program for terms and conditions.
10+
11+
U.S. Government Users Restricted Rights: Use, duplication or disclosure
12+
restricted by GSA ADP Schedule Contract with IBM Corp.
13+
14+
----------------------------------------------------------------------------------------------
15+
16+
Description:
17+
All kinds of tables, retention policies and continuous queries definitions are implemented here
218
319
Classes:
420
Definitions

python/influx/influx_client.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
"""Module with influx client. Contains all functionality arround sending and accessing influx database.
1+
"""
2+
----------------------------------------------------------------------------------------------
3+
(c) Copyright IBM Corporation 2020, 2021. All Rights Reserved.
4+
5+
IBM Spectrum Protect Family Software
6+
7+
Licensed materials provided under the terms of the IBM International Program
8+
License Agreement. See the Software licensing materials that came with the
9+
IBM Program for terms and conditions.
10+
11+
U.S. Government Users Restricted Rights: Use, duplication or disclosure
12+
restricted by GSA ADP Schedule Contract with IBM Corp.
13+
14+
----------------------------------------------------------------------------------------------
15+
16+
Description:
17+
Module with influx client. Contains all functionality arround sending and accessing influx database.
218
319
Classes:
420
InfluxClient

python/influx/influx_queries.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
"""Provides all query structues used for the influxdb.
1+
"""
2+
----------------------------------------------------------------------------------------------
3+
(c) Copyright IBM Corporation 2020, 2021. All Rights Reserved.
4+
5+
IBM Spectrum Protect Family Software
6+
7+
Licensed materials provided under the terms of the IBM International Program
8+
License Agreement. See the Software licensing materials that came with the
9+
IBM Program for terms and conditions.
10+
11+
U.S. Government Users Restricted Rights: Use, duplication or disclosure
12+
restricted by GSA ADP Schedule Contract with IBM Corp.
13+
14+
----------------------------------------------------------------------------------------------
15+
16+
Description:
17+
Provides all query structues used for the influxdb.
218
319
Classes:
420
Keyword

python/sppConnection/api_queries.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
"""Module which contains lots of snippets to access the rest API. You may add new queries here.
1+
"""
2+
----------------------------------------------------------------------------------------------
3+
(c) Copyright IBM Corporation 2020, 2021. All Rights Reserved.
4+
5+
IBM Spectrum Protect Family Software
6+
7+
Licensed materials provided under the terms of the IBM International Program
8+
License Agreement. See the Software licensing materials that came with the
9+
IBM Program for terms and conditions.
10+
11+
U.S. Government Users Restricted Rights: Use, duplication or disclosure
12+
restricted by GSA ADP Schedule Contract with IBM Corp.
13+
14+
----------------------------------------------------------------------------------------------
15+
16+
Description:
17+
Module which contains lots of snippets to access the rest API. You may add new queries here.
218
319
Classes:
420
ApiQueries

python/sppConnection/rest_client.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
"""This module provides the rest client which allows a connection to the REST-API of the SPP-Server.
1+
"""
2+
----------------------------------------------------------------------------------------------
3+
(c) Copyright IBM Corporation 2020, 2021. All Rights Reserved.
4+
5+
IBM Spectrum Protect Family Software
6+
7+
Licensed materials provided under the terms of the IBM International Program
8+
License Agreement. See the Software licensing materials that came with the
9+
IBM Program for terms and conditions.
10+
11+
U.S. Government Users Restricted Rights: Use, duplication or disclosure
12+
restricted by GSA ADP Schedule Contract with IBM Corp.
13+
14+
----------------------------------------------------------------------------------------------
15+
16+
Description:
17+
This module provides the rest client which allows a connection to the REST-API of the SPP-Server.
218
319
Classes:
420
RestClient

python/sppConnection/ssh_client.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
"""This modules provides anything needed to query data via ssh.
1+
"""
2+
----------------------------------------------------------------------------------------------
3+
(c) Copyright IBM Corporation 2020, 2021. All Rights Reserved.
4+
5+
IBM Spectrum Protect Family Software
6+
7+
Licensed materials provided under the terms of the IBM International Program
8+
License Agreement. See the Software licensing materials that came with the
9+
IBM Program for terms and conditions.
10+
11+
U.S. Government Users Restricted Rights: Use, duplication or disclosure
12+
restricted by GSA ADP Schedule Contract with IBM Corp.
13+
14+
----------------------------------------------------------------------------------------------
15+
16+
Description:
17+
This modules provides anything needed to query data via ssh.
218
319
Classes:
420
SshTypes

python/sppmon.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
"""
2-
(C) IBM Corporation 2020
2+
----------------------------------------------------------------------------------------------
3+
(c) Copyright IBM Corporation 2020, 2021. All Rights Reserved.
4+
5+
IBM Spectrum Protect Family Software
6+
7+
Licensed materials provided under the terms of the IBM International Program
8+
License Agreement. See the Software licensing materials that came with the
9+
IBM Program for terms and conditions.
10+
11+
U.S. Government Users Restricted Rights: Use, duplication or disclosure
12+
restricted by GSA ADP Schedule Contract with IBM Corp.
13+
14+
----------------------------------------------------------------------------------------------
315
416
Description:
517
Monitoring and long-term reporting for IBM Spectrum Protect Plus.

python/sppmonMethods/jobs.py

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
1-
"""This Module provides all functionality arround executed jobs.
2-
You may implement new job methods in here.
1+
"""
2+
----------------------------------------------------------------------------------------------
3+
(c) Copyright IBM Corporation 2020, 2021. All Rights Reserved.
4+
5+
IBM Spectrum Protect Family Software
6+
7+
Licensed materials provided under the terms of the IBM International Program
8+
License Agreement. See the Software licensing materials that came with the
9+
IBM Program for terms and conditions.
10+
11+
U.S. Government Users Restricted Rights: Use, duplication or disclosure
12+
restricted by GSA ADP Schedule Contract with IBM Corp.
13+
14+
----------------------------------------------------------------------------------------------
15+
16+
Description:
17+
This Module provides all functionality arround executed jobs.
18+
You may implement new job methods in here.
319
420
Classes:
521
JobMethods

python/sppmonMethods/other.py

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
1-
"""This Module provides other themed features.
2-
You may implement new methods here if they do not fit anywhere else
1+
"""
2+
----------------------------------------------------------------------------------------------
3+
(c) Copyright IBM Corporation 2020, 2021. All Rights Reserved.
4+
5+
IBM Spectrum Protect Family Software
6+
7+
Licensed materials provided under the terms of the IBM International Program
8+
License Agreement. See the Software licensing materials that came with the
9+
IBM Program for terms and conditions.
10+
11+
U.S. Government Users Restricted Rights: Use, duplication or disclosure
12+
restricted by GSA ADP Schedule Contract with IBM Corp.
13+
14+
----------------------------------------------------------------------------------------------
15+
16+
Description:
17+
This Module provides other themed features.
18+
You may implement new methods here if they do not fit anywhere else
319
420
Classes:
521
OtherMethods

0 commit comments

Comments
 (0)