Bug 1390995 - switch type property is not set on bonds when issuing setupnetworks command
Summary: switch type property is not set on bonds when issuing setupnetworks command
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: ovirt-4.0.6
: ---
Assignee: Martin Mucha
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-02 11:37 UTC by Martin Mucha
Modified: 2017-01-18 07:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-18 07:27:18 UTC
oVirt Team: Network
danken: ovirt-4.0.z?
danken: ovirt-4.1?
rule-engine: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 65416 0 None None None 2016-11-02 11:38:44 UTC
oVirt gerrit 65793 0 None None None 2016-11-02 11:37:36 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.