The HAL cmm interface is the interface that the driver can consume to produce notifications to the CMM.
More...
The HAL cmm interface is the interface that the driver can consume to produce notifications to the CMM.
hal_result_t hal_cmm_notify_monitoring_state_changed |
( |
monitoring_snapshot_state_t * |
monitoring_snapshot | ) |
|
Notify a monitoring state change to CMM.
- Parameters
-
monitoring_snapshot | Snapshot of the current monitoring state. The snapshot MUST be deleted using monitoring_destroy_snapshot() |
HAL_BEGIN_DECLS hal_result_t hal_cmm_notify_port_add |
( |
switch_port_snapshot_t * |
port_snapshot | ) |
|
Notify the CMM that a port has been added to the system.
This function shall NOT be called when an exisiting port attachment status changes. When a new port is automatically attached to an LSI, then the port_add message implicitely means an attachment to an LSI.
- Parameters
-
port_snapshot | Snapshot of the current state of a switch port. The snapshot MUST be deleted using switch_port_destroy_snapshot() |
hal_result_t hal_cmm_notify_port_delete |
( |
switch_port_snapshot_t * |
port_snapshot | ) |
|
Notifies the CMM that port has been deleted from the platform.
This function shall NOT be called when a port attachment status changes. When a port deletion happens on an attached port, then the port deletion of an attached port implicitly means a detachment of the port from the LSI.
- Parameters
-
port_snapshot | Snapshot of the current state of a switch port. The snapshot MUST be deleted using switch_port_destroy_snapshot() |
hal_result_t hal_cmm_notify_port_status_changed |
( |
switch_port_snapshot_t * |
port_snapshot | ) |
|
Notify the CMM of a port status change.
This function shall NOT be called when a port attachment status changes.
- Parameters
-
port_snapshot | Snapshot of the current state of a switch port. The snapshot MUST be deleted using switch_port_destroy_snapshot() |