Add ovs-dpdk-pmd role
This patch adds the ovs-dpdk-pmd role created from validations/ovs-dpdk-pmd-cpus-check.yaml. Change-Id: Ibcf36eeb46f1c3d283a85009095b9d8692277803 Implements: blueprint validation-framework Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
parent
00d765e96a
commit
d412fed0b0
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
- hosts: ComputeOvsDpdk
|
||||||
|
vars:
|
||||||
|
metadata:
|
||||||
|
name: Validates OVS DPDK PMD cores from all NUMA nodes.
|
||||||
|
description: >
|
||||||
|
OVS DPDK PMD cpus must be provided from all NUMA nodes.
|
||||||
|
|
||||||
|
A failed status post-deployment indicates PMD CPU list is not
|
||||||
|
configured correctly.
|
||||||
|
groups:
|
||||||
|
- post-deployment
|
||||||
|
roles:
|
||||||
|
- ovs-dpdk-pmd
|
|
@ -0,0 +1,2 @@
|
||||||
|
---
|
||||||
|
# defaults file for ovs-dpdk-pmd
|
|
@ -0,0 +1,28 @@
|
||||||
|
galaxy_info:
|
||||||
|
author: TripleO Validations Team
|
||||||
|
company: Red Hat
|
||||||
|
license: Apache
|
||||||
|
min_ansible_version: 2.4
|
||||||
|
|
||||||
|
platforms:
|
||||||
|
- name: CentOS
|
||||||
|
versions:
|
||||||
|
- 7
|
||||||
|
- name: RHEL
|
||||||
|
versions:
|
||||||
|
- 7
|
||||||
|
|
||||||
|
categories:
|
||||||
|
- cloud
|
||||||
|
- baremetal
|
||||||
|
- system
|
||||||
|
|
||||||
|
galaxy_tags: []
|
||||||
|
# List tags for your role here, one per line. A tag is a keyword that describes
|
||||||
|
# and categorizes the role. Users find roles by searching for tags. Be sure to
|
||||||
|
# remove the '[]' above, if you add tags to this list.
|
||||||
|
#
|
||||||
|
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
|
||||||
|
# Maximum 20 tags per role.
|
||||||
|
|
||||||
|
dependencies: []
|
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
- name: Get OVS DPDK PMD cores mask value
|
||||||
|
become_method: sudo
|
||||||
|
become: True
|
||||||
|
register: pmd_cpu_mask
|
||||||
|
command: ovs-vsctl --no-wait get Open_vSwitch . other_config:pmd-cpu-mask
|
||||||
|
changed_when: False
|
||||||
|
|
||||||
|
- name: Run OVS DPDK PMD cores check
|
||||||
|
become: True
|
||||||
|
ovs_dpdk_pmd_cpus_check:
|
||||||
|
pmd_cpu_mask: "{{ pmd_cpu_mask.stdout }}"
|
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
metadata:
|
||||||
|
name: Validates OVS DPDK PMD cores from all NUMA nodes.
|
||||||
|
description: >
|
||||||
|
OVS DPDK PMD cpus must be provided from all NUMA nodes.
|
||||||
|
|
||||||
|
A failed status post-deployment indicates PMD CPU list is not
|
||||||
|
configured correctly.
|
||||||
|
groups:
|
||||||
|
- post-deployment
|
Loading…
Reference in New Issue