https://github.com/iamseth/python-rac
Python module to work with Dell's RAC
https://github.com/iamseth/python-rac
cli dell rac
Last synced: 10 months ago
JSON representation
Python module to work with Dell's RAC
- Host: GitHub
- URL: https://github.com/iamseth/python-rac
- Owner: iamseth
- License: wtfpl
- Created: 2013-03-28T19:00:07.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2021-03-02T22:18:27.000Z (over 5 years ago)
- Last Synced: 2025-07-03T08:59:07.035Z (11 months ago)
- Topics: cli, dell, rac
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 9
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
python-rac
=============
Implementation of racadm in pure Python
Installation
=============
### PyPi
```bash
pip install rac
```
### Manually
```bash
python setup.py test
python setup.py build
sudo python setup.py install
```
Usage
=============
### View server config information
```bash
racadm -H 10.0.0.100 -u root -p calvin -c "getconfig -g cfgServerInfo"
```
### Set first boot device to PXE just once
```bash
racadm -H 10.0.0.100 -u root -p calvin -c "getconfig -g cfgServerInfo -o cfgServerFirstBootDevice pxe"
racadm -H 10.0.0.100 -u root -p calvin -c "getconfig -g cfgServerInfo -o cfgServerBootOnce 1"
```
### Reboot the host
```bash
racadm -H 10.0.0.100 -u root -p calvin -c "serveraction powercycle"
```