How to test Accelerated Networking VF removal?

Josh Knight 40 Reputation points
2024-01-08T19:48:25.4866667+00:00

We are developing a DPDK-based application on a VM with Accelerated Networking enabled. According to the Azure documentation, for host servicing reasons there can be times when the VF disappears/reappears and the synthetic network device is used during that period. My question is, is there a way to invoke this VF removal manually to test that our application will work correctly in the case where the VF is removed during host servicing?

https://learn.microsoft.com/en-us/azure/virtual-network/accelerated-networking-how-it-works#azure-host-servicing

Would disabling and then re-enabling Accelerated Networking on the interface in the Azure Portal be a valid way to test this scenario?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,067 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,778 questions
{count} votes

Accepted answer
  1. ChaitanyaNaykodi-MSFT 27,481 Reputation points Microsoft Employee Moderator
    2024-01-10T20:05:25.49+00:00

    @Josh Knight
    Thank you for your patience here I got a response back from the team.

    Can you please let us know which image you are testing MarketPlace or custom image?

    For marketplace currently it is not possible to implement such testing functionality and the team is currently tracking this capability internally. For custom image, you can add/remove the VF that will simulate the behavior. As shown here.

    Hope this helps! Please let me know if you have any additional questions. Thank you!


    ​​Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Josh Knight 40 Reputation points
    2024-01-10T20:08:52.9966667+00:00

    We are using a custom image, so that linked article looks like what I was looking for. Thank you!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.