projects
/
osm
/
vim-emu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new example topology
[osm/vim-emu.git]
/
src
/
emuvim
/
examples
/
son-monitor_default_topo.py
diff --git
a/src/emuvim/examples/son-monitor_default_topo.py
b/src/emuvim/examples/son-monitor_default_topo.py
index
29893ae
..
a9649b2
100755
(executable)
--- a/
src/emuvim/examples/son-monitor_default_topo.py
+++ b/
src/emuvim/examples/son-monitor_default_topo.py
@@
-79,7
+79,9
@@
def exit_gracefully(signum, frame):
"""
7. At shutdown, we should receive th SIGTERM signal here and shutdown gracefully
"""
"""
7. At shutdown, we should receive th SIGTERM signal here and shutdown gracefully
"""
- # TODO: investigate why this is not called by the sigterm handler
+ # TODO: investigate why this is not called by the sigterm handler,
+ # probably because son-emu container is started with pid=host, so the started python script has not pid=0
+ # and docker stop only sends sigterm to pid=0
global net
global cli
global net
global cli