The addTestNetworkMapping method adds a test network mapping between a network on the secondary site and a network on the secondary site that is used for testing.

Synopsis

void addTestNetworkMapping(@readonly Network secondaryNetwork,
		@readonly Network destinationTestNetwork)

addTestNetworkMapping has the following fields:

Field Description
secondaryNetwork

Specifies a network on the remote recovery site

destinationTestNetwork

Specifies a test network on the remote recovery site

Faults

  • ConnectionDownFault
  • InvalidSecondaryNetwork
  • RemoteSiteNotAuthenticated
  • RuntimeFault
  • UnknownSecondaryNetwork

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