From: Michael Hohnbaum <hohnbaum@us.ibm.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] xmtest network script check
Date: Fri, 21 Jul 2006 16:26:23 -0700 [thread overview]
Message-ID: <1153524384.8690.35.camel@localhost> (raw)
[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]
The network script check in xmtest needs to look for "network" as
a valid script name, and if found set netenv to bridge. This patch
does that and allows xmtest to run on a normal install.
# HG changeset patch
# User root@localhost.localdomain
# Node ID 6d7c5675bdd43c44a29d4b043a6bc215e88bda6c
# Parent bbabdebc54ada9b72889eb6a66dfed1d73801825
"network" is a valid network script, add check for it
Signed-off-by: Michael Hohnbaum <hohnbaum@us.ibm.com>
diff -r bbabdebc54ad -r 6d7c5675bdd4
tools/xm-test/lib/XmTestLib/NetConfig.py
--- a/tools/xm-test/lib/XmTestLib/NetConfig.py Wed Jul 19 21:13:36 2006
+0100
+++ b/tools/xm-test/lib/XmTestLib/NetConfig.py Fri Jul 21 16:09:45 2006
-0700
@@ -54,6 +54,8 @@ def getXendNetConfig():
val = pin.get_val()
if val[1] == "network-bridge":
+ netenv = "bridge"
+ elif val[1] == "network":
netenv = "bridge"
elif val[1] == "network-route":
netenv = "route"
--
Michael Hohnbaum 503-578-5486
hohnbaum@us.ibm.com T/L 775-5486
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 704 bytes --]
# HG changeset patch
# User root@localhost.localdomain
# Node ID 6d7c5675bdd43c44a29d4b043a6bc215e88bda6c
# Parent bbabdebc54ada9b72889eb6a66dfed1d73801825
"network" is a valid network script, add check for it
diff -r bbabdebc54ad -r 6d7c5675bdd4 tools/xm-test/lib/XmTestLib/NetConfig.py
--- a/tools/xm-test/lib/XmTestLib/NetConfig.py Wed Jul 19 21:13:36 2006 +0100
+++ b/tools/xm-test/lib/XmTestLib/NetConfig.py Fri Jul 21 16:09:45 2006 -0700
@@ -54,6 +54,8 @@ def getXendNetConfig():
val = pin.get_val()
if val[1] == "network-bridge":
+ netenv = "bridge"
+ elif val[1] == "network":
netenv = "bridge"
elif val[1] == "network-route":
netenv = "route"
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2006-07-21 23:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-21 23:26 Michael Hohnbaum [this message]
2006-07-25 10:35 ` [PATCH] xmtest network script check Keir Fraser
2006-07-25 14:37 ` Michael Hohnbaum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1153524384.8690.35.camel@localhost \
--to=hohnbaum@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.