Hi,
I'd like to discuss how to properly report unmanaged networks and how to ask for their
removal after
org.ovirt.engine.core.common.action.VdcActionType#SetupNetworks
is removed.
We thought about several possibilities and so far the best one is following one.
Reporting unmanaged networks on specific nic:
———————————————————————————————————————————————
We'd like to return new collection under:
GET
http://localhost:8080/api/hosts/{id}/nics/{id}/unmanagednetworks
returning (reporting) unmanaged networks like this:
<unmanaged_networks>
<unmanaged_network>
<nic_name>...</nic_name>
<unmanaged_network_name>...</unmanaged_network_name>
<vland_id>...</vland_id>
</unmanaged_network>
<unmanaged_network>
...
</unmanaged_network>
</unmanaged_networks>
Removing unmanagedNetworks:
—————————————————————————————
DELETE
http://localhost:8080/api/hosts/{id}/nics/{id}/unmanagednetworks/{unmanag...
=======================
any ideas, hints, complaints, recommendations, confirmations are welcomed.
Martin.