Change in vdsm[master]: [WIP] hooks: Add Quantum vNIC hook
mkolesni at redhat.com
mkolesni at redhat.com
Wed May 8 10:05:42 UTC 2013
Mike Kolesnik has posted comments on this change.
Change subject: [WIP] hooks: Add Quantum vNIC hook
......................................................................
Patch Set 1: (2 inline comments)
....................................................
File vdsm_hooks/quantumvnic/before_vm_start.py
Line 3: import os
Line 4: import sys
Line 5: import hooking
Line 6: import traceback
Line 7: from xml.dom import minidom
Done
Line 8:
Line 9: def addQuantumVnics(domxml, mac, portid):
Line 10: mac = mac.lower()
Line 11: for iface in domxml.getElementsByTagName('interface'):
Line 42:
Line 43: def test():
Line 44: import xml
Line 45:
Line 46: domxml = xml.dom.minidom.parseString("""<?xml version="1.0" encoding="utf-8"?>
Done
Line 47: <interfaces>
Line 48: <interface type="bridge">
Line 49: <mac address="00:1a:4a:16:01:51"/>
Line 50: <model type="virtio"/>
--
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: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Livnat Peer <lpeer at redhat.com>
Gerrit-Reviewer: Mark Wu <wudxw at linux.vnet.ibm.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the vdsm-patches
mailing list