Skip to content

Commit e56d0a5

Browse files
authored
OPNET-708: Add asset files for new CI job to test br-ex. (#1797)
* Add: Asset files for new CI job to test br-ex modifications. * swapped the config yaml to contain bond configuration * flatten the folder structure and rename the files.
1 parent a7ebd85 commit e56d0a5

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This manifest is configuring enp2s0 and enp3s0 to form a br-ex bond.
2+
apiVersion: machineconfiguration.openshift.io/v1
3+
kind: MachineConfig
4+
metadata:
5+
labels:
6+
machineconfiguration.openshift.io/role: master
7+
name: 00-nmstate-brex-bond-master
8+
spec:
9+
config:
10+
ignition:
11+
version: 3.2.0
12+
storage:
13+
files:
14+
- contents:
15+
source: data:text/plain;charset=utf-8;base64,aW50ZXJmYWNlczoKLSBuYW1lOiBib25kMAogIHR5cGU6IGJvbmQKICBzdGF0ZTogdXAKICBpcHY0OgogICAgZW5hYmxlZDogZmFsc2UKICBsaW5rLWFnZ3JlZ2F0aW9uOgogICAgbW9kZTogYWN0aXZlLWJhY2t1cAogICAgb3B0aW9uczoKICAgICAgbWlpbW9uOiAnMTAwJwogICAgcG9ydDoKICAgIC0gZW5wMnMwCiAgICAtIGVucDNzMAotIG5hbWU6IGJyLWV4CiAgdHlwZTogb3ZzLWJyaWRnZQogIHN0YXRlOiB1cAogIGlwdjQ6CiAgICBlbmFibGVkOiBmYWxzZQogICAgZGhjcDogZmFsc2UKICBpcHY2OgogICAgZW5hYmxlZDogZmFsc2UKICAgIGRoY3A6IGZhbHNlCiAgYnJpZGdlOgogICAgcG9ydDoKICAgIC0gbmFtZTogYm9uZDAKICAgIC0gbmFtZTogYnItZXgKLSBuYW1lOiBici1leAogIHR5cGU6IG92cy1pbnRlcmZhY2UKICBzdGF0ZTogdXAKICBpcHY0OgogICAgZW5hYmxlZDogdHJ1ZQogICAgZGhjcDogdHJ1ZQogIGlwdjY6CiAgICBlbmFibGVkOiBmYWxzZQogICAgZGhjcDogZmFsc2U=
16+
mode: 0644
17+
overwrite: true
18+
path: /etc/nmstate/openshift/cluster.yml
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This manifest is configuring enp2s0 and enp3s0 to form a br-ex bond.
2+
apiVersion: machineconfiguration.openshift.io/v1
3+
kind: MachineConfig
4+
metadata:
5+
labels:
6+
machineconfiguration.openshift.io/role: worker
7+
name: 00-nmstate-brex-bond-worker
8+
spec:
9+
config:
10+
ignition:
11+
version: 3.2.0
12+
storage:
13+
files:
14+
- contents:
15+
source: data:text/plain;charset=utf-8;base64,aW50ZXJmYWNlczoKLSBuYW1lOiBib25kMAogIHR5cGU6IGJvbmQKICBzdGF0ZTogdXAKICBpcHY0OgogICAgZW5hYmxlZDogZmFsc2UKICBsaW5rLWFnZ3JlZ2F0aW9uOgogICAgbW9kZTogYWN0aXZlLWJhY2t1cAogICAgb3B0aW9uczoKICAgICAgbWlpbW9uOiAnMTAwJwogICAgcG9ydDoKICAgIC0gZW5wMnMwCiAgICAtIGVucDNzMAotIG5hbWU6IGJyLWV4CiAgdHlwZTogb3ZzLWJyaWRnZQogIHN0YXRlOiB1cAogIGlwdjQ6CiAgICBlbmFibGVkOiBmYWxzZQogICAgZGhjcDogZmFsc2UKICBpcHY2OgogICAgZW5hYmxlZDogZmFsc2UKICAgIGRoY3A6IGZhbHNlCiAgYnJpZGdlOgogICAgcG9ydDoKICAgIC0gbmFtZTogYm9uZDAKICAgIC0gbmFtZTogYnItZXgKLSBuYW1lOiBici1leAogIHR5cGU6IG92cy1pbnRlcmZhY2UKICBzdGF0ZTogdXAKICBpcHY0OgogICAgZW5hYmxlZDogdHJ1ZQogICAgZGhjcDogdHJ1ZQogIGlwdjY6CiAgICBlbmFibGVkOiBmYWxzZQogICAgZGhjcDogZmFsc2U=
16+
mode: 0644
17+
overwrite: true
18+
path: /etc/nmstate/openshift/cluster.yml

0 commit comments

Comments
 (0)