Itzik Brown has posted comments on this change.

Change subject: Adding hooks support for NIC hotplug
......................................................................


Patch Set 3: No score

(2 inline comments)

....................................................
Commit Message
Line 8: 
Line 9: Adding the ability to write hooks for events
Line 10: of NIC hotplug and hotunplug.
Line 11: Hooks are: before_nic_hotplug, after_nic_unplug
Line 12: and after_nic_hotplug_fail
I'll address it in my next patch
Line 13: 
Line 14: Change-Id: I253104ee9831a881e2fb06f0a658631662611d77


....................................................
File vdsm/libvirtvm.py
Line 1428: 
Line 1429:         nicParams = params.get('nic', {})
Line 1430:         nic = NetworkInterfaceDevice(self.conf, self.log, 
**nicParams)
Line 1431:         nicXml = nic.getXML().toprettyxml(encoding='utf-8')
Line 1432:         nicXml = hooks.before_nic_hotplug(nicXml, self.conf)
I think that since there is no option in the engine to see or change these 
parameters.I'll send a message to the mailing list so we can design it together.
Line 1433:         self.log.debug("Hotplug NIC xml: %s" % (nicXml))
Line 1434: 
Line 1435:         try:
Line 1436:             self._dom.attachDevice(nicXml)


--
To view, visit http://gerrit.ovirt.org/7224
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I253104ee9831a881e2fb06f0a658631662611d77
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Itzik Brown <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Igor Lvovsky <[email protected]>
Gerrit-Reviewer: Itzik Brown <[email protected]>
Gerrit-Reviewer: Mark Wu <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to