-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple nodesets for ovs-dpdk-sriov scenario
Created a new dt based on ovs-dpdk-sriov va Depends-on: openstack-k8s-operators/ci-framework#2280
- Loading branch information
Showing
10 changed files
with
161 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
vas: | ||
ovs-dpdk-sriov-2nodesets: | ||
stages: | ||
- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/nncp | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait nncp | ||
-l osp/nncm-config-type=standard | ||
--for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured | ||
--timeout=60s | ||
values: | ||
- name: network-values | ||
src_file: ../../../../va/nfv/ovs-dpdk-sriov/nncp/values.yaml | ||
build_output: nncp.yaml | ||
|
||
- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait osctlplane controlplane --for condition=Ready | ||
--timeout=1200s | ||
values: | ||
- name: network-values | ||
src_file: ../../../va/nfv/ovs-dpdk-sriov/nncp/values.yaml | ||
- name: service-values | ||
src_file: ../../../va/nfv/ovs-dpdk-sriov/service-values.yaml | ||
build_output: control-plane.yaml | ||
|
||
- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/edpm/nodeset | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait | ||
osdpns openstack-edpm --for condition=SetupReady | ||
--timeout=60m | ||
values: | ||
- name: edpm-nodeset-values | ||
src_file: ../../../../../va/nfv/ovs-dpdk-sriov/edpm/nodeset/values.yaml | ||
build_output: nodeset.yaml | ||
|
||
- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/edpm/nodeset2 | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait | ||
osdpns openstack-edpm-2 --for condition=SetupReady | ||
--timeout=60m | ||
values: | ||
- name: edpm-nodeset2-values | ||
src_file: ../../../../../va/nfv/ovs-dpdk-sriov/edpm/nodeset/values.yaml | ||
build_output: nodeset2.yaml | ||
|
||
- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/edpm/deployment | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait | ||
osdpns openstack-edpm --for condition=Ready | ||
--timeout=60m | ||
values: | ||
- name: edpm-deployment-values | ||
src_file: ../../../../../va/nfv/ovs-dpdk-sriov/edpm/deployment/values.yaml | ||
build_output: deployment.yaml |
1 change: 1 addition & 0 deletions
1
examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/edpm/deployment/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dataplane-deployment.yaml |
15 changes: 15 additions & 0 deletions
15
examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/edpm/deployment/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
6 changes: 6 additions & 0 deletions
6
examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/edpm/nodeset/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
1 change: 1 addition & 0 deletions
1
examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/edpm/nodeset2/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dataplane-nodeset-2.yaml |
53 changes: 53 additions & 0 deletions
53
examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/edpm/nodeset2/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
6 changes: 6 additions & 0 deletions
6
examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
6 changes: 6 additions & 0 deletions
6
examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/nncp/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters