-
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.
It backports following patches: #375 - Move automation default vars into seperate scenario files #383 - Drop default.yaml file #379 - Ensure we have one scenario per automation file #384 - Move bgp_dt01 into its own automation file #373 - NFV-HCI minor fixes Signed-off-by: Chandan Kumar (raukadah) <[email protected]>
- Loading branch information
Showing
14 changed files
with
421 additions
and
379 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
cifmw_baremetal_hosts: | ||
compute-0: | ||
connection: ipmi://10.10.100.100 | ||
boot_mode: UEFI | ||
nics: | ||
- mac: "89:9a:b7:cb:4a:3f" | ||
network: provision | ||
credentials_file: "/home/user/foo.yaml" | ||
root_device_hint_field: "wwnWithExtension" | ||
root_device_hint: "0x6509a4c0ac82ff002dbccf463196ca41" | ||
compute-1: | ||
connection: ipmi://10.10.100.101 | ||
boot_mode: UEFI | ||
nics: | ||
- mac: "53:b0:4d:06:56:ea" | ||
network: provision | ||
credentials_file: "/home/user/foo.yaml" | ||
root_device_hint_field: "wwnWithExtension" | ||
root_device_hint: "0x55cd2e414e372c06" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
--- | ||
vas: | ||
bgp_dt01: | ||
stages: | ||
- pre_stage_run: | ||
- name: Apply taint on worker-3 | ||
type: cr | ||
definition: | ||
spec: | ||
taints: | ||
- effect: NoSchedule | ||
key: testOperator | ||
value: 'true' | ||
- effect: NoExecute | ||
key: testOperator | ||
value: 'true' | ||
kind: Node | ||
resource_name: worker-3 | ||
state: patched | ||
path: examples/dt/bgp/bgp_dt01/control-plane/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: values.yaml | ||
build_output: nncp.yaml | ||
|
||
- path: examples/dt/bgp/bgp_dt01/control-plane | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait openstackcontrolplane | ||
controlplane | ||
--for condition=Ready | ||
--timeout=30m | ||
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/bgp/bgp_dt01/edpm/networkers | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait openstackdataplanenodeset | ||
networker-nodes | ||
--for condition=SetupReady | ||
--timeout=600s | ||
values: | ||
- name: edpm-networker-nodeset-values | ||
src_file: values.yaml | ||
build_output: edpm-networker-nodeset.yaml | ||
|
||
- path: examples/dt/bgp/bgp_dt01/edpm/computes | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait openstackdataplanenodeset | ||
compute-nodes | ||
--for condition=SetupReady | ||
--timeout=600s | ||
values: | ||
- name: edpm-compute-nodeset-values | ||
src_file: values.yaml | ||
build_output: edpm-compute-nodeset.yaml | ||
|
||
- path: examples/dt/bgp/bgp_dt01/edpm/deployment | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait openstackdataplanedeployment | ||
edpm-deployment | ||
--for condition=Ready | ||
--timeout=3800s | ||
values: | ||
- name: edpm-deployment-values | ||
src_file: values.yaml | ||
build_output: edpm-deployment.yaml |
Oops, something went wrong.