summaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/bridge_vlan.yaml
blob: fdf904180e451dc8e3f451cb03b54050e5096821 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
network_config:
  -
    type: ovs_bridge
    name: br-ctlplane
    use_dhcp: true
    members:
      -
        type: interface
        name: em1
      -
        type: vlan
        vlan_id: 16
        addresses:
          -
            ip_netmask: 192.0.2.1/24
    routes:
      -
        next_hop: 192.0.2.1
        ip_netmask: 192.0.2.1/24