DpdConfig¶
-
class
oci.vn_monitoring.models.
DpdConfig
(**kwargs)¶ Bases:
object
These configuration details are used for dead peer detection (DPD). DPD periodically checks the stability of the connection to the customer premises (CPE), and may be used to detect that the link to the CPE has gone down.
Attributes
DPD_MODE_INITIATE_AND_RESPOND
A constant which can be used with the dpd_mode property of a DpdConfig. DPD_MODE_RESPOND_ONLY
A constant which can be used with the dpd_mode property of a DpdConfig. dpd_mode
Gets the dpd_mode of this DpdConfig. dpd_timeout_in_sec
Gets the dpd_timeout_in_sec of this DpdConfig. Methods
__init__
(**kwargs)Initializes a new DpdConfig object with values from keyword arguments. -
DPD_MODE_INITIATE_AND_RESPOND
= 'INITIATE_AND_RESPOND'¶ A constant which can be used with the dpd_mode property of a DpdConfig. This constant has a value of “INITIATE_AND_RESPOND”
-
DPD_MODE_RESPOND_ONLY
= 'RESPOND_ONLY'¶ A constant which can be used with the dpd_mode property of a DpdConfig. This constant has a value of “RESPOND_ONLY”
-
__init__
(**kwargs)¶ Initializes a new DpdConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - dpd_mode (str) – The value to assign to the dpd_mode property of this DpdConfig. Allowed values for this property are: “INITIATE_AND_RESPOND”, “RESPOND_ONLY”
- dpd_timeout_in_sec (int) – The value to assign to the dpd_timeout_in_sec property of this DpdConfig.
-
dpd_mode
¶ Gets the dpd_mode of this DpdConfig. This option defines whether DPD can be initiated from the Oracle side of the connection.
Allowed values for this property are: “INITIATE_AND_RESPOND”, “RESPOND_ONLY”
Returns: The dpd_mode of this DpdConfig. Return type: str
-
dpd_timeout_in_sec
¶ Gets the dpd_timeout_in_sec of this DpdConfig. DPD timeout in seconds. This sets the longest interval between CPE device health messages before the IPSec connection indicates it has lost contact with the CPE. The default is 20 seconds.
Returns: The dpd_timeout_in_sec of this DpdConfig. Return type: int
-