forked from openshift-kni/baremetal-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbond1_vlan.yaml
42 lines (42 loc) · 816 Bytes
/
bond1_vlan.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
apiVersion: nmstate.io/v1alpha1
kind: NodeNetworkConfigurationPolicy
metadata:
name: secondary-bond-policy
spec:
desiredState:
interfaces:
- name: bond1
type: bond
state: up
link-aggregation:
mode: balance-rr
options:
miimon: '140'
slaves:
- ens8
- ens9
- name: bond1.20
type: vlan
state: up
ipv4:
auto-dns: false
auto-gateway: false
auto-routes: false
dhcp: true
enabled: true
vlan:
base-iface: bond1
id: 20
- name: bond1.30
type: vlan
state: up
ipv4:
auto-dns: false
auto-gateway: false
auto-routes: false
dhcp: true
enabled: true
vlan:
base-iface: bond1
id: 30