openstack.identity.v3.system

The System Class

The System class inherits from Resource.

class openstack.identity.v3.system.System(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

resource_key = 'system'

Singular form of key for resource.

base_path = '/system'

The base part of the URI for this resource.

assign_role_to_user(session, user, role)

Assign role to user on system

validate_user_has_role(session, user, role)

Validates that a user has a role on a system

unassign_role_from_user(session, user, role)

Unassigns a role from a user on a system

assign_role_to_group(session, group, role)

Assign role to group on system

validate_group_has_role(session, group, role)

Validates that a group has a role on a system

unassign_role_from_group(session, group, role)

Unassigns a role from a group on a system