ExCEP.Codec.Services.Management (ex_cep v0.1.1)

Copy Markdown

Builders for all Management Channel (TCP 9901) ASDUs per CSG CEP TS2.2 Section 7:

  • 7.2 / 7.3 Time Sync & Time Read (TimeSyncReq/Resp, TimeReadReq/Resp)
  • 7.4 Device Management (DeviceUpdate*, DeviceCtrl*, DeviceInfo*, DeviceStatus*, DeviceConfig*, SysAlarm)
  • 7.5 Container Management (ConInstall*, ConStatus*, ConStart*, ConStop*, ConRestart*, ConRemove*, ConGetConfig*, ConSetConfig*, ConAlarm)
  • 7.6 Application Management (AppInstall*, AppStatus*, AppStart*, AppStop*, AppRemove*, AppEnable*, AppDisable*, AppGetConfig*, AppSetConfig*, AppAlarm)
  • 7.7 Log Management (DeviceGetLog*, ContGetLog*, AppGetLog*)

Summary

Functions

Note: Table 35 in TS2.2 uses "DeviceUpdateResp" for the upgrade status response FunName.

Functions

app_alarm(node_id, container, app, event_code, msg \\ nil, opts \\ [])

app_disable_req(node_id, container, app, opts \\ [])

app_disable_resp(req, result, opts \\ [])

app_enable_req(node_id, container, app, opts \\ [])

app_enable_resp(req, result, opts \\ [])

app_get_config_req(node_id, container, app \\ nil, opts \\ [])

app_get_config_resp(req, app_cfgs)

app_get_log_req(node_id, container, app, opts \\ [])

app_get_log_resp(req, result, opts \\ [])

app_install_req(node_id, job_id, container, app, version, file_map, opts \\ [])

app_install_resp(req, result, opts \\ [])

app_install_result(node_id, job_id, result, opts \\ [])

app_install_status_req(node_id, job_id, opts \\ [])

app_install_status_resp(req, progress, state)

app_remove_req(node_id, container, app, opts \\ [])

app_remove_resp(req, result, opts \\ [])

app_set_config_req(node_id, container, app, cfg_cpu, cfg_mem, opts \\ [])

app_set_config_resp(req, result, opts \\ [])

app_start_req(node_id, container, app, opts \\ [])

app_start_resp(req, result, opts \\ [])

app_status_req(node_id, container, app \\ nil, opts \\ [])

app_status_resp(req, container, app_status_list)

app_stop_req(node_id, container, app, opts \\ [])

app_stop_resp(req, result, opts \\ [])

con_alarm(node_id, container, event_code, msg \\ nil, opts \\ [])

con_get_config_req(node_id, container \\ nil, opts \\ [])

con_get_config_resp(req, cont_cfgs)

con_install_req(node_id, container, params \\ %{}, opts \\ [])

con_install_resp(req, result, opts \\ [])

con_remove_req(node_id, container, opts \\ [])

con_remove_resp(req, result, opts \\ [])

con_restart_req(node_id, container, opts \\ [])

con_restart_resp(req, result, opts \\ [])

con_set_config_req(node_id, container, cfg_map, opts \\ [])

con_set_config_resp(req, result, opts \\ [])

con_start_req(node_id, container, opts \\ [])

con_start_resp(req, result, opts \\ [])

con_status_req(node_id, container \\ nil, opts \\ [])

con_status_resp(req, cont_status_list)

con_stop_req(node_id, container, opts \\ [])

con_stop_resp(req, result, opts \\ [])

cont_get_log_req(node_id, container, opts \\ [])

cont_get_log_resp(req, result, opts \\ [])

device_config_req(node_id, config_map, opts \\ [])

device_config_resp(req, result, opts \\ [])

device_ctrl_req(node_id, action, opts \\ [])

device_ctrl_resp(req, result, opts \\ [])

device_get_log_req(node_id, opts \\ [])

device_get_log_resp(req, result, opts \\ [])

device_info_req(node_id, opts \\ [])

device_info_resp(req, info_map)

device_status_req(node_id, opts \\ [])

device_status_resp(req, status_map)

device_update_req(node_id, job_id, version, upgrade_type, file_map, opts \\ [])

device_update_resp(req, result, opts \\ [])

device_update_result(node_id, job_id, result, opts \\ [])

device_update_status_req(node_id, job_id, opts \\ [])

device_update_status_resp(req, progress, state)

Note: Table 35 in TS2.2 uses "DeviceUpdateResp" for the upgrade status response FunName.

sys_alarm(node_id, event_code, msg \\ nil, opts \\ [])

time_read_req(node_id, opts \\ [])

time_read_resp(req, time \\ nil)

time_sync_req(node_id, time \\ nil, opts \\ [])

time_sync_resp(req, result, opts \\ [])