Commit 8bfdaf86 authored by Mike Hibler's avatar Mike Hibler
Browse files

Make sure make_events recognizes cloud create and clear events

so they can be used in sequences.
parent 4ae995ad
......@@ -1297,6 +1297,8 @@ Simulator instproc make_event {outer event} {
set vname $obj
switch -- $cmd {
"create" {set etype CREATE}
"clear" {set etype CLEAR}
"up" {set etype UP}
"down" {set etype DOWN}
"bandwidth" {
......@@ -1704,7 +1706,7 @@ Simulator instproc make_event {outer event} {
}
if { $otype == "" } {
perror "\[make_event] otype was empty; event was $event"
perror "\[make_event] otype was empty; event $event, class $cl"
}
return [list $vnode $vname $otype $etype $args $atstring]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment