configure_replication_nat

Configure replication partner as specified by user using NAT gateways.

def configure_replication_nat(self, username, password, source_gateway, target_gateway, ca_certificate=None, timeout=30):

Arguments

Name

Type

Description

Choices

username

str

Username for the TARGET cluster

password

str

Password for the TARGET cluster

source_gateway

list

Specification of source NAT gateway specified as [str IP, [list of portnumber(s)]]

target_gateway

list

Specification of source NAT gateway specified as [str IP, [list of portnumber(s)]]

Keyword Arguments

Name

Type

Description

Choices

Default

ca_certificate

str

CA certificiate used to perform TLS certificate validation

None

timeout

int

The number of seconds to wait to establish a connection the Rubrik cluster before returning a timeout error.

30

Returns

Type

Return Value

dict

The full API response from POST /internal/replication/target.

Example

Last updated