All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: network idea
@ 2004-06-22 11:57 James Harper
  2004-06-22 12:23 ` Keir Fraser
  2004-06-22 14:13 ` Ian Pratt
  0 siblings, 2 replies; 11+ messages in thread
From: James Harper @ 2004-06-22 11:57 UTC (permalink / raw)
  To: James Harper, xen-devel

I'm just looking at this now. I think that to do this I need to comment
out anything bridge related in
linux-2.4.26-xen-sparse/arch/xen/drivers/netif/backend/interface.c
so that xen doesn't do any bridging stuff, and then hook into xend so
that it can call my scripts when the netif_fe_interface_status_changed
events occur. It's the second bit I'm having trouble with... where
should that hook into? I can see where xend might sends such events...
maybe it doesn't have visibility to receiving them???

By taking the bridge stuff out of xen and putting it all in userland, it
means that we can route packets or bridge interfaces or completely
isolate them if desired. My reasons for doing it is that my server has 3
network cards, but any domain is only going to connect to 1 or 2 of
them, but not necessarily the same 1 or 2 as other domains.

Any suggestions?

Thanks

James

> -----Original Message-----
> From: xen-devel-admin@lists.sourceforge.net [mailto:xen-devel-
> admin@lists.sourceforge.net] On Behalf Of James Harper
> Sent: Tuesday, 22 June 2004 20:43
> To: xen-devel@lists.sourceforge.net
> Subject: [Xen-devel] network idea
> 
> In order to make xend a bit more flexible about what it does with
> networking, would it be possible to have it just call out scripts like
> pppd (on debian at least) does.
> 
> The idea would be /etc/xend/netup.d and /etc/xend/netdown.d
directories
> in which scripts are called with 'runparts' when a network interface
on
> a domain starts or stops (or similar hooks). To be useful the scripts
> would need at least the following args passed in:
> vmid - id of vm
> index - network interface no
> netif - eg vif1.3
> name - name of vm
> 
> I know very little about python, but a fair bit about linux systems
> programming in general and so would be happy to tackle this myself
> unless it's already in progress or is a stupid idea...
> 
> Thanks
> 
> James
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-06-22 17:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-22 11:57 network idea James Harper
2004-06-22 12:23 ` Keir Fraser
2004-06-22 14:13 ` Ian Pratt
2004-06-22 15:40   ` Tim Freeman
2004-06-22 16:12     ` Grub & boot problems with Xen Rune Johan Andresen
2004-06-22 16:22       ` Rolf Neugebauer
2004-06-22 16:27       ` Niraj Tolia
2004-06-22 16:02   ` network idea Tim Freeman
2004-06-22 16:51     ` Ian Pratt
2004-06-22 17:38       ` Tim Freeman
2004-06-22 17:43         ` Ian Pratt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.