We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12079b2 commit d1c81e0Copy full SHA for d1c81e0
tests/roles/dataplane_adoption/tasks/main.yaml
@@ -394,6 +394,22 @@
394
done
395
when: edpm_neutron_dhcp_agent_enabled|bool
396
397
+- name: enable neutron-dhcp in the OpenStackDataPlaneNodeSet CR Networker
398
+ no_log: "{{ use_no_log }}"
399
+ ansible.builtin.shell: |
400
+ {{ shell_header }}
401
+ {{ oc_header }}
402
+
403
+ oc patch openstackdataplanenodeset openstack-networker --type='json' --patch='[
404
+ {
405
+ "op": "add",
406
+ "path": "/spec/services/-",
407
+ "value": "neutron-dhcp"
408
+ }]'
409
+ when:
410
+ - edpm_networker_neutron_dhcp_agent_enabled | default(false) | bool
411
+ - edpm_nodes_networker is defined
412
413
- name: Run the pre-adoption validation
414
when: run_pre_adoption_validation|bool
415
block:
0 commit comments