Merge lp:~rvb/maas-test/bmc-params-1 into lp:maas-test
Proposed by
Raphaël Badin
Status: | Merged |
---|---|
Merged at revision: | 49 |
Proposed branch: | lp:~rvb/maas-test/bmc-params-1 |
Merge into: | lp:maas-test |
Diff against target: |
116 lines (+79/-1) 2 files modified
maastest/tests/test_utils.py (+56/-0) maastest/utils.py (+23/-1) |
To merge this branch: | bzr merge lp:~rvb/maas-test/bmc-params-1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | Disapprove | ||
Graham Binns (community) | Approve | ||
Review via email: mp+196107@code.launchpad.net |
Commit message
Add utility to parse nmap output.
Description of the change
This is the first branch in a series of branches aimed at adding a fully-automated, non-interactive testing mode where all the BMC details (MAC address, username and password) are given on the command line and then used to power up the node instead of asking the user to do that manually.
This branch adds a simple utility: a parser for the output of nmap. We will use nmap to scan the network and find the IP address of the BMC given its MAC address.
To post a comment you must log in.
You need to rethink this, please don't use NMAP. It is largely disallowed on many networks.
There is a utility for working out IPs from MACs, it's called "arp". Better still perhaps use ipmiping.