An open API service indexing awesome lists of open source software.

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

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"
```