1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00
libvirt/tests/vmx2xmldata
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
..
vmx2xml-cdrom-ide-device.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-cdrom-ide-device.xml ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-cdrom-ide-file.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-cdrom-ide-file.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-cdrom-scsi-device.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-cdrom-scsi-device.xml ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-cdrom-scsi-file.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-cdrom-scsi-file.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-esx-in-the-wild-1.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-esx-in-the-wild-1.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-esx-in-the-wild-2.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-esx-in-the-wild-2.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-esx-in-the-wild-3.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-esx-in-the-wild-3.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-esx-in-the-wild-4.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-esx-in-the-wild-4.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-ethernet-bridged.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-ethernet-bridged.xml ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-ethernet-custom.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-ethernet-custom.xml ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-ethernet-e1000.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-ethernet-e1000.xml ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-ethernet-generated.vmx esx: Fix 'vpx' MAC address range and allow arbitrary MAC addresses 2010-01-07 01:38:19 +01:00
vmx2xml-ethernet-generated.xml esx: Fix 'vpx' MAC address range and allow arbitrary MAC addresses 2010-01-07 01:38:19 +01:00
vmx2xml-ethernet-other.vmx esx: Fix 'vpx' MAC address range and allow arbitrary MAC addresses 2010-01-07 01:38:19 +01:00
vmx2xml-ethernet-other.xml esx: Fix 'vpx' MAC address range and allow arbitrary MAC addresses 2010-01-07 01:38:19 +01:00
vmx2xml-ethernet-static.vmx esx: Fix 'vpx' MAC address range and allow arbitrary MAC addresses 2010-01-07 01:38:19 +01:00
vmx2xml-ethernet-static.xml esx: Fix 'vpx' MAC address range and allow arbitrary MAC addresses 2010-01-07 01:38:19 +01:00
vmx2xml-ethernet-vpx.vmx esx: Fix 'vpx' MAC address range and allow arbitrary MAC addresses 2010-01-07 01:38:19 +01:00
vmx2xml-ethernet-vpx.xml esx: Fix 'vpx' MAC address range and allow arbitrary MAC addresses 2010-01-07 01:38:19 +01:00
vmx2xml-floppy-device.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-floppy-device.xml ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-floppy-file.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-floppy-file.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-gsx-in-the-wild-1.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-gsx-in-the-wild-1.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-gsx-in-the-wild-2.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-gsx-in-the-wild-2.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-gsx-in-the-wild-3.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-gsx-in-the-wild-3.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-gsx-in-the-wild-4.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-gsx-in-the-wild-4.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-harddisk-ide-file.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-harddisk-ide-file.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-harddisk-scsi-file.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-harddisk-scsi-file.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-minimal-64bit.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-minimal-64bit.xml ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-minimal.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-minimal.xml ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-parallel-device.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-parallel-device.xml ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-parallel-file.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-parallel-file.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-scsi-buslogic.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-scsi-buslogic.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-scsi-writethrough.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-scsi-writethrough.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-serial-device.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-serial-device.xml ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-serial-file.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-serial-file.xml ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
vmx2xml-serial-pipe-client-app.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-serial-pipe-client-vm.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-serial-pipe-server-app.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-serial-pipe-server-vm.vmx ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00
vmx2xml-serial-pipe.xml ESX add tests for the VMX to/from domain XML mapping 2009-09-23 15:00:54 +02:00