Open digimer opened 2 months ago
The back-end is ready for testing.
Confirmed manually to be working.
For the tests, call anvil-manage-server-network --server <server_uuid> --mac 52:54:00:aa:bb:cc --unplug
and then wait for the output from virsh dumpxml <server_name>
to show:
<interface type='bridge'>
<mac address='52:54:00:aa:bb:cc'/>
<source bridge='ifn1_bridge1'/>
<target dev='vnet1'/>
<model type='virtio'/>
<link state='down'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</interface>
Key is <link state='down'/>
. Then call again with --plug
and wait for that to either change to <link state='up'/>
or for the link state
element to disappear.
This is a frequently used task with a lot of our users, we need to add support for it to the UI. Once the back-end is done, hand over to @ylei-tsubame for UI integration.