diff --git a/ci/roles/port/defaults/main.yml b/ci/roles/port/defaults/main.yml index a53a3649..fa644038 100644 --- a/ci/roles/port/defaults/main.yml +++ b/ci/roles/port/defaults/main.yml @@ -1,6 +1,3 @@ -binding_profile: - "pci_slot": "0000:03:11.1" - "physical_network": "provider" expected_fields: - allowed_address_pairs - binding_host_id diff --git a/ci/roles/port/tasks/main.yml b/ci/roles/port/tasks/main.yml index 561202f7..dace517b 100644 --- a/ci/roles/port/tasks/main.yml +++ b/ci/roles/port/tasks/main.yml @@ -256,27 +256,6 @@ state: absent name: ansible_security_group -- name: Create port (with binding profile) - openstack.cloud.port: - cloud: "{{ cloud }}" - state: present - name: "{{ port_name }}" - network: "{{ network_name }}" - binding_profile: "{{ binding_profile }}" - register: port - -- name: Assert binding_profile exists in created port - assert: - that: "port.port['binding_profile']" - -- debug: var=port - -- name: Delete port (with binding profile) - openstack.cloud.port: - cloud: "{{ cloud }}" - state: absent - name: "{{ port_name }}" - - name: Delete subnet openstack.cloud.subnet: cloud: "{{ cloud }}"