Bug 1390995

Summary: switch type property is not set on bonds when issuing setupnetworks command
Product: [oVirt] ovirt-engine Reporter: Martin Mucha <mmucha>
Component: BLL.NetworkAssignee: Martin Mucha <mmucha>
Status: CLOSED CURRENTRELEASE QA Contact: Meni Yakove <myakove>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: bugs, danken, gklein, mburman, mmucha
Target Milestone: ovirt-4.0.6Flags: danken: ovirt-4.0.z?
danken: ovirt-4.1?
rule-engine: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-18 07:27:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Mucha 2016-11-02 11:37:03 UTC
Description of problem:
Switch type property is not set on bonds when issuing setupnetworks command.


How reproducible:
100%

Comment 1 Michael Burman 2016-11-20 13:43:02 UTC
Hi

What is the switch type property that should be set for an 'ovs' bond? 
It was decided(dev) that bonds in ovs cluster will be issued and created as 'linux' type bonds, so i'm wondering what will be the switch type for such bonds, 'legacy' or 'ovs' ?

Currently it is reported in caps as 'switch': 'ovs'}} is this is correct? 
vdsm-4.18.16-1.el7ev.x86_64

Comment 2 Dan Kenigsberg 2016-11-21 06:49:24 UTC
a setupNetwork command to add bonding to Vdsm should include switch: ovs in it, to tell Vdsm to prepare the bond for OvS usage.

Comment 3 Michael Burman 2016-11-21 07:30:46 UTC
Verified on - rhevm-4.0.6-0.1.el7ev.noarch

Comment 4 Martin Mucha 2016-11-21 11:04:47 UTC
(In reply to Michael Burman from comment #1)
> Hi
> 
> What is the switch type property that should be set for an 'ovs' bond? 
> It was decided(dev) that bonds in ovs cluster will be issued and created as
> 'linux' type bonds, so i'm wondering what will be the switch type for such
> bonds, 'legacy' or 'ovs' ?
> 
> Currently it is reported in caps as 'switch': 'ovs'}} is this is correct? 
> vdsm-4.18.16-1.el7ev.x86_64

I believe currently there's no change. Only there is new, so far purely experimental, possibility to specify switch type to be OVS. Once user does that, as a part of vdsm SetupNetworks command will be sent value "switch"="ovs" for all interfaces, bonds including. For the record, if switch property is not specified, "legacy" is passed, but this is default, which will be applied also if "switch" is not passed at all.