Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions network-configs/bond/ostest-master-0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
networkConfig: &BOND
interfaces:
- name: bond0
type: bond
state: up
ipv4:
dhcp: true
enabled: true
auto-dns: true
auto-gateway: true
auto-routes: true
link-aggregation:
mode: active-backup
options:
miimon: '100'
port:
- enp2s0
- enp3s0
1 change: 1 addition & 0 deletions network-configs/bond/ostest-master-1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
networkConfig: *BOND
1 change: 1 addition & 0 deletions network-configs/bond/ostest-master-2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
networkConfig: *BOND
1 change: 1 addition & 0 deletions network-configs/bond/ostest-worker-0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
networkConfig: *BOND
1 change: 1 addition & 0 deletions network-configs/bond/ostest-worker-1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
networkConfig: *BOND
15 changes: 15 additions & 0 deletions network-configs/static/hosts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
- ip: 192.168.111.110
hostnames:
- "master-0"
- ip: 192.168.111.111
hostnames:
- "master-1"
- ip: 192.168.111.112
hostnames:
- "master-2"
- ip: 192.168.111.113
hostnames:
- "worker-0"
- ip: 192.168.111.114
hostnames:
- "worker-1"
19 changes: 19 additions & 0 deletions network-configs/static/ostest-master-0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
networkConfig:
interfaces:
- name: enp2s0
type: ethernet
state: up
ipv4:
address:
- ip: "192.168.111.110"
prefix-length: 24
enabled: true
dns-resolver:
config:
server:
- 192.168.111.1
routes:
config:
- destination: 0.0.0.0/0
next-hop-address: 192.168.111.1
next-hop-interface: enp2s0
19 changes: 19 additions & 0 deletions network-configs/static/ostest-master-1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
networkConfig:
interfaces:
- name: enp2s0
type: ethernet
state: up
ipv4:
address:
- ip: "192.168.111.111"
prefix-length: 24
enabled: true
dns-resolver:
config:
server:
- 192.168.111.1
routes:
config:
- destination: 0.0.0.0/0
next-hop-address: 192.168.111.1
next-hop-interface: enp2s0
19 changes: 19 additions & 0 deletions network-configs/static/ostest-master-2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
networkConfig:
interfaces:
- name: enp2s0
type: ethernet
state: up
ipv4:
address:
- ip: "192.168.111.112"
prefix-length: 24
enabled: true
dns-resolver:
config:
server:
- 192.168.111.1
routes:
config:
- destination: 0.0.0.0/0
next-hop-address: 192.168.111.1
next-hop-interface: enp2s0
19 changes: 19 additions & 0 deletions network-configs/static/ostest-worker-0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
networkConfig:
interfaces:
- name: enp2s0
type: ethernet
state: up
ipv4:
address:
- ip: "192.168.111.113"
prefix-length: 24
enabled: true
dns-resolver:
config:
server:
- 192.168.111.1
routes:
config:
- destination: 0.0.0.0/0
next-hop-address: 192.168.111.1
next-hop-interface: enp2s0
19 changes: 19 additions & 0 deletions network-configs/static/ostest-worker-1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
networkConfig:
interfaces:
- name: enp2s0
type: ethernet
state: up
ipv4:
address:
- ip: "192.168.111.114"
prefix-length: 24
enabled: true
dns-resolver:
config:
server:
- 192.168.111.1
routes:
config:
- destination: 0.0.0.0/0
next-hop-address: 192.168.111.1
next-hop-interface: enp2s0