Mike Kolesnik has posted comments on this change.

Change subject: hooks: Add OpenStack Network vNIC hook
......................................................................


Patch Set 6: (2 inline comments)

....................................................
File vdsm_hooks/openstacknet/after_device_create.py
Line 38: 
Line 39: 
Line 40: def disconnectVnic(portId):
Line 41:     tapName = ('tap' + portId)[:DEV_MAX_LENGTH]
Line 42:     command = ['/usr/sbin/brctl', 'delif', DUMMY_BRIDGE, tapName]
Done
Line 43:     retcode, out, err = hooking.execCmd(command, sudo=True, raw=True)
Line 44: 
Line 45:     # On some systems, brctl is not at the above location (i.e. Ubuntu)
Line 46:     if retcode == 127:


....................................................
File vdsm_hooks/openstacknet/sudoers.vdsm_hook_openstacknet
Line 1: vdsm  ALL=(ALL) NOPASSWD: /usr/sbin/brctl, /sbin/brctl
Done


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I744b83d9c6027bd817e5d4171a77a005611b9818
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Giuseppe Vallarelli <[email protected]>
Gerrit-Reviewer: Livnat Peer <[email protected]>
Gerrit-Reviewer: Mark Wu <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[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