FAQ

How to change network interface driver of a virtual server instance from virtio?

(:Last updated)

It is possible to change network interface driver to other virtio ("e1000") by the method like Workaround 1 of FAQ(*1), however, please specify path key value to
'/hw_vif_model'
in the curl  command argument stated on FAQ(*1);
'-d '[{"path": "/hw_disk_bus", "value": "virtio", "op": "replace"}]'
when change network interface driver.

Concrete example is as below;

[Example]

API format for changing 'hw_vif_model' to 'e1000'

curl -i -X PATCH -H
                 'Content-Type: application/openstack-images-v2.1-json-patch'
                 -H 'X-Auth-Token: {token}' https://{endpoint}/v2/images/{image_id}
                 -d '[{"path": "/hw_vif_model", "value": "e1000", "op": "add"}]'

API format for changing 'hw_vif_model' to 'virtio'

curl -i -X PATCH -H
                 'Content-Type: application/openstack-images-v2.1-json-patch'
                 -H 'X-Auth-Token: {token}' https://{endpoint}/v2/images/{image_id}
                 -d '[{"path": "/hw_vif_model", "value": "virtio", "op": "replace"}]'

* Please note there is a possibility that the I/O performance will down if you change the driver other "virtio".
*1 Unable to deploy Storage Spaces on Windows Server on Instance.

Is this page helpful?

Yes No

We appreciate your cooperation in improving the site

Did this FAQ be helpful? If you have any comments, please let us know.

Thank you

Your feedback has been received.