mirror of
https://github.com/Telecominfraproject/wlan-cloud-loadsim.git
synced 2026-01-06 12:01:31 +00:00
Fixing API
This commit is contained in:
@@ -323,9 +323,6 @@ t1_key()->
|
||||
import_ca("sim1","mypassword","tip2-cakey.pem","tip2-cacert.pem"),
|
||||
c1().
|
||||
|
||||
t2_key()->
|
||||
import_ca("sim1","","sim1_key.pem","sim1_cert.pem").
|
||||
|
||||
c1()->
|
||||
Simulation = #simulation{ name = <<"sim1">>,
|
||||
ca = <<"sim1">>,
|
||||
@@ -337,3 +334,18 @@ c1()->
|
||||
nodes = ['simnode1@debfarm1-node-c.arilia.com'] },
|
||||
simengine:create(Simulation).
|
||||
|
||||
r1(X)->
|
||||
w(X),
|
||||
push_simulation("sim1"),
|
||||
timer:sleep(1000),
|
||||
start_simulation("sim1").
|
||||
|
||||
w(X)->
|
||||
case length(nodes()) of
|
||||
X -> ok;
|
||||
_ -> timer:sleep(1000), w(X)
|
||||
end.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user