Skip to content

Instantly share code, notes, and snippets.

@czechnology
czechnology / bmc.py
Last active January 3, 2024 16:35
Simple tool to parse the BMC web console of a Nokia Airframe rack server and retrieve the MAC addresses of all available interfaces. Output as ASCII table or tab-separated values (for simple copying to a spreadsheet).
#!/usr/bin/env python
"""
Simple tool to parse the BMC web console of a Nokia Airframe rack server and
retrieve the MAC addresses of all available interfaces. Output as ASCII table
or tab-separated values (for simple copying to a spreadsheet).
Example usage:
./bmc.py -u admin -p admin 10.11.12.101 10.11.12.102 10.11.12.103
Tested with BMC Web UI version 1.00.0, KVM Remote Console Utility Version