Displaying 9 results from an estimated 9 matches for "start_networking".
2009 Jul 21
1
[PATCH node-image] Moved all temporary files into a single work directory to clean up.
...--tftp-root=${tftproot}
- --log-facility=/tmp/dnsmasq-${nodename}.log
+ --log-facility=$WORKDIR/dnsmasq-${nodename}.log
--log-queries
--log-dhcp
--pid-file=${pidfile}"
@@ -180,7 +181,7 @@ start_networking () {
local workdir=$5
local definition=""
local network=$NETWORK
- local xmlfile=$(mktemp)
+ local xmlfile=$WORKDIR/$nodename-$ifacename.xml
debug "start_networking ()"
for var in nodename ifacename use_dhcp start_dnsmasq workdir network xmlfile;...
2009 May 19
1
[PATCH node-image] Fixing the autotest script.
...t;test_stateless_pxe_with_nohd"
-test_stateless_pxe_with_nohd () {
- local nodename="${vm_prefix}-stateless-pxe-nohd"
+add_test "test_stateless_pxe"
+test_stateless_pxe () {
+ local nodename="${vm_prefix}-stateless-pxe"
local workdir=$(mktemp -d)
start_networking $nodename $IFACE_NAME false true $workdir
- configure_node "${nodename}" "network" "" "" "" "local noapic=true"
- boot_with_pxe "${nodename}" "firstboot=no" "${workdir}"
+ configure_node "${nod...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
..."${DNSMASQ_PID}" ]]; then
+ sudo kill -9 $DNSMASQ_PID
+ return
+ fi
+ fi
+ DNSMASQ_PID="0"
+}
+
+# Creates a virt network.
+# $1 - the node name
+# $2 - the network interface name
+# $3 - use DHCP (any value)
+# $4 - start dnsmsq (def. false)
+start_networking () {
+ local nodename=$1
+ local ifacename=$2
+ local use_dhcp=${3-false}
+ local start_dnsmasq=${4-false}
+ local workdir=$5
+ local definition=""
+ local network=$NETWORK
+ local xmlfile=$WORKDIR/$nodename-$ifacename.xml
+
+ debug "start_networking ()&quo...
2009 Jul 16
1
[PATCH node-image] Removes the explicit setting of the emulator for testing.
...esult}\n<devices>"
- result="${result}\n<emulator>${emulator}</emulator>"
# inject the hard disk if defined
if [ -n "$harddrive" ]; then
debug "Adding a hard drive to the node"
@@ -566,7 +564,7 @@ test_stateful_pxe () {
start_networking $nodename $IFACE_NAME false true $workdir
configure_node "${nodename}" "network" "" "10000" "" "local noapic=true"
- boot_with_pxe "${nodename}" "standalone storage_init=/dev/vda local_boot ip=${ipaddress}" ${...
2010 Mar 31
1
Incomplete patch
This patch is non-functional at this point; i.e., while it seems to meet
the requirements for having libvirt using the specified TFTP root
specified, libvirt seems to not be doing so.
2008 Jun 06
0
[PATCH] stubdom: permit compilation without lwip
...ruct timespec *req, struct timespec *rem)
{
--- a/extras/mini-os/main.c Thu Jun 05 13:04:07 2008 +0100
+++ b/extras/mini-os/main.c Fri Jun 06 11:28:09 2008 +0100
@@ -45,7 +44,9 @@
sparse((unsigned long) &__app_bss_start, &__app_bss_end - &__app_bss_start);
+#ifdef HAVE_LWIP
start_networking();
+#endif
init_fs_frontend();
#ifdef CONFIG_QEMU
if (!fs_import) {
@@ -162,6 +163,9 @@
close_all_files();
__libc_fini_array();
printk("main returned %d\n", ret);
+#ifdef HAVE_LWIP
+ stop_networking();
+#endif
unbind_all_ports();
if (!ret) {
/* N...
2012 Nov 26
13
[PATCH 0 of 4] Minios improvements for app development
This patch series contains a set of patches making minios rather easier
to use, from an application development point of view.
Overview of patches:
1 Command line argument parsing support, from Xen.
2 Weak console handler function.
3 Build system tweaks for application directories.
4 Trailing whitespace cleanup. (because it is very messy)
Patch 4 is likely to be more controversial than
2012 Jan 25
26
[PATCH v4 00/23] Xenstore stub domain
Changes from v3:
- mini-os configuration files moved into stubdom/
- mini-os extra console support now a config option
- Fewer #ifdefs
- grant table setup uses hypercall bounce
- Xenstore stub domain syslog support re-enabled
Changes from v2:
- configuration support added to mini-os build system
- add mini-os support for conditionally compiling frontends, xenbus
-
2007 Apr 18
7
[Bridge] (no subject)
Dear Sir,
I was trying to install bridge as we are installing
scps gateway in our testbed.This requires us to
install the bridge.
Our Linux version is 2.4.18 ~3 and we are using redhat
7.2
Please let me know which is the bridge I should
install and how to configure it.
Before configuring the bridge what I should check in
my configuration.
Thanks for your time,
Sincerely
Rama
=====
I hear