Skip to content

Commit

Permalink
Multiple nodesets for ovs-dpdk-sriov scenario
Browse files Browse the repository at this point in the history
Created a new dt based on ovs-dpdk-sriov va
Depends-on: openstack-k8s-operators/ci-framework#2280
  • Loading branch information
Miguel Angel Nieto Jimenez authored and jamepark4 committed Sep 19, 2024
1 parent cfa3115 commit 70c60fc
Show file tree
Hide file tree
Showing 11 changed files with 105 additions and 36 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dataplane-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../../../../va/nfv/ovs-dpdk-sriov/edpm/deployment

patches:
- target:
kind: OpenStackDataPlaneDeployment
name: edpm-deployment
patch: |
- op: add
path: /spec/nodeSets/-
value: openstack-edpm-2
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../../../../va/nfv/ovs-dpdk-sriov/edpm/nodeset
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dataplane-nodeset-2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../../../../va/nfv/ovs-dpdk-sriov/edpm/nodeset

patches:
- target:
kind: ConfigMap
name: sriov-nova
patch: |-
- op: replace
path: /metadata/name
value: sriov-nova-2
- target:
kind: ConfigMap
name: ovs-dpdk-sriov-cpu-pinning-nova
patch: |-
- op: replace
path: /metadata/name
value: ovs-dpdk-sriov-cpu-pinning-nova-2
- target:
kind: OpenStackDataPlaneService
name: nova-custom-ovsdpdksriov
patch: |-
- op: replace
path: /metadata/name
value: nova-custom-ovsdpdksriov-2
- op: replace
path: /spec/label
value: nova-custom-ovsdpdksriov-2
- op: replace
path: /spec/dataSources/0/configMapRef/name
value: ovs-dpdk-sriov-cpu-pinning-nova-2
- op: replace
path: /spec/dataSources/1/configMapRef/name
value: sriov-nova-2
- target:
kind: OpenStackDataPlaneNodeSet
name: openstack-edpm
patch: |-
- op: replace
path: /metadata/name
value: openstack-edpm-2
- op: replace
path: /spec/baremetalSetTemplate/bmhLabelSelector/app
value: openstack-2
- op: replace
path: /spec/services/16
value: nova-custom-ovsdpdksriov-2
- op: remove
path: /spec/services/8
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../../va/nfv/ovs-dpdk-sriov
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../../../va/nfv/ovs-dpdk-sriov/nncp
16 changes: 0 additions & 16 deletions examples/dt/nova/multiplecells/edpm/nodeset/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,22 +103,6 @@ data:
- name: tenant
subnetName: subnet1

edpm-compute-1:
ansible:
ansibleHost: 192.168.122.101
hostName: edpm-compute-1
networks:
- defaultRoute: true
fixedIP: 192.168.122.101
name: ctlplane
subnetName: subnet1
- name: internalapi
subnetName: subnet1
- name: storage
subnetName: subnet1
- name: tenant
subnetName: subnet1

services:
- bootstrap
- download-cache
Expand Down
24 changes: 4 additions & 20 deletions examples/dt/nova/multiplecells/edpm/nodeset2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,29 +87,13 @@ data:
subnetName: subnet1

nodes:
edpm-compute-2:
edpm-compute-1:
ansible:
ansibleHost: 192.168.122.102
hostName: edpm-compute-2
ansibleHost: 192.168.122.101
hostName: edpm-compute-1
networks:
- defaultRoute: true
fixedIP: 192.168.122.102
name: ctlplane
subnetName: subnet1
- name: internalapi
subnetName: subnet1
- name: storage
subnetName: subnet1
- name: tenant
subnetName: subnet1

edpm-compute-3:
ansible:
ansibleHost: 192.168.122.103
hostName: edpm-compute-3
networks:
- defaultRoute: true
fixedIP: 192.168.122.103
fixedIP: 192.168.122.101
name: ctlplane
subnetName: subnet1
- name: internalapi
Expand Down
1 change: 1 addition & 0 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- rhoso-architecture-validate-osasinfra
- rhoso-architecture-validate-ovs-dpdk
- rhoso-architecture-validate-ovs-dpdk-sriov
- rhoso-architecture-validate-ovs-dpdk-sriov-2nodesets
- rhoso-architecture-validate-pidone
- rhoso-architecture-validate-sriov
- rhoso-architecture-validate-uni01alpha
Expand Down
12 changes: 12 additions & 0 deletions zuul.d/validations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,18 @@
parent: rhoso-architecture-base-job
vars:
cifmw_architecture_scenario: ovs-dpdk-sriov
- job:
files:
- examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets
- examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/edpm/deployment
- examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/edpm/nodeset
- examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/edpm/nodeset2
- examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/nncp
- lib
name: rhoso-architecture-validate-ovs-dpdk-sriov-2nodesets
parent: rhoso-architecture-base-job
vars:
cifmw_architecture_scenario: ovs-dpdk-sriov-2nodesets
- job:
files:
- automation/net-env/pidone.yaml
Expand Down

0 comments on commit 70c60fc

Please sign in to comment.