ia64/xen-unstable

view .hgignore @ 7446:18eb059ae471

New network-bridge script and associated gubbins.

This is Kurt Garloff's reworked network-bridge script:

* we got rid of ifconfig
* it works for netdev != eth0
* arp on and off are symmetric as are ifdown and ifup
* ifup will be passed the ifcfg config file name if needed
(the ifup may otherwise figure that the veth0 hardware is
NOT the same as the original ${netdev} and not use the same
config -- this happens on SUSE. Charles Coffing tracked this
one down.)

Plus Kurt's avoid-dash patch:

the network setup scripts on SUSE have trouble with the bridge
name xen-br0; they don't expect the '-'.
Arguably this should be fixed.
But I assume there's more scripts out there which may not like it,
so I suggest the following patch to rename xen-br0 to xenbr0.

Plus Charles Duffy's patch to support multiple bridges:

The attached patch allows the network-bridge script to be used to
generate multiple bridges corresponding to different physical
interfaces. It adds a new parameter, "vifnum", used to refer both to
the loopback interface to be used and to set defaults regarding the
physical interface and bridge name.

Thus, if one wishes to start xenbr0 on eth0 and xenbr1 on eth1, one
need only call:

network-bridge start ## vifnum is 0 by default
network-bridge start vifnum=1

...well, that and set loopback.nloopbacks=2 in the Dom0 kernel
parameters.

Plus renaming of virtnum to vifnum in Charles' patch, as requested by Ian Pratt.

