Project

General

Profile

Actions

Bug #15735

closed

Subnet is not selected with domain

Added by Lukas Zapletal over 8 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

New Host.png View New Host.png 121 KB Swapnil Abnave, 10/13/2016 03:24 AM

Related issues 1 (0 open1 closed)

Related to Discovery - Feature #4426: Allow changing/setting of organisation and location in the "Provision Host" screenClosedLukas Zapletal02/24/2014Actions
Actions

Also available in: Atom PDF