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:
Gets the is_enabled of this OlvmFencingPolicy.
Gets the is_skip_if_gluster_bricks_up of this OlvmFencingPolicy.
Gets the is_skip_if_gluster_quorum_not_met of this OlvmFencingPolicy.
Gets the skip_if_connectivity_broken of this OlvmFencingPolicy.
Gets 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.
- property 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
- property 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
- property 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
- property skip_if_connectivity_broken¶
Gets the skip_if_connectivity_broken of this OlvmFencingPolicy.
- Returns
The skip_if_connectivity_broken of this OlvmFencingPolicy.
- Return type
- property skip_if_sd_active¶
Gets the skip_if_sd_active of this OlvmFencingPolicy.
- Returns
The skip_if_sd_active of this OlvmFencingPolicy.
- Return type