Plus a fix to DevController to allocate vif IDs starting from 0 (i.e. vif2.0
is now domain 2's first vif, as opposed to vif2.1 in the recent past).

Plus tidying up inside network-bridge using some helper variables.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Wed Oct 19 16:24:54 2005 +0100 (2005-10-19)
parents 74d56b7ff46c
children 60c941136be9 7c30e9215558
line source
1 .*\.a$
2 .*\.cmi$
3 .*\.cmo$
4 .*\.d$
5 .*\.o$
6 .*\.opic$
7 .*\.pyc$
8 .*\.so$
9 .*\.so\..*$
10 .*\.tar\.bz2$
11 .*\.tar\.gz$
12 .*~$
13 ^dist/.*$
14 ^docs/.*\.aux$
15 ^docs/.*\.dvi$
16 ^docs/.*\.log$
17 ^docs/.*\.pdf$
18 ^docs/.*\.ps$
19 ^docs/.*\.toc$
20 ^docs/figs/xenserver\.eps$
21 ^docs/html/.*$
22 ^docs/api/.*$
23 ^docs/interface/WARNINGS$
24 ^docs/interface/images\.pl$
25 ^docs/interface/images\.tex$
26 ^docs/interface/img1\.png$
27 ^docs/interface/index\.html$
28 ^docs/interface/interface\.css$
29 ^docs/interface/interface\.html$
30 ^docs/interface/labels\.pl$
31 ^docs/pdf/.*$
32 ^docs/ps/.*$
33 ^docs/user/WARNINGS$
34 ^docs/user/images\.pl$
35 ^docs/user/images\.tex$
36 ^docs/user/img1\.png$
37 ^docs/user/img2\.png$
38 ^docs/user/img3\.png$
39 ^docs/user/index\.html$
40 ^docs/user/internals\.pl$
41 ^docs/user/labels\.pl$
42 ^docs/user/user\.css$
43 ^docs/user/user\.html$
44 ^extras/mini-os/h/hypervisor-ifs$
45 ^extras/mini-os/h/xen-public$
46 ^extras/mini-os/mini-os\..*$
47 ^install/.*$
48 ^linux-[^/]*-xen0/.*$
49 ^linux-[^/]*-xenU/.*$
50 ^linux-[^/]*-xen/.*$
51 ^linux-[^/]*\.patch$
52 ^mkddbxen$
53 ^netbsd-[^/]*-tools/.*$
54 ^netbsd-[^/]*-xen0/.*$
55 ^netbsd-[^/]*-xenU/.*$
56 ^netbsd-[^/]*\.patch$
57 ^patches/.*/\.makedep$
58 ^patches/ebtables-brnf-5_vs_2\.4\.25\.diff$
59 ^patches/ebtables\.diff$
60 ^patches/tmp/.*$
61 ^pristine-.*$
62 ^ref-.*$
63 ^tools/.*/build/lib.*/.*\.py$
64 ^tools/blktap/Makefile\.smh$
65 ^tools/blktap/blkcow$
66 ^tools/blktap/blkcowgnbd$
67 ^tools/blktap/blkcowimg$
68 ^tools/blktap/blkdump$
69 ^tools/blktap/blkgnbd$
70 ^tools/blktap/blkimg$
71 ^tools/blktap/bstest$
72 ^tools/blktap/vdi\.dot$
73 ^tools/blktap/vdi\.ps$
74 ^tools/blktap/parallax/vdi_create$
75 ^tools/blktap/parallax/vdi_fill$
76 ^tools/blktap/parallax/vdi_list$
77 ^tools/blktap/parallax/vdi_snap$
78 ^tools/blktap/parallax/vdi_snap_list$
79 ^tools/blktap/parallax/vdi_snap_delete$
80 ^tools/blktap/parallax/vdi_tree$
81 ^tools/blktap/parallax/vdi_validate$
82 ^tools/blktap/parallax/parallax$
83 ^tools/blktap/parallax/blockstored$
84 ^tools/blktap/ublkback/ublkback$
85 ^tools/blktap/xen/.*$
86 ^tools/check/\..*$
87 ^tools/console/xenconsoled$
88 ^tools/console/xenconsole$
89 ^tools/debugger/gdb/gdb-6\.2\.1\.tar\.bz2$
90 ^tools/debugger/gdb/gdb-6\.2\.1/.*$
91 ^tools/debugger/gdb/gdb-6\.2\.1-linux-i386-xen/.*$
92 ^tools/debugger/pdb/pdb$
93 ^tools/debugger/pdb/linux-[0-9.]*-module/.*\.ko$
94 ^tools/debugger/pdb/linux-[0-9.]*-module/.*\.mod.c$
95 ^tools/debugger/pdb/linux-[0-9.]*-module/\..*\.cmd$
96 ^tools/debugger/pdb/linux-[0-9.]*-module/.tmp_versions/.*$
97 ^tools/debugger/pdb/._bcdi/.*$
98 ^tools/firmware/acpi/acpigen$
99 ^tools/firmware/.*\.bin$
100 ^tools/firmware/.*\.sym$
101 ^tools/firmware/.*/biossums$
102 ^tools/firmware/.*bios/.*bios.*\.txt$
103 ^tools/firmware/rombios/BIOS-bochs-latest$
104 ^tools/firmware/rombios/_rombios_\.c$
105 ^tools/firmware/rombios/rombios\.s$
106 ^tools/firmware/vmxassist/acpi\.h$
107 ^tools/firmware/vmxassist/gen$
108 ^tools/firmware/vmxassist/offsets\.h$
109 ^tools/firmware/vmxassist/roms\.h$
110 ^tools/firmware/vmxassist/vmxassist$
111 ^tools/firmware/vmxassist/vmxloader$
112 ^tools/ioemu/config-host\..*$
113 ^tools/ioemu/keysym_adapter_sdl\.h$
114 ^tools/ioemu/keysym_adapter_vnc\.h$
115 ^tools/ioemu/target-.*/Makefile$
116 ^tools/ioemu/target-.*/config\..*$
117 ^tools/ioemu/target-.*/qemu-dm$
118 ^tools/libxc/xen/.*$
119 ^tools/misc/cpuperf/cpuperf-perfcntr$
120 ^tools/misc/cpuperf/cpuperf-xen$
121 ^tools/misc/mbootpack/bin2c$
122 ^tools/misc/mbootpack/bootsect$
123 ^tools/misc/mbootpack/bzimage_header\.c$
124 ^tools/misc/mbootpack/mbootpack$
125 ^tools/misc/mbootpack/setup$
126 ^tools/misc/miniterm/miniterm$
127 ^tools/misc/lomount/lomount$
128 ^tools/misc/xc_shadow$
129 ^tools/misc/xen_cpuperf$
130 ^tools/misc/xenperf$
131 ^tools/security/secpol_tool$
132 ^tools/security/xen/.*$
133 ^tools/pygrub/build/.*$
134 ^tools/python/build/.*$
135 ^tools/tests/test_x86_emulator$
136 ^tools/vnet/gc$
137 ^tools/vnet/gc.*/.*$
138 ^tools/vnet/vnet-module/.*\.ko$
139 ^tools/vnet/vnet-module/\..*\.cmd$
140 ^tools/vnet/vnet-module/\.tmp_versions/.*$
141 ^tools/vnet/vnet-module/vnet_module\.mod\..*$
142 ^tools/vtpm/tpm_emulator/.*$
143 ^tools/vtpm/tpm_emulator-.*\.tar\.gz$
144 ^tools/vtpm/vtpm/.*$
145 ^tools/vtpm_manager/manager/vtpm_managerd$
146 ^tools/xcutils/xc_restore$
147 ^tools/xcutils/xc_save$
148 ^tools/xenstat/xentop/xentop$
149 ^tools/xenstore/testsuite/tmp/.*$
150 ^tools/xenstore/xen$
151 ^tools/xenstore/xenstored$
152 ^tools/xenstore/xenstored_test$
153 ^tools/xenstore/xenstore-exists$
154 ^tools/xenstore/xenstore-list$
155 ^tools/xenstore/xenstore-read$
156 ^tools/xenstore/xenstore-rm$
157 ^tools/xenstore/xenstore-write$
158 ^tools/xenstore/xs_crashme$
159 ^tools/xenstore/xs_random$
160 ^tools/xenstore/xs_stress$
161 ^tools/xenstore/xs_tdb_dump$
162 ^tools/xenstore/xs_test$
163 ^tools/xenstore/xs_watch_stress$
164 ^tools/xenstore/xsls$
165 ^tools/xentrace/xenctx$
166 ^tools/xentrace/xentrace$
167 ^xen/BLOG$
168 ^xen/TAGS$
169 ^xen/arch/x86/asm-offsets\.s$
170 ^xen/arch/x86/boot/mkelf32$
171 ^xen/ddb/.*$
172 ^xen/include/asm$
173 ^xen/include/asm-.*/asm-offsets\.h$
174 ^xen/include/hypervisor-ifs/arch$
175 ^xen/include/public/public$
176 ^xen/include/xen/.*\.new$
177 ^xen/include/xen/acm_policy\.h$
178 ^xen/include/xen/banner\.h$
179 ^xen/include/xen/compile\.h$
180 ^xen/tags$
181 ^xen/tools/figlet/figlet$
182 ^xen/tools/symbols$
183 ^xen/xen$
184 ^xen/xen-syms$
185 ^xen/xen\..*$