Skip to main content

EfficientIP SOLIDserver cli

Project description

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.ini which 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
│  │  └─ update
└─ dns
   └─ rr
      ├─ create
      └─ info

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solidservercli-0.7.1.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solidservercli-0.7.1-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file solidservercli-0.7.1.tar.gz.

File metadata

  • Download URL: solidservercli-0.7.1.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for solidservercli-0.7.1.tar.gz
Algorithm Hash digest
SHA256 c871500fd5ceee571cd80f5154c8da6a71a9401ff1b4b2b212438ff640cf0645
MD5 020fb9dd37c54d0d439c1ccc1a069ec9
BLAKE2b-256 eb9204de826cb9bd675fc0425876e9ca3d6149fa2fef5389585cd7b309fdd35c

See more details on using hashes here.

File details

Details for the file solidservercli-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: solidservercli-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for solidservercli-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e0c9a3723ec412e54f7719f010552e8986bd04a9943511897c52d7b150417f4
MD5 4d139027715c14a9703a21ea46f6b854
BLAKE2b-256 40139eeb0705a0ba3f51861a53a824814a2605ab1bc826ffb01686949263ec65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page