bifrost/playbooks/inventory/baremetal.csv.example
Julia Kreger 6323a1c510 Add functional testing of CSV file parsing
The CSV file parsing feature of bifrost is ultimately the most logic
heavy feature of the inventory and thus sensitive to change.

As a result, we need test supplying input and see if our expected
output results. Variations added including base ssh/vm testing,
ipmi with and without bridging, and if a DHCP address is defined.
Testing the results of these combonations should help identify any
changes to the CSV parsing that may break users.

As part of this, it was realized the CSV example lacks a driver filed
example, and minor tweak of the unit testing file.

Change-Id: Id50db2387dac32a9c16e927db309a32a7806d7cc
Partial-Bug: 1499801
2015-11-05 23:36:37 -05:00

8 lines
962 B
Plaintext

00:1c:ab:8a:97:eb,root,undefined,192.168.122.1,1,8192,512,Control,VM,a8cb6624-0d9f-c882-affc-046ebb96ec01,hostname0,192.168.1.2,,,,,agent_ipmitool
00:2b:b7:65:83:19,root,undefined,192.168.122.1,1,8192,512,Control,VM,a8cb6624-0d9f-c882-affc-046ebb96ec02,hostname1,192.168.1.3,,,,,pxe_ipmitool
00:3a:ca:56:7d:2e,root,undefined,192.168.122.1,1,8192,512,Control,VM,a8cb6624-0d9f-c882-affc-046ebb96ec03,hostname2,192.168.1.4,,,,
00:4e:d5:45:6f:31,root,undefined,192.168.122.1,1,8192,512,SwiftStorage,VM,a8cb6624-0d9f-c882-affc-046ebb96ec04,hostname3,192.168.1.5,,,,
00:5a:ed:39:57:31,root,undefined,192.168.122.1,1,8192,512,SwiftStorage,VM,a8cb6624-0d9f-c882-affc-046ebb96ec05,hostname4,192.168.1.6,,,,
00:6a:f8:2b:41:35,root,undefined,192.168.122.1,1,8192,512,Compute,VM,a8cb6624-0d9f-c882-affc-046ebb96ec06,hostname5,192.168.1.7,,,,
00:7f:9c:11:38:17,root,undefined,192.168.122.1,1,8192,512,Compute,VM,a8cb6624-0d9f-c882-affc-046ebb96ec07,hostname6,192.168.1.8,,,,