Skip to content

Commit 376d949

Browse files
committed
Nova05epsilon Dt for VAF
1 parent 2cf84cc commit 376d949

File tree

32 files changed

+1574
-0
lines changed

32 files changed

+1574
-0
lines changed

automation/vars/nova05epsilon.yaml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
vas:
3+
nova05epsilon:
4+
stages:
5+
- path: examples/dt/nova/nova05epsilon/networking/nncp
6+
wait_conditions:
7+
- >-
8+
oc -n openstack wait nncp
9+
-l osp/nncm-config-type=standard
10+
--for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured
11+
--timeout=60s
12+
values:
13+
- name: network-values
14+
src_file: values.yaml
15+
build_output: nncp.yaml
16+
17+
- path: examples/dt/nova/nova05epsilon/networking
18+
wait_conditions:
19+
- >-
20+
oc -n metallb-system wait pod
21+
-l app=metallb -l component=speaker
22+
--for condition=Ready
23+
--timeout=5m
24+
values:
25+
- name: network-values
26+
src_file: nncp/values.yaml
27+
build_output: network.yaml
28+
29+
- path: examples/dt/nova/nova05epsilon
30+
wait_conditions:
31+
- >-
32+
oc -n openstack wait osctlplane controlplane --for condition=Ready
33+
--timeout=600s
34+
values:
35+
- name: network-values
36+
src_file: networking/nncp/values.yaml
37+
- name: service-values
38+
src_file: service-values.yaml
39+
build_output: control-plane.yaml
40+
41+
- path: examples/dt/nova/nova05epsilon/edpm/nodeset
42+
wait_conditions:
43+
- >-
44+
oc -n openstack wait
45+
osdpns openstack-edpm --for condition=SetupReady
46+
--timeout=60m
47+
values:
48+
- name: edpm-nodeset-values
49+
src_file: values.yaml
50+
build_output: nodeset.yaml
51+
52+
- path: examples/dt/nova/nova05epsilon/edpm/deployment
53+
wait_conditions:
54+
- >-
55+
oc -n openstack wait
56+
osdpd edpm-deployment --for condition=Ready
57+
--timeout=90m
58+
values:
59+
- name: edpm-deployment-values
60+
src_file: values.yaml
61+
build_output: deployment.yaml
62+
63+
- path: examples/dt/nova/nova05epsilon/edpm-post-driver/deployment
64+
wait_conditions:
65+
- >-
66+
oc -n openstack wait
67+
osdpd edpm-deployment-post-driver --for condition=Ready
68+
--timeout=20m
69+
values:
70+
- name: edpm-deployment-post-driver
71+
src_file: values.yaml
72+
build_output: post-driver-deployment.yaml
73+
74+
- path: examples/dt/nova/nova05epsilon/edpm-deploy-provider/dataplaneservice
75+
wait_conditions:
76+
- >-
77+
oc -n default wait
78+
ns openstack --for jsonpath='{.status.phase}'=Active
79+
--timeout=5m
80+
values:
81+
- name: edpm-provider-values
82+
src_file: values.yaml
83+
build_output: provider-dataplaneservice.yaml
84+
85+
- path: examples/dt/nova/nova05epsilon/edpm-deploy-provider/deployment
86+
wait_conditions:
87+
- >-
88+
oc -n openstack wait
89+
osdpd edpm-deployment-provider --for condition=Ready
90+
--timeout=20m
91+
values:
92+
- name: edpm-deploy-provider-values
93+
src_file: values.yaml
94+
build_output: provider-deployment.yaml

