sbcli-pre 1.2.3__zip → 1.2.5__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/PKG-INFO +20 -5
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/README.md +19 -4
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/env_var +1 -1
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/sbcli_pre.egg-info/PKG-INFO +20 -5
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/sbcli_pre.egg-info/SOURCES.txt +5 -5
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_cli/cli.py +115 -113
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/cluster_ops.py +238 -141
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/constants.py +7 -5
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/caching_node_controller.py +6 -8
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/cluster_events.py +0 -9
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/device_controller.py +63 -56
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/events_controller.py +3 -5
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/health_controller.py +40 -30
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/lvol_controller.py +36 -42
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/pool_controller.py +4 -8
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/snapshot_controller.py +3 -9
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/distr_controller.py +9 -13
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/kv_store.py +29 -47
- sbcli_pre-1.2.5/simplyblock_core/mgmt_node_ops.py +80 -0
- sbcli_pre-1.2.5/simplyblock_core/models/deployer.py +62 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/events.py +1 -9
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/job_schedule.py +0 -6
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/nvme_device.py +4 -42
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/storage_node.py +1 -9
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/rpc_client.py +10 -55
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/__init__.py +4 -0
- sbcli_pre-1.2.3/simplyblock_core/scripts/alerting/alert_resources.yaml.j2 → sbcli_pre-1.2.5/simplyblock_core/scripts/alerting/alert_resources.yaml +5 -54
- sbcli_pre-1.2.5/simplyblock_core/scripts/apply_dashboard.sh +22 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/dashboards/cluster.json +1 -1
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/deploy_stack.sh +0 -2
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/docker-compose-swarm-monitoring.yml +13 -22
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/docker-compose-swarm.yml +2 -17
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/haproxy.cfg +0 -15
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/install_deps.sh +0 -1
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/capacity_and_stats_collector.py +1 -1
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/device_monitor.py +44 -3
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/distr_event_collector.py +11 -10
- sbcli_pre-1.2.5/simplyblock_core/services/health_check_service.py +136 -0
- sbcli_pre-1.2.3/simplyblock_core/services/tasks_runner_restart.py → sbcli_pre-1.2.5/simplyblock_core/services/job_tasks.py +46 -93
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/lvol_monitor.py +1 -1
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/lvol_stat_collector.py +1 -1
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/port_stat_collector.py +1 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/storage_node_monitor.py +44 -49
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/snode_client.py +0 -12
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/storage_node_ops.py +336 -525
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/utils.py +1 -46
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/app.py +2 -1
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/snode_ops.py +25 -103
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/web_api_cluster.py +43 -20
- sbcli_pre-1.2.5/simplyblock_web/blueprints/web_api_deployer.py +394 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/web_api_device.py +7 -10
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/web_api_lvol.py +5 -9
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/web_api_pool.py +5 -14
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/web_api_storage_node.py +10 -3
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/node_utils.py +2 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/utils.py +0 -8
- sbcli_pre-1.2.3/simplyblock_core/controllers/tasks_controller.py +0 -103
- sbcli_pre-1.2.3/simplyblock_core/controllers/tasks_events.py +0 -37
- sbcli_pre-1.2.3/simplyblock_core/mgmt_node_ops.py +0 -205
- sbcli_pre-1.2.3/simplyblock_core/services/health_check_service.py +0 -134
- sbcli_pre-1.2.3/simplyblock_core/services/tasks_runner_migration.py +0 -61
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/pyproject.toml +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/sbcli_pre.egg-info/dependency_links.txt +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/sbcli_pre.egg-info/entry_points.txt +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/sbcli_pre.egg-info/requires.txt +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/sbcli_pre.egg-info/top_level.txt +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/setup.cfg +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/setup.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_cli/main.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/__init__.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/cnode_client.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/compute_node_ops.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/__init__.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/device_events.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/lvol_events.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/mgmt_events.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/pool_events.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/snapshot_events.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/controllers/storage_events.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/__init__.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/base_model.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/caching_node.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/cluster.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/compute_node.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/global_settings.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/iface.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/lvol_model.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/mgmt_node.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/pool.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/port_stat.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/snapshot.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/models/stats.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/pci_utils.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/alerting/alert_rules.yaml +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/clean_local_storage_deploy.sh +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/config_docker.sh +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/dashboards/devices.json +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/dashboards/lvols.json +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/dashboards/node-exporter.json +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/dashboards/nodes.json +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/dashboards/pools.json +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/datasource.yml +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/db_config_double.sh +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/db_config_single.sh +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/prometheus.yml +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/run_ssh.sh +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/set_db_config.sh +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/scripts/stack_deploy_wait.sh +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/__init__.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/caching_node_monitor.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/cap_monitor.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/install_service.sh +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/log_agg_service.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/mgmt_node_monitor.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/remove_service.sh +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/services/service_template.service +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_core/shell_utils.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/__init__.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/auth_middleware.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/__init__.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/caching_node_ops.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/caching_node_ops_k8s.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/node_api_basic.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/node_api_caching_docker.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/node_api_caching_ks.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/web_api_caching_node.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/web_api_mgmt_node.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/blueprints/web_api_snapshot.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/caching_node_app.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/caching_node_app_k8s.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/node_webapp.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/snode_app.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/static/delete.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/static/deploy.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/static/deploy_cnode.yaml +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/static/deploy_spdk.yaml +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/static/is_up.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/static/list_deps.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/static/rpac.yaml +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/static/tst.py +0 -0
- {sbcli_pre-1.2.3 → sbcli_pre-1.2.5}/simplyblock_web/templates/deploy_spdk.yaml.j2 +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: sbcli-pre
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.5
|
4
4
|
Summary: CLI for managing SimplyBlock cluster
|
5
5
|
Home-page: https://www.simplyblock.io/
|
6
6
|
Author: Hamdy
|
@@ -21,7 +21,7 @@ Requires-Dist: graypy
|
|
21
21
|
|
22
22
|
[](https://github.com/simplyblock-io/sbcli/actions/workflows/python-testing.yml)
|
23
23
|
|
24
|
-
|
24
|
+
|
25
25
|
## Install
|
26
26
|
Add the package repo from AWS CodeArtifact using [awscli](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)
|
27
27
|
|
@@ -33,19 +33,34 @@ Install package
|
|
33
33
|
pip install --extra-index-url https://pypi.org/simple sbcli-dev
|
34
34
|
```
|
35
35
|
|
36
|
-
# Components
|
36
|
+
# Components
|
37
37
|
|
38
38
|
## Simply Block Core
|
39
39
|
Contains core logic and controllers for the simplyblock cluster
|
40
40
|
|
41
41
|
## Simply Block CLI
|
42
|
-
Please see this document
|
42
|
+
Please see this document
|
43
43
|
[README.md](../main/simplyblock_cli/README.md)
|
44
44
|
|
45
45
|
|
46
46
|
## Simply Block Web API
|
47
|
-
Please see this document
|
47
|
+
Please see this document
|
48
48
|
[README.md](../main/simplyblock_web/README.md)
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
+
### local development
|
53
|
+
|
54
|
+
FoundationDB requires a client library (libfdb_c.dylib) for the Python bindings to interact with the database.
|
55
|
+
Depending on the OS architecture, please install the appropriate version from the official github repo
|
56
|
+
|
57
|
+
```
|
58
|
+
wget https://github.com/apple/foundationdb/releases/download/7.3.3/FoundationDB-7.3.3_arm64.pkg
|
59
|
+
```
|
60
|
+
|
61
|
+
setup the code on a management node and the webApp code can be developed by building the `docker-compose-dev.yml` file.
|
62
|
+
|
63
|
+
|
64
|
+
```
|
65
|
+
sudo docker compose -f docker-compose-dev.yml up --build -d
|
66
|
+
```
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
[](https://github.com/simplyblock-io/sbcli/actions/workflows/python-testing.yml)
|
6
6
|
|
7
|
-
|
7
|
+
|
8
8
|
## Install
|
9
9
|
Add the package repo from AWS CodeArtifact using [awscli](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)
|
10
10
|
|
@@ -16,19 +16,34 @@ Install package
|
|
16
16
|
pip install --extra-index-url https://pypi.org/simple sbcli-dev
|
17
17
|
```
|
18
18
|
|
19
|
-
# Components
|
19
|
+
# Components
|
20
20
|
|
21
21
|
## Simply Block Core
|
22
22
|
Contains core logic and controllers for the simplyblock cluster
|
23
23
|
|
24
24
|
## Simply Block CLI
|
25
|
-
Please see this document
|
25
|
+
Please see this document
|
26
26
|
[README.md](../main/simplyblock_cli/README.md)
|
27
27
|
|
28
28
|
|
29
29
|
## Simply Block Web API
|
30
|
-
Please see this document
|
30
|
+
Please see this document
|
31
31
|
[README.md](../main/simplyblock_web/README.md)
|
32
32
|
|
33
33
|
|
34
34
|
|
35
|
+
### local development
|
36
|
+
|
37
|
+
FoundationDB requires a client library (libfdb_c.dylib) for the Python bindings to interact with the database.
|
38
|
+
Depending on the OS architecture, please install the appropriate version from the official github repo
|
39
|
+
|
40
|
+
```
|
41
|
+
wget https://github.com/apple/foundationdb/releases/download/7.3.3/FoundationDB-7.3.3_arm64.pkg
|
42
|
+
```
|
43
|
+
|
44
|
+
setup the code on a management node and the webApp code can be developed by building the `docker-compose-dev.yml` file.
|
45
|
+
|
46
|
+
|
47
|
+
```
|
48
|
+
sudo docker compose -f docker-compose-dev.yml up --build -d
|
49
|
+
```
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: sbcli-pre
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.5
|
4
4
|
Summary: CLI for managing SimplyBlock cluster
|
5
5
|
Home-page: https://www.simplyblock.io/
|
6
6
|
Author: Hamdy
|
@@ -21,7 +21,7 @@ Requires-Dist: graypy
|
|
21
21
|
|
22
22
|
[](https://github.com/simplyblock-io/sbcli/actions/workflows/python-testing.yml)
|
23
23
|
|
24
|
-
|
24
|
+
|
25
25
|
## Install
|
26
26
|
Add the package repo from AWS CodeArtifact using [awscli](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)
|
27
27
|
|
@@ -33,19 +33,34 @@ Install package
|
|
33
33
|
pip install --extra-index-url https://pypi.org/simple sbcli-dev
|
34
34
|
```
|
35
35
|
|
36
|
-
# Components
|
36
|
+
# Components
|
37
37
|
|
38
38
|
## Simply Block Core
|
39
39
|
Contains core logic and controllers for the simplyblock cluster
|
40
40
|
|
41
41
|
## Simply Block CLI
|
42
|
-
Please see this document
|
42
|
+
Please see this document
|
43
43
|
[README.md](../main/simplyblock_cli/README.md)
|
44
44
|
|
45
45
|
|
46
46
|
## Simply Block Web API
|
47
|
-
Please see this document
|
47
|
+
Please see this document
|
48
48
|
[README.md](../main/simplyblock_web/README.md)
|
49
49
|
|
50
50
|
|
51
51
|
|
52
|
+
### local development
|
53
|
+
|
54
|
+
FoundationDB requires a client library (libfdb_c.dylib) for the Python bindings to interact with the database.
|
55
|
+
Depending on the OS architecture, please install the appropriate version from the official github repo
|
56
|
+
|
57
|
+
```
|
58
|
+
wget https://github.com/apple/foundationdb/releases/download/7.3.3/FoundationDB-7.3.3_arm64.pkg
|
59
|
+
```
|
60
|
+
|
61
|
+
setup the code on a management node and the webApp code can be developed by building the `docker-compose-dev.yml` file.
|
62
|
+
|
63
|
+
|
64
|
+
```
|
65
|
+
sudo docker compose -f docker-compose-dev.yml up --build -d
|
66
|
+
```
|
@@ -39,13 +39,12 @@ simplyblock_core/controllers/pool_events.py
|
|
39
39
|
simplyblock_core/controllers/snapshot_controller.py
|
40
40
|
simplyblock_core/controllers/snapshot_events.py
|
41
41
|
simplyblock_core/controllers/storage_events.py
|
42
|
-
simplyblock_core/controllers/tasks_controller.py
|
43
|
-
simplyblock_core/controllers/tasks_events.py
|
44
42
|
simplyblock_core/models/__init__.py
|
45
43
|
simplyblock_core/models/base_model.py
|
46
44
|
simplyblock_core/models/caching_node.py
|
47
45
|
simplyblock_core/models/cluster.py
|
48
46
|
simplyblock_core/models/compute_node.py
|
47
|
+
simplyblock_core/models/deployer.py
|
49
48
|
simplyblock_core/models/events.py
|
50
49
|
simplyblock_core/models/global_settings.py
|
51
50
|
simplyblock_core/models/iface.py
|
@@ -59,6 +58,7 @@ simplyblock_core/models/snapshot.py
|
|
59
58
|
simplyblock_core/models/stats.py
|
60
59
|
simplyblock_core/models/storage_node.py
|
61
60
|
simplyblock_core/scripts/__init__.py
|
61
|
+
simplyblock_core/scripts/apply_dashboard.sh
|
62
62
|
simplyblock_core/scripts/clean_local_storage_deploy.sh
|
63
63
|
simplyblock_core/scripts/config_docker.sh
|
64
64
|
simplyblock_core/scripts/datasource.yml
|
@@ -73,7 +73,7 @@ simplyblock_core/scripts/prometheus.yml
|
|
73
73
|
simplyblock_core/scripts/run_ssh.sh
|
74
74
|
simplyblock_core/scripts/set_db_config.sh
|
75
75
|
simplyblock_core/scripts/stack_deploy_wait.sh
|
76
|
-
simplyblock_core/scripts/alerting/alert_resources.yaml
|
76
|
+
simplyblock_core/scripts/alerting/alert_resources.yaml
|
77
77
|
simplyblock_core/scripts/alerting/alert_rules.yaml
|
78
78
|
simplyblock_core/scripts/dashboards/cluster.json
|
79
79
|
simplyblock_core/scripts/dashboards/devices.json
|
@@ -89,6 +89,7 @@ simplyblock_core/services/device_monitor.py
|
|
89
89
|
simplyblock_core/services/distr_event_collector.py
|
90
90
|
simplyblock_core/services/health_check_service.py
|
91
91
|
simplyblock_core/services/install_service.sh
|
92
|
+
simplyblock_core/services/job_tasks.py
|
92
93
|
simplyblock_core/services/log_agg_service.py
|
93
94
|
simplyblock_core/services/lvol_monitor.py
|
94
95
|
simplyblock_core/services/lvol_stat_collector.py
|
@@ -97,8 +98,6 @@ simplyblock_core/services/port_stat_collector.py
|
|
97
98
|
simplyblock_core/services/remove_service.sh
|
98
99
|
simplyblock_core/services/service_template.service
|
99
100
|
simplyblock_core/services/storage_node_monitor.py
|
100
|
-
simplyblock_core/services/tasks_runner_migration.py
|
101
|
-
simplyblock_core/services/tasks_runner_restart.py
|
102
101
|
simplyblock_web/__init__.py
|
103
102
|
simplyblock_web/app.py
|
104
103
|
simplyblock_web/auth_middleware.py
|
@@ -117,6 +116,7 @@ simplyblock_web/blueprints/node_api_caching_ks.py
|
|
117
116
|
simplyblock_web/blueprints/snode_ops.py
|
118
117
|
simplyblock_web/blueprints/web_api_caching_node.py
|
119
118
|
simplyblock_web/blueprints/web_api_cluster.py
|
119
|
+
simplyblock_web/blueprints/web_api_deployer.py
|
120
120
|
simplyblock_web/blueprints/web_api_device.py
|
121
121
|
simplyblock_web/blueprints/web_api_lvol.py
|
122
122
|
simplyblock_web/blueprints/web_api_mgmt_node.py
|