Skip to content

Commit

Permalink
added list of mac addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-savina committed Jul 15, 2024
1 parent de5e498 commit 7c6e179
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 9 deletions.
17 changes: 16 additions & 1 deletion tests/integration/targets/group_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,19 @@ custom_esxi_8_iso_path: "[eco-nfs-datastore-iso] custom_esxi_8.iso"
datastore1_rhel_8_9_iso_path: "[datastore1] ISO/rhel-8.9-x86_64-boot.iso"
datastore1_rhel_9_3_iso_path: "[datastore1] ISO/rhel-9.3-x86_64-dvd.iso"
vm_network_name: "VM Network"
test_network_name: "TestNetwork"
test_network_name: "TestNetwork"

# list of mac addresses used in tests
# add a new mac addresses in order to use it in a test
# to keep tests independent do not use the same mac address in different tests

# used in vcenter_host_connection_test
mac1: "00:50:56:8b:ea:f0"
# used in provision_vm_test and snapshot_management_test
mac2: "00:50:56:bd:d2:9e"
# used in provision_vm_test
mac3: "00:50:a6:b5:b2:3c"
# used in provision_virtual_esxi_test
mac4: "00:50:56:8b:95:ff"
# used in esxi_maintenance_mode_test
mac5: "00:50:56:8b:93:a5"
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ provision_virtual_esxi_networks:
- name: "{{ test_network_name }}"
device_type: "vmxnet3"
type: "dhcp"
mac: "00:50:56:8b:93:a5"
mac: "{{ mac5 }}"
provision_virtual_esxi_disks:
- size_gb: 100
type: thin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ provision_virtual_esxi_networks:
- name: "{{ vm_network_name }}"
device_type: "vmxnet3"
type: "dhcp"
mac: "00:50:56:8b:95:ff"
mac: "{{ mac4 }}"
provision_virtual_esxi_disks:
- size_gb: 100
type: thin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ provision_vms_template:
provision_vm_networks:
- name: "{{ vm_network_name }}"
device_type: "vmxnet3"
mac: "00:50:56:bd:d2:9e"
mac: "{{ mac2 }}"
type: "dhcp"
provision_vm_resource_pool: null
provision_vm_disk:
Expand Down Expand Up @@ -58,7 +58,7 @@ provision_vms:
provision_vm_networks:
- name: "{{ vm_network_name }}"
device_type: "vmxnet3"
mac: "00:50:56:bd:d2:9e"
mac: "{{ mac2 }}"
type: "dhcp"
provision_vm_resource_pool: null
provision_vm_disk:
Expand All @@ -84,7 +84,7 @@ provision_vms:
provision_vm_networks:
- name: "{{ vm_network_name }}"
device_type: "vmxnet3"
mac: "00:50:56:bd:d2:9e"
mac: "{{ mac2 }}"
type: "dhcp"
provision_vm_resource_pool: null
provision_vm_disk:
Expand Down Expand Up @@ -128,7 +128,7 @@ portgroup_name: qe-network
vm_network_to_add:
- name: "{{ portgroup_name }}"
device_type: "vmxnet3"
mac: "00:50:a6:b5:b2:3c"
mac: "{{ mac3 }}"
type: "dhcp"

vm_updated_networks: "{{ vm_to_update.provision_vm_networks + vm_network_to_add }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ provision_vm_cdrom:
provision_vm_networks:
- name: "{{ vm_network_name }}"
device_type: "vmxnet3"
mac: "00:50:56:bd:d2:9e"
mac: "{{ mac2 }}"
type: "dhcp"
provision_vm_resource_pool: null
provision_vm_disk:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ provision_virtual_esxi_networks:
- name: "{{ test_network_name }}"
device_type: "vmxnet3"
type: "dhcp"
mac: "00:50:56:8b:ea:f0"
mac: "{{ mac1 }}"
provision_virtual_esxi_disks:
- size_gb: 100
type: thin
Expand Down

0 comments on commit 7c6e179

Please sign in to comment.