[Maas-devel] BMC detection
Julian Edwards
julian.edwards at canonical.com
Thu Oct 31 06:59:45 UTC 2013
I've attached a prototype script that works out the IP addresses of all the
BMCs it can find in the network range that you specify.
It works by nmap probing the RMCP port in the IP range and if it sees a
response it's already likely to be a BMC, but then goes on to verify it by
issuing an ipmiping command.
Seems to work in the lab at least:
ubuntu at lenovo-RD230-01:~$ ./bmc-detect.py 192.168.21.255/24
['192.168.21.50', '192.168.21.51', '192.168.21.52', '192.168.21.53']
I'm sure we can use this as inspiration to do something better inside the
pserv process.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bmc-detect.py
Type: text/x-python
Size: 765 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20131031/9d374bb7/attachment.py>
More information about the Maas-devel
mailing list