Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions tests/roles/dataplane_adoption/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,22 @@
done
when: edpm_neutron_dhcp_agent_enabled|bool

- name: enable neutron-dhcp in the OpenStackDataPlaneNodeSet CR Networker
no_log: "{{ use_no_log }}"
ansible.builtin.shell: |
{{ shell_header }}
{{ oc_header }}

oc patch openstackdataplanenodeset openstack-networker --type='json' --patch='[
{
"op": "add",
"path": "/spec/services/-",
"value": "neutron-dhcp"
}]'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be in the docs too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when:
- edpm_networker_neutron_dhcp_agent_enabled | default(false) | bool
- edpm_nodes_networker is defined

- name: Run the pre-adoption validation
when: run_pre_adoption_validation|bool
block:
Expand Down