I'm working on adding the 802.1Q vlan suport to Xen. Half of the work
is done. The idea is that we can specify something like this on the domU
configuration file:
vlan = [ 'pdev=eth1, vlanid=123, bridge=xenbr1123',
'pdev=eth1, vlanid=100 ' ]
perhaps even specify an IP address (I founded this usefull in some
implementations), and then, as allways:
vif = [ 'bridge=xenbr1123, mac=00:16:3e:00:00:00',
'bridge=xenbr1101, mac=00:16:3e:00:00:01' ]
and perhaps also specify a list in xend-config.spx.
I'll check if the bridge is already created before connecting the VIF,
at domU creation, if not bring it up, and when destroying the domU, also
check if other domU is using the same bridge before shuting it down.
All this raises me some questions:
- Suggestions/advices regarding on where/how put my code?
- Could it bring problems if I add this code in 'xen/xm/create.py'?
gopts.var('vlan', val="iface=IFACE,vlanid=VLANID,vlanbridge=VLANBRIDGE",
fn=append_value, default=[],
[...]
- Other suggestions/advices?
best regards
--
/* ---
Luis Vinay
XTech - Soluciones linux para Empresas
lvinay@xxxxxxxxxxxx
--- */
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|