Francesco Romani has posted comments on this change.

Change subject: virt: Handle disconnects only if endpoints match
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.ovirt.org/#/c/43141/1/vdsm/virt/vm.py
File vdsm/virt/vm.py:

Line 918:                 self.shutdown(delay=delay, reboot=False, 
timeout=timeout,
Line 919:                               message='Scheduled shutdown on 
disconnect',
Line 920:                               force=True)
Line 921: 
Line 922:     def onDisconnect(self, detail=None, clientIp='', clientPort=''):
'detail' seems unused. If really so, let's drop it in a future, unrelated patch.
Line 923:         if self.conf['clientIp'] != clientIp:
Line 924:             self.log.debug('Ignoring disconnect event because ip 
differs')
Line 925:             return
Line 926:         if self._clientPort and self._clientPort != clientPort:


-- 
To view, visit https://gerrit.ovirt.org/43141
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Idfb3441407aa6e7bc31d37304bce0076e12bb1a3
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to