OlvmFencingPolicy¶
-
class
oci.cloud_migrations.models.OlvmFencingPolicy(**kwargs)¶ Bases:
objectRepresents a cluster fencing policy.
Methods
__init__(**kwargs)Initializes a new OlvmFencingPolicy object with values from keyword arguments. Attributes
is_enabledGets the is_enabled of this OlvmFencingPolicy. is_skip_if_gluster_bricks_upGets the is_skip_if_gluster_bricks_up of this OlvmFencingPolicy. is_skip_if_gluster_quorum_not_metGets the is_skip_if_gluster_quorum_not_met of this OlvmFencingPolicy. skip_if_connectivity_brokenGets the skip_if_connectivity_broken of this OlvmFencingPolicy. skip_if_sd_activeGets the skip_if_sd_active of this OlvmFencingPolicy. -
__init__(**kwargs)¶ Initializes a new OlvmFencingPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - is_enabled (bool) – The value to assign to the is_enabled property of this OlvmFencingPolicy.
- skip_if_connectivity_broken (oci.cloud_migrations.models.SkipIfConnectivityBroken) – The value to assign to the skip_if_connectivity_broken property of this OlvmFencingPolicy.
- is_skip_if_gluster_bricks_up (bool) – The value to assign to the is_skip_if_gluster_bricks_up property of this OlvmFencingPolicy.
- is_skip_if_gluster_quorum_not_met (bool) – The value to assign to the is_skip_if_gluster_quorum_not_met property of this OlvmFencingPolicy.
- skip_if_sd_active (oci.cloud_migrations.models.SkipIfSdActive) – The value to assign to the skip_if_sd_active property of this OlvmFencingPolicy.
-
is_enabled¶ Gets the is_enabled of this OlvmFencingPolicy. Enable or disable fencing on this cluster.
Returns: The is_enabled of this OlvmFencingPolicy. Return type: bool
-
is_skip_if_gluster_bricks_up¶ Gets the is_skip_if_gluster_bricks_up of this OlvmFencingPolicy. A flag indicating if fencing should be skipped if Gluster bricks are up and running in the host being fenced.
Returns: The is_skip_if_gluster_bricks_up of this OlvmFencingPolicy. Return type: bool
-
is_skip_if_gluster_quorum_not_met¶ Gets the is_skip_if_gluster_quorum_not_met of this OlvmFencingPolicy. A flag indicating if fencing should be skipped if Gluster bricks are up and running and Gluster quorum will not be met without those bricks.
Returns: The is_skip_if_gluster_quorum_not_met of this OlvmFencingPolicy. Return type: bool
-
skip_if_connectivity_broken¶ Gets the skip_if_connectivity_broken of this OlvmFencingPolicy.
Returns: The skip_if_connectivity_broken of this OlvmFencingPolicy. Return type: oci.cloud_migrations.models.SkipIfConnectivityBroken
-
skip_if_sd_active¶ Gets the skip_if_sd_active of this OlvmFencingPolicy.
Returns: The skip_if_sd_active of this OlvmFencingPolicy. Return type: oci.cloud_migrations.models.SkipIfSdActive
-