Home > Storage > PowerFlex > White Papers > NVIDIA Riva on Red Hat OpenShift with Dell PowerFlex > Network bond files
The following code extract is from a sample bond file that is used for the master and worker node of OpenShift.
[root@ocp411-admin Scripts]# cat master0-bond1-vlans.yaml
apiVersion: nmstate.io/v1
kind: NodeNetworkConfigurationPolicy
metadata:
name: master0-bond1-vlans
spec:
nodeSelector:
kubernetes.io/hostname: "node1.ocp411.gpuflex.com"
desiredState:
interfaces:
- name: ens2f1
description: Ethernet ens2f1
type: ethernet
state: up
ipv4:
enabled: false
mtu: 9000
- name: ens3f1
description: Ethernet eno2
type: ethernet
state: up
ipv4:
enabled: false
mtu: 9000
- name: bond1
description: Bond using ports ens2f1 and ens3f1
type: bond
state: up
ipv4:
enabled: false
link-aggregation:
mode: 802.3ad
options:
miimon: "100"
port:
- ens2f1
- ens3f1
mtu: 9000
- name: bond1.150
description: PowerFlex Mgmt VLAN150 using bond1
type: vlan
state: up
ipv4:
address:
- ip: 192.168.150.114
prefix-length: 24
enabled: true
vlan:
base-iface: bond1
id: 150
- name: bond1.152
description: PowerFlex Data network using bond1
type: vlan
state: up
ipv4:
address:
- ip: 192.168.152.114
prefix-length: 24
enabled: true
vlan:
base-iface: bond1
id: 152
mtu: 9000
- name: bond1.154
description: PowerFlex Data B VLAN152 using bond1
type: vlan
state: up
ipv4:
address:
- ip: 192.168.154.114
prefix-length: 24
enabled: true
vlan:
base-iface: bond1
id: 154
mtu: 9000