Merge lp:~rvb/maas-test/bmc-params-3 into lp:maas-test
Proposed by
Raphaël Badin
Status: | Merged |
---|---|
Merged at revision: | 49 |
Proposed branch: | lp:~rvb/maas-test/bmc-params-3 |
Merge into: | lp:maas-test |
Prerequisite: | lp:~rvb/maas-test/bmc-params-2 |
Diff against target: |
145 lines (+76/-0) 2 files modified
maastest/kvmfixture.py (+22/-0) maastest/tests/test_kvmfixture.py (+54/-0) |
To merge this branch: | bzr merge lp:~rvb/maas-test/bmc-params-3 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | Disapprove | ||
Graham Binns (community) | Approve | ||
Review via email: mp+196109@code.launchpad.net |
Commit message
Add get_ip_
Description of the change
This new utility is used to find the BMC's IP address. Yes, I reckon it's a bit cavalier to install 'nmap' every time the method is called but: a) once the package is installed, this really takes a second to return b) this method really should be used once (if that assumption becomes false, we might want to revisit this code).
To post a comment you must log in.
[0] packages( ['nmap' ])
22 + self.install_
I can't actually think of any reason not to do this when setting up the machine... although it's probably much of a muchness as long as this is only called once.