libvirt/tests
Matthias Bolte 96ceb12443 esx: Fix 'vpx' MAC address range and allow arbitrary MAC addresses
The MAC addresses with 00:50:56 prefix are split into several ranges:

  00:50:56:00:00:00 - 00:50:56:3f:ff:ff  'static' range (manually assigned)
  00:50:56:80:00:00 - 00:50:56:bf:ff:ff  'vpx' range (assigned by a VI Client)

Erroneously the 'vpx' range was assumed to be larger and to occupy the
remaining addresses of the 00:50:56 prefix that are not part of the 'static'
range.

00:50:56 was used as prefix for generated MAC addresses, this is not possible
anymore, because there are gaps in the allowed ranges. Therefore, change the
prefix to 00:0c:29 which is the prefix for auto generated MAC addresses anyway.

Allow arbitrary MAC addresses to be used and set the checkMACAddress VMX option
to false in case the MAC address doesn't fall into any predefined range.

* docs/drvesx.html.in: update website accordingly
* src/esx/esx_driver.c: set the auto generation prefix to 00:0c:29
* src/esx/esx_vmx.c: fix MAC address range handling and allow arbitrary MAC
  addresses
* tests/vmx2xml*, tests/xml2vmx*: add some basic MAC address range tests
2010-01-07 01:38:19 +01:00
..
capabilityschemadata Add a more featureful qemu capabilities test data 2009-09-10 12:25:42 +01:00
confdata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
domainschemadata Support for container related domain XML extensions 2008-08-01 13:31:37 +00:00
interfaceschemadata Add netcf XML schemas and test data 2009-07-15 20:16:36 +02:00
networkxml2xmlin Add support for an external TFTP boot server 2009-10-28 15:57:49 +01:00
networkxml2xmlout Add support for an external TFTP boot server 2009-10-28 15:57:49 +01:00
nodedevschemadata nodedev: Add removable storage 'media_label' prop 2009-12-14 14:58:23 +01:00
nodeinfodata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
qemuhelpdata Add qemu -help test data for qemu-kvm-0.11.0-rc2 2009-09-10 12:37:35 +01:00
qemuxml2argvdata Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
sexpr2xmldata Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
storagepoolxml2xmlin tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
storagepoolxml2xmlout tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
storagevolxml2xmlin tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
storagevolxml2xmlout tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
vmx2xmldata esx: Fix 'vpx' MAC address range and allow arbitrary MAC addresses 2010-01-07 01:38:19 +01:00
xencapsdata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
xmconfigdata Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
xml2sexprdata Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
xml2vmxdata esx: Fix 'vpx' MAC address range and allow arbitrary MAC addresses 2010-01-07 01:38:19 +01:00
.gitignore tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
.valgrind.supp Supress annoying libcap-ng errors from valgrind 2009-11-26 12:07:17 +00:00
capabilityschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
conftest.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
cpuset Various error reporting fixes 2009-11-03 16:46:54 -05:00
daemon-conf Fix up "make check" 2009-10-07 12:18:13 +02:00
define-dev-segfault Fix up "make check" 2009-10-07 12:18:13 +02:00
domainschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
esxutilstest.c Add virIndexToDiskName and fix mapping gap 2009-12-03 18:07:49 +01:00
eventtest.c Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
int-overflow Fix up "make check" 2009-10-07 12:18:13 +02:00
interfaceschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
interfacexml2xmltest.c tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04:00
libvirtd-fail Fix up "make check" 2009-10-07 12:18:13 +02:00
libvirtd-pool Fix up "make check" 2009-10-07 12:18:13 +02:00
Makefile.am Distribute vmx2xml and xml2vmx test data files 2009-12-28 14:27:45 +01:00
networkschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
networkxml2xmltest.c Add support for an external TFTP boot server 2009-10-28 15:57:49 +01:00
nodedevschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
nodedevxml2xmltest.c nodedev: Add removable storage 'media_label' prop 2009-12-14 14:58:23 +01:00
nodeinfotest.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
object-locking.ml Fix up a few typos in the tree. 2009-09-30 14:05:24 +02:00
oomtrace.pl Generic test suite helpers for OOM testing 2008-05-29 15:21:45 +00:00
qemuargv2xmltest.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
qemuhelptest.c qemu: Always enable the virtio balloon driver 2010-01-06 18:01:51 +01:00
qemuxml2argvtest.c Make QEMU driver use -chardev everywhere if available 2009-12-14 10:38:44 +01:00
qemuxml2xmltest.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
qparamtest.c build: enable redundant-const check 2009-02-03 13:08:59 +00:00
read-bufsiz qemu: Break out function to check if we can create/define/restore 2009-11-06 10:12:32 -05:00
read-non-seekable Fix up "make check" 2009-10-07 12:18:13 +02:00
reconnect.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
schematestutils.sh Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
secaatest.c sVirt AppArmor security driver 2009-10-08 16:34:22 +02:00
seclabeltest.c Move security drivers to src/security/ 2009-09-21 14:41:44 +01:00
sexpr2xmltest.c Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
start Fix up "make check" 2009-10-07 12:18:13 +02:00
statstest.c tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04:00
storagepoolschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
storagepoolxml2xmltest.c tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
storagevolschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
storagevolxml2xmltest.c tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
test_conf.sh Fix up "make check" 2009-10-07 12:18:13 +02:00
test-lib.sh Don't fail to read a file because it's non-seekable (e.g., a pipe). 2008-04-08 15:33:16 +00:00
testutils.c tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04:00
testutils.h avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
testutilsqemu.c tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04:00
testutilsqemu.h remove all trailing blank lines 2009-07-16 15:06:42 +02:00
testutilsxen.c Fix crashes in Xen capabilities code 2009-07-27 16:45:01 +01:00
testutilsxen.h remove all trailing blank lines 2009-07-16 15:06:42 +02:00
undefine Fix up "make check" 2009-10-07 12:18:13 +02:00
vcpupin Fix up "make check" 2009-10-07 12:18:13 +02:00
virsh-all Fix up "make check" 2009-10-07 12:18:13 +02:00
virsh-synopsis Fix up "make check" 2009-10-07 12:18:13 +02:00
virshtest.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
virt-aa-helper-test Fix virt-aa-helper when host and os.type arch differ 2009-11-13 11:04:23 +01:00
vmx2xmltest.c esx: Fix 'vpx' MAC address range and allow arbitrary MAC addresses 2010-01-07 01:38:19 +01:00
xencapstest.c Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
xmconfigtest.c Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
xml2sexprtest.c Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
xml2vmxtest.c esx: Fix 'vpx' MAC address range and allow arbitrary MAC addresses 2010-01-07 01:38:19 +01:00