summaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/bond_mapped.yaml
blob: 9a118c97494a1e7f3c1ee5605b2daadf461befa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Example showing use of the optional nicN abstraction
# for device naming, which defaults to an ordered
# translation to biodev names based on which interfaces
# are active on the system.
# Optionally the default mapping may be overriden by
# a mapping file via the -m option.
network_config:
  -
     type: ovs_bridge
     name: br-ctlplane
     use_dhcp: true
     members:
       -
         type: ovs_bond
         name: bond1
         use_dhcp: true
         members:
           -
             type: interface
             name: nic1
           -
             type: interface
             name: nic2