Registry / devops / cloudshell-pdu-core

cloudshell-pdu-core

JSON →
library1.0.21pypypiunverified

QualiSystems PDU core package for managing Power Distribution Units (PDUs) in CloudShell sandboxes. Version 1.0.21 provides abstract base classes and interfaces for PDU integration, including power control commands and resource modeling. Release cadence is low (approximately yearly).

pip install cloudshell-pdu-core
INSTALL
IMPORT
SIG · CLOUDSHELL-PDU-COR
C
cloudshell-pdu-core
devopspythonv1.0.21
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PDUResourceDriver
from cloudshell.pdu.core.driver import PDUResourceDriver
from cloudshell.pdu.core.driver import PDUResourceDriver

Minimal example of subclassing PDUResourceDriver.

from cloudshell.pdu.core.driver import PDUResourceDriver from cloudshell.pdu.core.interfaces import PowerControlInterface class MyPDUDriver(PDUResourceDriver): def __init__(self): super().__init__() # No authentication required for this example driver = MyPDUDriver() print("PDU driver initialized successfully.")
Debug
Known issues
gotchaImport paths use 'cloudshell.pdu.core' (dots), not underscores. Wrong imports from underscores will fail.
fix
Use 'from cloudshell.pdu.core.driver import PDUResourceDriver'
affects: all
deprecatedPython 3.7 and lower are no longer supported; requires Python >= 3.8.
fix
Upgrade to Python 3.8+
affects: >=1.0.20
gotchaThe package is a utility library, not a standalone driver. Direct instantiation of PDUResourceDriver without a concrete implementation will raise errors.
fix
Subclass PDUResourceDriver and implement abstract methods.
affects: all
Upgrade
Version history
1.0.21latest on PyPI · released Oct 9, 2016
Audit
Dependencies
cloudshell-coreoptionalProvides base QualiSystems utilities and modeling.
Agent activity
5 hits · last 30 days
node
2
Resources
cloudshell-pdu-core — pip install cloudshell-pdu-core · libregistry