connection
The connection
data type describes the connection
property of the link
data type.
connection data type properties
The following table describes the properties included in the connection
data type.
Property name | Data type | Description | Notes |
localHost | String |
Identifies the local system for the replication link. Valid values are:
For more information about these values, see the description of the remoteHost property. Typically, you specify this property on a PUT request to create a link only if the system on which you’re creating the link uses network address translation (NAT) for communication with the other system. | This property is optional on a PUT request to create a replication link. |
localPort | Integer |
Specifies the port on which the local system for the replication link listens for data from the remote system. The default is 5748. Typically, you specify a different port only if other port usage makes it necessary. | This property is optional on a PUT request to create a replication link. |
remoteHost | String |
Identifies the remote system for the replication link. Valid values are:
| This property is required on a PUT request to create a replication link. |
remotePort | Integer |
Specifies the port on which the remote system for the replication link listens for data from the local system. The default is 5748. Typically, you specify a different port only if other port usage makes it necessary. | This property is optional on a PUT request to create a replication link. |
Example
Here’s an XML example of the connection
data type:
<connection> <localHost> 192.168.210.16, 192.168.210.17, 192.168.210.18, 192.168.210.19 </localHost> <localPort>5748</localPort> <remoteHost>replication.admin.hcp-ca.example.com</remoteHost> <remotePort>5748</remotePort> </connection>