Sign inSign up

itsalex/ipmi-discover

By itsalex

•Updated about 8 years ago

This project aim to discover mac address of all IPMI asking IP address

Image
0

1.9K

itsalex/ipmi-discover repository overview

Build Status Docker Automated build Docker Build Status

⁠IPMI-Discover

This project aim to discover mac address of all IPMI asking IP address

⁠Requirements

⁠Development

Launch image

$ docker-compose up -d

Enter inside container

$ docker-compose exec ipmi-discover bash

This folder is synced with /code/ in container so all python deps are inside container

⁠How to

By default this tool wait 60 seconds for kea to alloc ip then parse it's log

To use this image you must provide a kea configuration in the container at /kea-config.json and log to a file

You can change options from command execute /launch-services.sh:

  • -t or --time to change time to wait for kea alloc by default 60
  • --kea-log-output to change where is store log by default /var/log/kea-debug.log
  • --kea-start command to launch kea by default /usr/sbin/kea-dhcp4 -c /kea-config.json

docker-compose example:

version: '3'
services:
  ipmi-discover:
    image: itsalex/ipmi-discover
    restart: unless-stopped
    network_mode: host
    command: /launch-services.sh -t 60
    volumes:
      - ./kea-config.json:/kea-config.json

output:

[{
	"vendor": {
		"description": "PcsCompu",
		"name": "PcsCompu"
	},
	"ip": "192.168.0.12",
	"mac": "08:00:27:8a:17:9b",
	"ipmi": false
}, {
	"vendor": {
		"description": "PcsCompu",
		"name": "PcsCompu"
	},
	"ip": "192.168.0.12",
	"mac": "08:00:27:8a:17:9b",
	"ipmi": false
}]

⁠License

AGPL⁠

Tag summary

Content type

Image

Digest

Size

117.7 MB

Last updated

over 8 years ago

docker pull itsalex/ipmi-discover