dt/nova/nova05epsilon/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Deployed Topology - Nova/nova05epsilon
2+
3+
If you are looking for information on how to deploy the nova05epsilon based DT, then
4+
please see the
5+
[README](../../../examples/dt/nova/nova05epsilon/README.md) in the examples
6+
directory.
7+
8+
This directory ,`dt/nova/nova05epsilon/`, exists so that the
9+
[kustomization.yaml](../../../examples/dt/nova/nova05epsilon/edpm/nodeset/kustomization.yaml)
10+
in the examples directory of nova05epsilon topology, reference it by path as a
11+
component. It's contents are likely uninteresting unless you want to understand
12+
how kustomize was implemented in this repository.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1alpha1
3+
kind: Component
4+
5+
transformers:
6+
# Set namespace to OpenStack on all namespaced objects without a namespace
7+
- |-
8+
apiVersion: builtin
9+
kind: NamespaceTransformer
10+
metadata:
11+
name: _ignored_
12+
namespace: openstack
13+
setRoleBindingSubjects: none
14+
unsetOnly: true
15+
fieldSpecs:
16+
- path: metadata/name
17+
kind: Namespace
18+
create: true
19+
20+
components:
21+
- ../../../../../lib/dataplane/deployment
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1alpha1
3+
kind: Component
4+
5+
transformers:
6+
# Set namespace to OpenStack on all namespaced objects without a namespace
7+
- |-
8+
apiVersion: builtin
9+
kind: NamespaceTransformer
10+
metadata:
11+
name: _ignored_
12+
namespace: openstack
13+
setRoleBindingSubjects: none
14+
unsetOnly: true
15+
fieldSpecs:
16+
- path: metadata/name
17+
kind: Namespace
18+
create: true
19+
20+
resources:
21+
- nova_provider.yaml
22+
23+
replacements:
24+
# Nova provider yaml configuration
25+
- source:
26+
kind: ConfigMap
27+
name: edpm-provider-values
28+
fieldPath: data.nova.compute.provider
29+
targets:
30+
- select:
31+
kind: ConfigMap
32+
name: compute-provider
33+
fieldPaths:
34+
- data.provider\.yaml
35+
options:
36+
create: true
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
apiVersion: v1
3+
kind: ConfigMap
4+
metadata:
5+
name: compute-provider
6+
data:
7+
provider.yaml: _replaced_
8+
---
9+
apiVersion: dataplane.openstack.org/v1beta1
10+
kind: OpenStackDataPlaneService
11+
metadata:
12+
name: compute-provider
13+
spec:
14+
label: dataplane-deployment-compute-provider
15+
edpmServiceType: nova
16+
dataSources:
17+
- configMapRef:
18+
name: compute-provider
19+
- configMapRef:
20+
name: cpu-pinning-nova
21+
- configMapRef:
22+
name: gpu-nova
23+
- secretRef:
24+
name: nova-cell1-compute-config
25+
- secretRef:
26+
name: nova-migration-ssh-key
27+
playbook: osp.edpm.nova
28+
tlsCerts:
29+
default:
30+
contents:
31+
- dnsnames
32+
- ips
33+
networks:
34+
- ctlplane
35+
issuer: osp-rootca-issuer-internal
36+
caCerts: combined-ca-bundle
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1alpha1
3+
kind: Component
4+
5+
transformers:
6+
# Set namespace to OpenStack on all namespaced objects without a namespace
7+
- |-
8+
apiVersion: builtin
9+
kind: NamespaceTransformer
10+
metadata:
11+
name: _ignored_
12+
namespace: openstack
13+
setRoleBindingSubjects: none
14+
unsetOnly: true
15+
fieldSpecs:
16+
- path: metadata/name
17+
kind: Namespace
18+
create: true
19+
20+
components:
21+
- ../../../../../lib/dataplane/deployment
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1alpha1
3+
kind: Component
4+
5+
transformers:
6+
# Set namespace to OpenStack on all namespaced objects without a namespace
7+
- |-
8+
apiVersion: builtin
9+
kind: NamespaceTransformer
10+
metadata:
11+
name: _ignored_
12+
namespace: openstack
13+
setRoleBindingSubjects: none
14+
unsetOnly: true
15+
fieldSpecs:
16+
- path: metadata/name
17+
kind: Namespace
18+
create: true
19+
20+
components:
21+
- ../../../../../lib/dataplane/deployment
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
apiVersion: v1
3+
data:
4+
NodeRootPassword: _replaced_
5+
kind: Secret
6+
metadata:
7+
name: baremetalset-password-secret
8+
namespace: openstack
9+
type: Opaque
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1alpha1
3+
kind: Component
4+
5+
transformers:
6+
# Set namespace to OpenStack on all namespaced objects without a namespace
7+
- |-
8+
apiVersion: builtin
9+
kind: NamespaceTransformer
10+
metadata:
11+
name: _ignored_
12+
namespace: openstack
13+
setRoleBindingSubjects: none
14+
unsetOnly: true
15+
fieldSpecs:
16+
- path: metadata/name
17+
kind: Namespace
18+
create: true
19+
20+
components:
21+
- ../../../../../lib/dataplane/nodeset
22+
23+
resources:
24+
- baremetalset-password-secret.yaml
25+
- nova_gpu.yaml
26+
27+
replacements:
28+
- source:
29+
kind: ConfigMap
30+
name: edpm-nodeset-values
31+
fieldPath: data.root_password
32+
targets:
33+
- select:
34+
kind: Secret
35+
name: baremetalset-password-secret
36+
fieldPaths:
37+
- data.NodeRootPassword
38+
options:
39+
create: true
40+
41+
# Nova compute CPU pinning customization
42+
- source:
43+
kind: ConfigMap
44+
name: edpm-nodeset-values
45+
fieldPath: data.nova.compute.conf
46+
targets:
47+
- select:
48+
kind: ConfigMap
49+
name: cpu-pinning-nova
50+
fieldPaths:
51+
- data.25-cpu-pinning-nova\.conf
52+
options:
53+
create: true
54+
# Nova compute PCI passthrough customization
55+
- source:
56+
kind: ConfigMap
57+
name: edpm-nodeset-values
58+
fieldPath: data.nova.pci.conf
59+
targets:
60+
- select:
61+
kind: ConfigMap
62+
name: gpu-nova
63+
fieldPaths:
64+
- data.03-gpu-nova\.conf
65+
options:
66+
create: true
67+
- source:
68+
kind: ConfigMap
69+
name: edpm-nodeset-values
70+
fieldPath: data.preProvisioned
71+
targets:
72+
- select:
73+
kind: OpenStackDataPlaneNodeSet
74+
name: openstack-edpm
75+
fieldPaths:
76+
- spec.preProvisioned
77+
options:
78+
create: true
79+
- source:
80+
kind: ConfigMap
81+
name: edpm-nodeset-values
82+
fieldPath: data.baremetalSetTemplate
83+
targets:
84+
- select:
85+
kind: OpenStackDataPlaneNodeSet
86+
name: openstack-edpm
87+
fieldPaths:
88+
- spec.baremetalSetTemplate
89+
options:
90+
create: true
91+

0 commit comments

Comments
 (0)