[ovirt-users] reporting and removing unmanaged networks after deprecating org.ovirt.engine.core.common.action.VdcActionType#SetupNetworks
Martin Mucha
mmucha at redhat.com
Mon Feb 2 12:21:40 UTC 2015
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/{unmanaged_network_name}
=======================
any ideas, hints, complaints, recommendations, confirmations are welcomed.
Martin.
More information about the Users
mailing list