OlvmSelinux

class oci.cloud_bridge.models.OlvmSelinux(**kwargs)

Bases: object

Represents SELinux in the system

Attributes:

SE_LINUX_MODE_DISABLED

A constant which can be used with the se_linux_mode property of a OlvmSelinux.

SE_LINUX_MODE_ENFORCING

A constant which can be used with the se_linux_mode property of a OlvmSelinux.

SE_LINUX_MODE_PERMISSIVE

A constant which can be used with the se_linux_mode property of a OlvmSelinux.

se_linux_mode

Gets the se_linux_mode of this OlvmSelinux.

Methods:

__init__(**kwargs)

Initializes a new OlvmSelinux object with values from keyword arguments.

SE_LINUX_MODE_DISABLED = 'DISABLED'

A constant which can be used with the se_linux_mode property of a OlvmSelinux. This constant has a value of “DISABLED”

SE_LINUX_MODE_ENFORCING = 'ENFORCING'

A constant which can be used with the se_linux_mode property of a OlvmSelinux. This constant has a value of “ENFORCING”

SE_LINUX_MODE_PERMISSIVE = 'PERMISSIVE'

A constant which can be used with the se_linux_mode property of a OlvmSelinux. This constant has a value of “PERMISSIVE”

__init__(**kwargs)

Initializes a new OlvmSelinux object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

se_linux_mode (str) – The value to assign to the se_linux_mode property of this OlvmSelinux. Allowed values for this property are: “DISABLED”, “ENFORCING”, “PERMISSIVE”

property se_linux_mode

Gets the se_linux_mode of this OlvmSelinux. Represents an SELinux enforcement mode.

Allowed values for this property are: “DISABLED”, “ENFORCING”, “PERMISSIVE”

Returns

The se_linux_mode of this OlvmSelinux.

Return type

str