Actions
Bug #15735
closedSubnet is not selected with domain
Status:
Rejected
Priority:
Low
Assignee:
-
Category:
Discovery plugin
Description
If you create a hostgroup that defines both subnet and domain and select it in the modal dialog, primary interface domain is set correctly but subnet is blank. Provisioning does work fine, but we should perhaps select it correctly.
When fixing this, add a test in test_edit_form_submit_parameters:
assert_select '#host_interfaces_attributes_0_subnet_id [selected]' do |e| assert_equal hostgroup.subnet_id.to_s, e.first[:value] end
Files
Actions