Skip to main content

A utility for launching BMC interfaces

Project description

BMC Launcher

A command-line utility that uses Selenium WebDriver to launch a browser, navigate to a server's BMC (Baseboard Management Controller) web interface, and login automatically.

Installation

  1. Create a virtualenv (recommended)

    python3 -m venv ~/bmc_launcher && source ~/bmc_launcher/bin/activate
    
  2. Clone the repository

    git clone https://github.com/theopsguy/bmc-launcher.git
    cd bmc-launcher
    
  3. Install dependencies and utility:

    pip3 install poetry && poetry install
    

Configuration

Default location:

~/.bmc_launcher/config.yaml

Example

default_credentials:
  hpe:
    username: admin
    password: mysecret
  dell:
    username: root
    password: dellpass

servers:
  - name: web00
    ip: 192.168.1.10
    manufacturer: HPE
  - name: db00
    ip: 192.168.1.11
    manufacturer: dell
    credentials:
      username: specialuser
      password: otherpass

Usage

  • List hosts defined in the configuration:
% python3 bmc_launcher/main.py -l
  - name: web00
    url: https://192.168.1.10
    manufacturer: HPE
    credentials:
      username: Administrator
      password: '**********'
    ilo_version: 4
  - name: firewall00
    url: https://192.168.1.1
    manufacturer: SUPERMICRO
    credentials:
  - name: test_dell
    url: https://10.0.0.1
    manufacturer: DELL
    credentials:
    idrac_version: 9
  • Launch BMC:
python3 bmc_launcher/main.py -H web00 -i

Note, -i disables certificate validation.

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

bmc_launcher-0.1.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

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

bmc_launcher-0.1.0-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file bmc_launcher-0.1.0.tar.gz.

File metadata

  • Download URL: bmc_launcher-0.1.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bmc_launcher-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c81210273d4ceae7ea6c4e0b625c7d8cfba792a23547a8451f3ebe1f626cd7c8
MD5 639780689d5e82791625014c33d80fcf
BLAKE2b-256 e36adc4352996d61ec1b1ccda849113410ad894e68180face76462318ff5db86

See more details on using hashes here.

Provenance

The following attestation bundles were made for bmc_launcher-0.1.0.tar.gz:

Publisher: publish.yml on theopsguy/bmc-launcher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bmc_launcher-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bmc_launcher-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bmc_launcher-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5076dfe2d9a8b3827b93371e8b043f51580bb9b99477f1b26f0462f9a34be28c
MD5 bbc74b7d6eeed837e81ac12518d53221
BLAKE2b-256 821f0cb8efdfd96a58c45d1e666aa17fb07d3c06cba70bbb84cf1b7f1223f8f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for bmc_launcher-0.1.0-py3-none-any.whl:

Publisher: publish.yml on theopsguy/bmc-launcher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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