Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SVN: tool/hwdb/src/linux/ (TBD)

Public installation: /afs/slac/g/cci/hwdb

In order to use the software add the directory to the head front of your PATH and PYTHONPATH environment variables.

...

The page "HWDB MAC address pool" shows which of the DAT group's MAC address have been allocated and which are still free. allocmac.py reads the page, allocates one MAC address, updates the page and prints the allocated address on stdout. This command requires a token generated by hwdblogin.py.

bash-3.2$ mac=$(allocmac.py --login $token)
bash-3.2$ echo $mac
08:00:56:00:43:38

...