-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Making check for mandatory ovs_dpdk parms #848
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,11 @@ | |
msg: "List of PMD cores cannot be empty - edpm_ovs_dpdk_pmd_core_list" | ||
when: not edpm_ovs_dpdk_pmd_core_list|string or edpm_ovs_dpdk_pmd_core_list == 'null' | ||
|
||
- name: Check valid input for edpm_ovs_dpdk_socket_memory | ||
ansible.builtin.fail: | ||
msg: "Socket Memory cannot be empty - edpm_ovs_dpdk_socket_memory" | ||
when: not edpm_ovs_dpdk_socket_memory|string or edpm_ovs_dpdk_socket_memory == 'null' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @vcandapp edpm_ovs_dpdk_socket_memory is "" default, so null check is not required. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://github.com/openstack-archive/tripleo-ansible/blob/stable/wallaby/tripleo_ansible/playbooks/cli-overcloud-openvswitch-dpdk.yaml#L22, even though they are mandatory - it is set to NULL There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Like in earlier deployment, https://github.com/openstack-archive/tripleo-ansible/blob/stable/wallaby/tripleo_ansible/playbooks/cli-overcloud-openvswitch-dpdk.yaml#L22 we set it to NULL even for mandatory params |
||
|
||
- name: PMD cores config | ||
when: edpm_ovs_dpdk_pmd_core_list|string | ||
block: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vcandapp
Need to remove in default main.yaml file if we need to remove default value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already removed