This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH][XM-TEST][RESEND][1/4] New Network Infrastructure for

To: Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][XM-TEST][RESEND][1/4] New Network Infrastructure for Xm-Test
From: Daniel Stekloff <dsteklof@xxxxxxxxxx>
Date: Wed, 03 May 2006 12:05:36 -0700
Cc: Dan Smith <danms@xxxxxxxxxx>
Delivery-date: Wed, 03 May 2006 12:06:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

I originally sent these patches April 24th:


These 4 patches add a new network infrastructure to xm-test. The goal is
to make creating network tests easier. This patch makes it possible to
simply create a domain with a single network device in one call:

domain = XmTestNetDomain()

Or, you can use the XmTestDomain() class and add devices:

domain = XmTestDomain()
domain.newDevice(XenNetDevice, "eth0")

Network environment is configured when xm-test is built. The current
patch set only supports a bridged environment with either a defined IP
range or it defaults to using zeroconf addresses. We have plans to
support DHCP as well as NAT and Routed environments. 

The domain will create the device, get an IP, and configure the domain
on startup for you so you don't need to do that in your tests. 

The first patch adds a domain type to the XenDomain class. The type is
either PV for para-virtual or HVM for a fully virtual domain. The
XenNetDevice needs to know what type of domain it is for configuration.



Attachment: xmtest-add-domain-type-1.patch
Description: Text Data

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>