SOLIDserver cli
This package contains a command to manage the SOLIDserver and its objects.
install
- in a virtual environment
- install the package:
pip install SOLIDserverCLI - configure the access to the SOLIDserver by creating a file named
sds.iniwhich contains:
[server]
name = server
token_id = xxx
token_key = yyy
Usage
The command sds can be used directly from the shell. It is organized with commands and subcommands, you can at each level add the --help option to get more information.
By using the --json at the top level, all outputs will be in the json format, providing the ability to use jq to manipulate the result.
Examples:
> sds server status
SOLIDserver: sds-test.intranet, authentication: token, version: 8.4.2, timeout: 10s
> sds --json server status
{"host": "sds-test.intranet", "auth_method": "token", "timeout": 10, "version": "8.4.2", "user": "ukn (token)"}
sds ipam space create test-sds-cli --description "only for testing purposes"
sds --json ipam space info test-sds-cli
sds ipam network create 192.168.0.0/16 --name "top" --space test-sds-cli --block --meta "made_with='cli'"
sds --json ipam network info 192.168.0.0/16 --space test-sds-cli
sds ipam network create 192.168.16.0/20 --space test-sds-cli --name middle
sds ipam network create 192.168.18.0/24 --space test-sds-cli --terminal --parent middle --name bottom
sds ipam ip create 192.168.18.12 --name device01 --macaddress 0e:01:02:03:04:05 --space test-sds-cli
sds --json ipam ip info 192.168.18.12 --space test-sds-cli
sds ipam ip delete 41402_to_change
Commands
├─ server
│ └─ status
├─ ipam
│ ├─ space
│ │ ├─ create
│ │ ├─ info
│ │ ├─ update
│ │ ├─ delete
│ │ └─ list
│ ├─ ip
│ │ ├─ create
│ │ ├─ delete
│ │ └─ info
│ └─ network
│ ├─ create
│ ├─ list
│ └─ info
├─ nom
│ ├─ folder
│ │ ├─ create
│ │ ├─ info
│ │ ├─ list
│ │ └─ delete
│ ├─ object
│ │ ├─ create
│ │ ├─ info
│ │ ├─ list
│ │ └─ update
└─ dns
└─ rr
├─ create
└─ info
Metadata
Release files for SOLIDserverCLI 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| solidservercli-0.8.1.tar.gz | 16.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| solidservercli-0.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.1 kB
Release files / solidservercli-0.8.1.tar.gz
| Download URL | solidservercli-0.8.1.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73ed7ac6b7565eb9805b7e33ef225d1390fe65a189a1a7bbf2b97763e972b02c
|
|
BLAKE2b-256 checksum How to use checksums |
a2dc2f749534e680e4421da526a2a1781bae1fa5484d7da83e6954938173cf6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / solidservercli-0.8.1-py3-none-any.whl
| Download URL | solidservercli-0.8.1-py3-none-any.whl |
|---|---|
| Size | 24.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a8577ba1725f8fee659f6f41986ef82a53cb6180cedb445f49f991160997604
|
|
BLAKE2b-256 checksum How to use checksums |
6642d114ef58324074f05f782900579ce39a9db46efaaf4a1370ff30161dbf68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|