Skip to main content

qsmcli

Q system management command line tool

Installation

You will need to install python3 first, qsmcli has # pip3 install qsmcli

running qsmcli

python3 -m qsmcli

supported shell mode and command

Command line mode

When invoke this command, if there is any argument, then the command executed.

Shell mode

In Shell mode, if there is no argument is specified, then the shell mode is entered. The host and username/password is saved in the prompt.

Command supported

help/?

Any command with help command involved will print the help message.

ipmi

This is the command to redirect all of the command to ipmitool

mac

get system mac command and print out the system mac we have mac [index], index range from 0 to 5 for example: mac 0

cpld

get CPLD information: cpld [fw|cksum|id] fw: get CPLD fw cksum: get CPLD checksum id: Get CPLD idcode

me

Query ME related information. me [version|cpu|dimm|io] me version: to get ME version me cpu: to get CPU utililization me dimm: to get DIMM utililization me io: to get IO utilization

nic

get, set the BMC dedicate/share NIC nic [dedicate|lom-share|mezz-share0|mizz-share1]

Return: For LAN Card Type, 0h- BMC Dedicated 2h- Shared NIC (OCP Mezzanine slot) 3h- Shared NIC (QCT Mezzanine slot)

service

eanble/disable Service commands: service [enable/disable] [web|kvm|cd-media|hd-media|ssh|solssh] Please notice this utility will get the service configuration data and set the configuration data when set it. It do not guarantee that BMC has this feature.

Test

To run the unit test command, use 'python3 -m unittest' Upload to github will trigger Travis CI run the unittest

Distribute the package

To generate the package, use 'package.sh' to build the package.

Metadata

Release files for qsmcli 0.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qsmcli 0.7.2
File Size Uploaded Provenance Actions
qsmcli-0.7.2.tar.gz 13.3 kB Without provenance Details for qsmcli-0.7.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qsmcli 0.7.2
File Interpreter ABI Platform Actions
qsmcli-0.7.2-py3-none-any.whl Python 3 none any Details for qsmcli-0.7.2-py3-none-any.whl

Total release size: 33.6 kB

Release files / qsmcli-0.7.2.tar.gz

Download URL qsmcli-0.7.2.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
39184d8ff6e48496047558f8dfc95570e08a12935b3b3c4db8e45a7f97244749
BLAKE2b-256 checksum
How to use checksums
6aaaf3cfa77431979d111f7136bb169fcf9178313de56b0a22f678cece45dda1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.3

Release files / qsmcli-0.7.2-py3-none-any.whl

Download URL qsmcli-0.7.2-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ccced177e6fad70cd27b76f995736a5282e04c32d217b93e98333a072c425c03
BLAKE2b-256 checksum
How to use checksums
b7aea3943fbd3857fe4652249bceb382c965a2639a54bb200a0d9ab3cb3efa4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.3

Security for qsmcli 0.7.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page