File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
tests/roles/dataplane_adoption/tasks Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 392392 "value": "neutron-dhcp"
393393 }]'
394394 done
395- when : edpm_neutron_dhcp_agent_enabled|bool
395+ when :
396+ - edpm_neutron_dhcp_agent_enabled
397+ - edpm_nodes_networker is not defined
398+
399+ - name : enable neutron-dhcp in the OpenStackDataPlaneNodeSet CR Networker
400+ no_log : " {{ use_no_log }}"
401+ ansible.builtin.shell : |
402+ {{ shell_header }}
403+ {{ oc_header }}
404+
405+ oc patch openstackdataplanenodeset openstack-networker --type='json' --patch='[
406+ {
407+ "op": "add",
408+ "path": "/spec/services/-",
409+ "value": "neutron-dhcp"
410+ }]'
411+ when :
412+ - edpm_networker_neutron_dhcp_agent_enabled | default(false) | bool
413+ - edpm_nodes_networker is defined
396414
397415- name : Run the pre-adoption validation
398416 when : run_pre_adoption_validation|bool
You can’t perform that action at this time.
0 commit comments