<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I'm following the example given in&nbsp;<a href="http://www.ovirt.org/develop/api/pythonapi/" class="">http://www.ovirt.org/develop/api/pythonapi/</a>&nbsp;for bonding interfaces.<br class=""><br class="">I'm checking that the network is a plain configuration, exporting&nbsp;/api/hosts/&lt;my host&gt;/nics return :<br class=""><br class=""><font face="Menlo" class="">&lt;HostNIC href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/nics/958c40cd-9ddb-4548-8bd8-79f454021c35" id="958c40cd-9ddb-4548-8bd8-79f454021c35"&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;actions&gt;<br class="">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;link href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/nics/958c40cd-9ddb-4548-8bd8-79f454021c35/attach" rel="attach"/&gt;<br class="">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;link href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/nics/958c40cd-9ddb-4548-8bd8-79f454021c35/detach" rel="detach"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;/actions&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;name&gt;eth1&lt;/name&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;link href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/nics/958c40cd-9ddb-4548-8bd8-79f454021c35/statistics" rel="statistics"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;link href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/nics/958c40cd-9ddb-4548-8bd8-79f454021c35/labels" rel="labels"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;link href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/nics/958c40cd-9ddb-4548-8bd8-79f454021c35/networkattachments" rel="networkattachments"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;host href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1" id="db240f83-9266-4892-a6d2-8ac406cadfb1"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;mac address="14:58:d0:b3:cc:f8"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;ip netmask="" address=""/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;boot_protocol&gt;none&lt;/boot_protocol&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;status&gt;<br class="">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;state&gt;down&lt;/state&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;/status&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;mtu&gt;1500&lt;/mtu&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;bridged&gt;false&lt;/bridged&gt;<br class="">&lt;/HostNIC&gt;<br class=""></font><br class=""><font face="Menlo" class="">&lt;HostNIC href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/nics/87a274e8-9633-45df-9205-1d188bd3ee4c" id="87a274e8-9633-45df-9205-1d188bd3ee4c"&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;actions&gt;<br class="">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;link href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/nics/87a274e8-9633-45df-9205-1d188bd3ee4c/attach" rel="attach"/&gt;<br class="">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;link href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/nics/87a274e8-9633-45df-9205-1d188bd3ee4c/detach" rel="detach"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;/actions&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;name&gt;eth0&lt;/name&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;link href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/nics/87a274e8-9633-45df-9205-1d188bd3ee4c/statistics" rel="statistics"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;link href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/nics/87a274e8-9633-45df-9205-1d188bd3ee4c/labels" rel="labels"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;link href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/nics/87a274e8-9633-45df-9205-1d188bd3ee4c/networkattachments" rel="networkattachments"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;host href="/api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1" id="db240f83-9266-4892-a6d2-8ac406cadfb1"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;network href="/api/networks/f429c46c-fed4-4c88-a000-36c021f5d633" id="f429c46c-fed4-4c88-a000-36c021f5d633"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;mac address="14:58:d0:b3:cc:f0"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;ip netmask="255.255.240.0" gateway="10.83.31.254" address="10.83.17.24"/&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;boot_protocol&gt;dhcp&lt;/boot_protocol&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;speed&gt;10000000000&lt;/speed&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;status&gt;<br class="">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;state&gt;up&lt;/state&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;/status&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;mtu&gt;9000&lt;/mtu&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;bridged&gt;true&lt;/bridged&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;custom_configuration&gt;false&lt;/custom_configuration&gt;<br class="">&nbsp; &nbsp;&nbsp;&lt;properties/&gt;<br class="">&lt;/HostNIC&gt;<br class=""></font><br class="">I send my configuration and get :<div class=""><br class=""><font face="Menlo" class="">&gt; POST /api/hosts/db240f83-9266-4892-a6d2-8ac406cadfb1/setupnetworks HTTP/1.1<br class="">...<br class="">&gt; my configuration<br class=""><br class="">&lt; HTTP/1.1 200 OK<br class=""><br class="">&lt; &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;<br class="">&lt; &lt;action&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp;&nbsp;&lt;host_nics&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;host_nic&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;name&gt;bond0&lt;/name&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;network&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;name&gt;ovirtmgmt&lt;/name&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;/network&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;ip address="10.83.17.24" netmask="10.83.16.0" gateway="10.83.31.254"/&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;bonding&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;options&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;option name="miimon" value="100"/&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;option name="mode" value="4"/&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;option name="xmit_hash_policy" value="2+3"/&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;/options&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;slaves&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;host_nic&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;name&gt;eth0&lt;/name&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;network/&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;ip address="*" netmask="*" gateway=""/&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;boot_protocol&gt;none&lt;/boot_protocol&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;mtu&gt;9000&lt;/mtu&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;/host_nic&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;host_nic&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;name&gt;eth1&lt;/name&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;network/&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;ip address="*" netmask="*" gateway=""/&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;boot_protocol&gt;none&lt;/boot_protocol&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;mtu&gt;9000&lt;/mtu&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;/host_nic&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;/slaves&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;/bonding&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;boot_protocol&gt;static&lt;/boot_protocol&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;mtu&gt;9000&lt;/mtu&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;override_configuration&gt;true&lt;/override_configuration&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;/host_nic&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp;&nbsp;&lt;/host_nics&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp;&nbsp;&lt;check_connectivity&gt;true&lt;/check_connectivity&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp;&nbsp;&lt;force&gt;false&lt;/force&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp;&nbsp;&lt;job href="/api/jobs/859bc27c-2060-4349-a0f5-dc1dd6333e6c" id="859bc27c-2060-4349-a0f5-dc1dd6333e6c"/&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp;&nbsp;&lt;status&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&lt;state&gt;complete&lt;/state&gt;<br class="">&lt;&nbsp;&nbsp; &nbsp;&nbsp;&lt;/status&gt;<br class="">&lt; &lt;/action&gt;<br class=""><br class=""></font><br class="">So every thing is fine, I applied my configuration.<br class=""><br class="">But in the log, I get :<br class="">2016-05-06 17:13:22,481 INFO &nbsp;[org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand] (default task-20) [30e54e04] Lock Acquired to object 'EngineLock:{exclusiveLocks='[db240f83-9266-4892-a6d2-8ac406cadfb1=&lt;HOST_NETWORK,&nbsp;ACTION_TYPE_FAILED_SETUP_NETWORKS_IN_PROGRESS&gt;]', sharedLocks='null'}'<br class="">2016-05-06 17:13:22,555 INFO&nbsp;&nbsp;[org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand] (default task-20) [30e54e04] Running command: HostSetupNetworksCommand internal: false. Entities affected :&nbsp;&nbsp;ID: db240f83-9266-4892-a6d2-8ac406cadfb1 Type: VDSAction group CONFIGURE_HOST_NETWORK with role type ADMIN<br class="">2016-05-06 17:13:22,555 INFO&nbsp;&nbsp;[org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand] (default task-20) [30e54e04] No changes were detected in setup networks for host 'nb0101' (ID: 'db240f83-9266-4892-a6d2-8ac406cadfb1')<br class="">2016-05-06 17:13:22,563 INFO&nbsp;&nbsp;[org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand] (default task-20) [30e54e04] Lock freed to object 'EngineLock:{exclusiveLocks='[db240f83-9266-4892-a6d2-8ac406cadfb1=&lt;HOST_NETWORK,&nbsp;ACTION_TYPE_FAILED_SETUP_NETWORKS_IN_PROGRESS&gt;]', sharedLocks='null'}'<br class=""><br class="">And indeed my configuration is not changed.<br class=""><br class="">What am I missing ?<br class=""><br class=""><br class=""><br class=""><br class=""></div></body></html>