keystone  18.0.0
About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Victoria" series (maintained release).
  Fossies Dox: keystone-18.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

keystone.notifications.Audit Class Reference
Inheritance diagram for keystone.notifications.Audit:
[legend]
Collaboration diagram for keystone.notifications.Audit:
[legend]

Public Member Functions

def created (cls, resource_type, resource_id, initiator=None, public=True, reason=None)
 
def updated (cls, resource_type, resource_id, initiator=None, public=True, reason=None)
 
def disabled (cls, resource_type, resource_id, initiator=None, public=True, reason=None)
 
def deleted (cls, resource_type, resource_id, initiator=None, public=True, reason=None)
 
def added_to (cls, target_type, target_id, actor_type, actor_id, initiator=None, public=True, reason=None)
 
def removed_from (cls, target_type, target_id, actor_type, actor_id, initiator=None, public=True, reason=None)
 
def internal (cls, resource_type, resource_id, reason=None)
 

Private Member Functions

def _emit (cls, operation, resource_type, resource_id, initiator, public, actor_dict=None, reason=None)
 

Detailed Description

Namespace for audit notification functions.

This is a namespace object to contain all of the direct notification
functions utilized for ``Manager`` methods.

Definition at line 116 of file notifications.py.

Member Function Documentation

◆ _emit()

def keystone.notifications.Audit._emit (   cls,
  operation,
  resource_type,
  resource_id,
  initiator,
  public,
  actor_dict = None,
  reason = None 
)
private
Directly send an event notification.

:param operation: one of the values from ACTIONS
:param resource_type: type of resource being affected
:param resource_id: ID of the resource affected
:param initiator: CADF representation of the user that created the
                  request
:param public: If True (default), the event will be sent to the
               notifier API.  If False, the event will only be sent via
               notify_event_callbacks to in process listeners
:param actor_dict: dictionary of actor information in the event of
                   assignment notification
:param reason: pycadf object containing the response code and
               message description

Definition at line 124 of file notifications.py.

References keystone.notifications._create_cadf_payload(), and keystone.notifications._send_notification().

Referenced by keystone.notifications.Audit.added_to(), keystone.notifications.Audit.created(), keystone.notifications.Audit.deleted(), keystone.notifications.Audit.disabled(), keystone.notifications.Audit.internal(), keystone.notifications.Audit.removed_from(), and keystone.notifications.Audit.updated().

◆ added_to()

def keystone.notifications.Audit.added_to (   cls,
  target_type,
  target_id,
  actor_type,
  actor_id,
  initiator = None,
  public = True,
  reason = None 
)

Definition at line 184 of file notifications.py.

References keystone.notifications.Audit._emit().

◆ created()

def keystone.notifications.Audit.created (   cls,
  resource_type,
  resource_id,
  initiator = None,
  public = True,
  reason = None 
)

Definition at line 160 of file notifications.py.

References keystone.notifications.Audit._emit().

◆ deleted()

def keystone.notifications.Audit.deleted (   cls,
  resource_type,
  resource_id,
  initiator = None,
  public = True,
  reason = None 
)

Definition at line 178 of file notifications.py.

References keystone.notifications.Audit._emit().

◆ disabled()

def keystone.notifications.Audit.disabled (   cls,
  resource_type,
  resource_id,
  initiator = None,
  public = True,
  reason = None 
)

Definition at line 172 of file notifications.py.

References keystone.notifications.Audit._emit().

◆ internal()

def keystone.notifications.Audit.internal (   cls,
  resource_type,
  resource_id,
  reason = None 
)

Definition at line 202 of file notifications.py.

References keystone.notifications.Audit._emit().

◆ removed_from()

def keystone.notifications.Audit.removed_from (   cls,
  target_type,
  target_id,
  actor_type,
  actor_id,
  initiator = None,
  public = True,
  reason = None 
)

Definition at line 193 of file notifications.py.

References keystone.notifications.Audit._emit().

◆ updated()

def keystone.notifications.Audit.updated (   cls,
  resource_type,
  resource_id,
  initiator = None,
  public = True,
  reason = None 
)

Definition at line 166 of file notifications.py.

References keystone.notifications.Audit._emit().


The documentation for this class was generated from the following file: