Starts the virtual interface failover test that verifies your configuration meets your resiliency requirements by placing the BGP peering session in the DOWN state. You can then send traffic to verify that there are no outages.
directconnect_start_bgp_failover_test(virtualInterfaceId, bgpPeers,
testDurationInMinutes)
[required] The ID of the virtual interface you want to test.
The BGP peers to place in the DOWN state.
The time in minutes that the virtual interface failover test will last.
Maximum value: 180 minutes (3 hours).
Default: 180 minutes (3 hours).
svc$start_bgp_failover_test( virtualInterfaceId = "string", bgpPeers = list( "string" ), testDurationInMinutes = 123 )
You can run the test on public, private, transit, and hosted virtual interfaces.
You can use ListVirtualInterfaceTestHistory to view the virtual interface test history.
If you need to stop the test before the test interval completes, use StopBgpFailoverTest.