AddTestNetworkMappingToRecoveryPlan

The AddTestNetworkMappingToRecoveryPlan method adds a test network mapping to a recovery plan.

Synopsis

void AddTestNetworkMappingToRecoveryPlan(
		vim.Network secondaryNetwork,
		vim.Network testNetwork)
secondaryNetwork
Specifies the network on the remote recovery site.
testNetwork
Specifies the test network on the remote recovery site.

If you call the method by passing a non existing network as a secondaryNetwork parameter, the method does not add the mapping to the recovery plan and does not throw a fault.

If you call the method by passing a non-existing test network as a testNetwork parameter, the method throws ManagedObjectNotFound.

Faults

  • ConnectionDownFault
  • NoPermission
  • RecoveryPlanLocked
  • RemoteSiteNotAuthenticated
  • VersionConflict
  • RuntimeFault

For information about the faults that Site Recovery Manager throws, see Faults in Site Recovery Manager API.