updated two Python script examples to enter the RUNTIME state for execution
from the GUI (Boeing r1837)
This commit is contained in:
parent
fef98f30c9
commit
34c7784009
2 changed files with 3 additions and 0 deletions
|
@ -77,6 +77,7 @@ def main():
|
|||
n.append(tmp)
|
||||
|
||||
# this starts EMANE, etc.
|
||||
session.node_count = str(options.numnodes + 1)
|
||||
session.instantiate()
|
||||
|
||||
# start a shell on node 1
|
||||
|
|
|
@ -58,6 +58,8 @@ def main():
|
|||
tmp.setposition(x=150*i,y=150)
|
||||
n.append(tmp)
|
||||
|
||||
session.node_count = str(options.numnodes + 1)
|
||||
session.instantiate()
|
||||
# start a shell on node 1
|
||||
n[1].term("bash")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue