Comment 1 for bug 1262697

Revision history for this message
Aleksandr Shaposhnikov (alashai8) wrote :

Quick look over the code give me strong impression that bonded interfaces doesn't support using of splinters on bond slaves at all. Easiest way to implement is to add additional parameter "vlan_splinters" to bond creation/transformation procedure in l2_ovs_bond type, and the following lines to l2_ovs_bond function:

        for inter in @resource[:interfaces]
        vsctl('--', "set", "Interface", inter.to_s , "other-config:enable-vlan-splinters=true")
        end

That is the easiest way but kinda copy'n'paste looks not so good. Better to granulate vlan-splinters enabling function and call it BEFORE any transformations and execute it on each required interface because this functions shouldn't be affected by role in which these interfaces used for.