summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7c4372e)
svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=101
import sipb_xen_database.models as models
from sipb_xen_database import connect
import sipb_xen_database.models as models
from sipb_xen_database import connect
if machine_type.hvm:
ioemu = "ioemu:"
if machine_type.hvm:
ioemu = "ioemu:"
+ viftype = "type=ioemu, "
kernel = 'hvmloader'
builder = 'hvm'
kernel = 'hvmloader'
builder = 'hvm'
vif = []
for n in machine.nics:
vif = []
for n in machine.nics:
- d = '%s, mac=%s, ip=%s, bridge=xenbr0, script=vif-sipbroute' % (viftype, n.mac_addr, n.ip)
+ d = '%smac=%s, ip=%s, bridge=xenbr0, script=vif-sipbroute' % (viftype, n.mac_addr, n.ip)