Project

General

Profile

« Previous | Next » 

Revision 8c678130

Added by Tomáš Strachota about 9 years ago

Fixes #9480 - multiple NICs integration with compute profiles

From users point of view:
- interfaces setup in compute profiles is back
- interface related compute attrs get merged into host NICs upon compute
profile selection
- NIC overview table displays details in the column "Type"
- UI for direct creation of VMs fixed
- fixed removing interfaces and volumes from compute profiles

From technical point of view:
- NIC overview table is always built by js
- templates for compute resources got more structure (split to partials
"base", "interface", "volume")
- compute resources can provide custom implementation of
'providerSpecificNICInfo' function

(cherry picked from commit 6d05514ad02676067389f44c4ba1d3daf357884b)

View differences:

test/unit/compute_profile_test.rb
end
test "compute profile with associated attributes can be destroyed" do
assert_difference('ComputeAttribute.count', -2) do
assert_difference('ComputeAttribute.count', -3) do
assert compute_attributes(:three).compute_profile.destroy
end
end

Also available in: Unified diff