mirror of
https://github.com/Telecominfraproject/wlan-cloud-loadsim.git
synced 2025-10-29 17:52:34 +00:00
Refactor inventory module
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
-record( client_info, {
|
||||
name = <<>> :: binary(),
|
||||
ca = <<>> :: binary(),
|
||||
sim_name = <<>> :: binary(),
|
||||
cap = [] :: [client_role()],
|
||||
wan_mac0 = <<>> :: binary(), %% MAC is XX:XX:XX:XX:XX:XX lowercase
|
||||
lan_mac0 = <<>> :: binary(), %% MAC is XX:XX:XX:XX:XX:XX lowercase
|
||||
@@ -66,6 +67,7 @@
|
||||
name = <<>> :: binary(),
|
||||
service = none :: service_role(),
|
||||
ca = <<>> :: binary(),
|
||||
sim_name = <<>> :: binary(),
|
||||
description = <<>> :: binary(),
|
||||
type = <<>> :: binary(),
|
||||
version = <<>> :: binary(),
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
current_op_pid = none :: none | pid(),
|
||||
current_op = none :: none | preparing | pushing | starting | pausing | stopping | restarting | cancelling ,
|
||||
state = created :: created | prepared | pushed | started | paused | stopped | restarted | cancelled ,
|
||||
start = none :: none | erlang:timestamp(),
|
||||
start = 0 :: non_neg_integer(),
|
||||
current_cb = none :: none | notification_cb(),
|
||||
outstanding_nodes = [] :: [node()],
|
||||
sim_info :: simulation()
|
||||
|
||||
@@ -43,7 +43,9 @@
|
||||
}).
|
||||
|
||||
-type stat_report() :: #stat_report{}.
|
||||
-type generic_stat_report()::#{atom()=>term()}.
|
||||
|
||||
-export_type([stat_report/0,generic_stat_report/0]).
|
||||
|
||||
-export_type([stat_report/0]).
|
||||
|
||||
-endif.
|
||||
Reference in New Issue
Block a user