Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
751b48a5
Commit
751b48a5
authored
Feb 05, 2016
by
Leigh B Stoller
Browse files
Send a geni sliverstatus event whenever we see a local node status change
event.
parent
1a3c6c94
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/event/igevent_daemon.in
View file @
751b48a5
...
...
@@ -194,6 +194,7 @@ sub callback($$$)
if
(
!
defined
(
$objtype
)
||
(
$objtype
ne
TBDB_TBEVENT_NODESTATE
()
&&
$objtype
ne
TBDB_TBEVENT_NODESTARTSTATUS
()
&&
$objtype
ne
TBDB_TBEVENT_NODESTATUS
()
&&
$objtype
ne
TBDB_TBEVENT_NODEACCOUNTS
()));
my
$node_id
=
event_notification_get_objname
(
$handle
,
$notification
);
...
...
@@ -233,6 +234,7 @@ sub callback($$$)
# and forward directly (above).
#
if
(
$objtype
eq
TBDB_TBEVENT_NODESTATE
()
||
$objtype
eq
TBDB_TBEVENT_NODESTATUS
()
||
$objtype
eq
TBDB_TBEVENT_NODEACCOUNTS
())
{
my
$oldstatus
=
$sliver
->
status
();
my
$newstatus
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment