Skip to content

Commit

Permalink
Merge pull request #152 from arxcruz/uni-etha
Browse files Browse the repository at this point in the history
uni07eta dt  - deploys networking nodes and Cinder (iSCSI)

Uni07eta - Providing deployment topology

Reviewed-by: Szymon Datko
Reviewed-by: Arx Cruz
Reviewed-by: fyanac
Reviewed-by: Andrew Bays <[email protected]>
Reviewed-by: David Sariel
Reviewed-by: Luigi Toscano
Reviewed-by: John Fulton <[email protected]>
Reviewed-by: Pragadeeswaran Sathyanarayanan <[email protected]>
Reviewed-by: Yatin Karel <[email protected]>
  • Loading branch information
softwarefactory-project-zuul[bot] authored Jun 12, 2024
2 parents 38e1074 + a5ff3f6 commit 4375dae
Show file tree
Hide file tree
Showing 30 changed files with 1,719 additions and 0 deletions.
1 change: 1 addition & 0 deletions automation/net-env/uni07eta.yaml
76 changes: 76 additions & 0 deletions automation/vars/uni07eta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
vas:
uni07eta:
stages:
- path: examples/dt/uni07eta/control-plane/nncp
wait_conditions:
- >-
oc -n openstack wait nncp
-l osp/nncm-config-type=standard
--for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured
--timeout=120s
values:
- name: network-values
src_file: values.yaml
build_output: nncp.yaml

- path: examples/dt/uni07eta/control-plane
wait_conditions:
- >-
oc -n openstack wait openstackcontrolplane
controlplane
--for condition=Ready
--timeout=45m
values:
- name: network-values
src_file: nncp/values.yaml
- name: service-values
src_file: service-values.yaml
build_output: control-plane.yaml

- path: examples/dt/uni07eta/networker/nodeset
wait_conditions:
- >-
oc -n openstack wait openstackdataplanenodeset
networker-nodes
--for condition=SetupReady
--timeout=20m
values:
- name: edpm-nodeset-values
src_file: values.yaml
build_output: edpm-nodeset-networker.yaml

- path: examples/dt/uni07eta/networker
wait_conditions:
- >-
oc -n openstack wait openstackdataplanedeployment
networker-deploy
--for condition=Ready
--timeout=40m
values:
- name: edpm-deployment-values
src_file: values.yaml
build_output: edpm-deployment-networker.yaml

- path: examples/dt/uni07eta/edpm
wait_conditions:
- >-
oc -n openstack wait openstackdataplanenodeset
openstack-edpm
--for condition=SetupReady
--timeout=20m
values:
- name: edpm-nodeset-values
src_file: values.yaml
build_output: edpm-nodeset.yaml
- path: examples/dt/uni07eta
wait_conditions:
- >-
oc -n openstack wait openstackdataplanedeployment
edpm-deployment
--for condition=Ready
--timeout=40m
values:
- name: edpm-deployment-values
src_file: values.yaml
build_output: edpm-deployment.yaml
10 changes: 10 additions & 0 deletions dt/uni07eta/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Deployment Topology - Eta

If you are looking for information on how to deploy the eta based DT, then
please see the [README](../../examples/dt/uni07eta/README.md) in the examples
directory.

This directory `dt/uni07eta/`, exists so that the
[kustomization.yaml](../../examples/dt/uni07eta/kustomization.yaml) in
the examples directory of uni07eta topology, reference it by path as a
component.
13 changes: 13 additions & 0 deletions dt/uni07eta/cinder-volume-ontap-secrets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
# Define the "cinder-volume-ontap-secrets" Secret that contains sensitive
# information pertaining to the [ontap] backend.
apiVersion: v1
kind: Secret
metadata:
labels:
service: cinder
component: cinder-volume
name: cinder-volume-ontap-secrets
type: Opaque
stringData:
cinder-volume-ontap-secrets: _replaced_
20 changes: 20 additions & 0 deletions dt/uni07eta/edpm/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

transformers:
- |-
apiVersion: builtin
kind: NamespaceTransformer
metadata:
name: _ignored_
namespace: openstack
setRoleBindingSubjects: none
unsetOnly: true
fieldSpecs:
- path: metadata/name
kind: Namespace
create: true
components:
- ../../../lib/dataplane/deployment
20 changes: 20 additions & 0 deletions dt/uni07eta/edpm/nodeset/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

transformers:
- |-
apiVersion: builtin
kind: NamespaceTransformer
metadata:
name: _ignored_
namespace: openstack
setRoleBindingSubjects: none
unsetOnly: true
fieldSpecs:
- path: metadata/name
kind: Namespace
create: true
components:
- ../../../../lib/dataplane/nodeset
Loading

0 comments on commit 4375dae

Please sign in to comment.