Documentation

PortCreateEnd extends AbstractEvent
in package

Table of Contents

LOG_EVENT  = 'eventus'
$errorLogName  : string
$warningLogName  : string
$apiVersion  : string
The apiVersion to be used to retrieve services
$eventType  : EventType
The EventType, from the OpenStack definition
$jobsLogName  : string
The name of the log in which we are going to log actions performed by jobs
$module  : string
The module of the event message
$payload  : array<string|int, mixed>
The whole payload for this event message
$TENANT_ID  : string
the project id related to the affected entity
$UUID  : string
The UUID of the affected entity on the OpenStack platform
__construct()  : mixed
elaborate()  : bool
getEventType()  : EventType
getUUID()  : string
UUID Getter
logEntry()  : Activity
logEntryWithoutModel()  : Activity
logError()  : Activity
logWarning()  : Activity
retrieveUUID()  : AbstractEvent
Retrieve the UUID from the message event
log()  : array<string|int, Activity>

Constants

Properties

$warningLogName

public static string $warningLogName = "warning"

$apiVersion

The apiVersion to be used to retrieve services

protected string $apiVersion

$eventType

The EventType, from the OpenStack definition

protected EventType $eventType = \Athomos\Bennu\Modules\Cloud\Eventus\Enums\EventType::PortCreateEnd

$jobsLogName

The name of the log in which we are going to log actions performed by jobs

protected string $jobsLogName = "jobs"

$module

The module of the event message

protected string $module

$payload

The whole payload for this event message

protected array<string|int, mixed> $payload

$TENANT_ID

the project id related to the affected entity

protected string $TENANT_ID

$UUID

The UUID of the affected entity on the OpenStack platform

protected string $UUID

Methods

__construct()

public __construct(string $apiVersion, string $module, array<string|int, mixed> $payload) : mixed
Parameters
$apiVersion : string
$module : string
$payload : array<string|int, mixed>
Return values
mixed

getUUID()

UUID Getter

public getUUID() : string
Return values
string

logEntry()

public static logEntry(Model $model, array<string|int, mixed> $properties, string $description, string $event, string $logName) : Activity
Parameters
$model : Model
$properties : array<string|int, mixed>
$description : string
$event : string
$logName : string
Return values
Activity

logEntryWithoutModel()

public static logEntryWithoutModel(array<string|int, mixed> $properties, string $description, string $event, string $logName) : Activity
Parameters
$properties : array<string|int, mixed>
$description : string
$event : string
$logName : string
Return values
Activity

logError()

public static logError(Model $model, array<string|int, mixed> $properties, string $description, string $event) : Activity
Parameters
$model : Model
$properties : array<string|int, mixed>
$description : string
$event : string
Return values
Activity

logWarning()

public static logWarning(Model $model, array<string|int, mixed> $properties, string $description, string $event) : Activity
Parameters
$model : Model
$properties : array<string|int, mixed>
$description : string
$event : string
Return values
Activity

log()

protected log(Model|array<string|int, mixed> $models, array<string|int, mixed> $properties, string $description[, null $logName = null ]) : array<string|int, Activity>
Parameters
$models : Model|array<string|int, mixed>
$properties : array<string|int, mixed>
$description : string
$logName : null = null
Return values
array<string|int, Activity>

Search results