aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/ib_interface.json
blob: 4e4286762752c1a701c2b22da4e19ae7374f9582 (plain)
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
{"network_config": [
    {
      "type": "ib_interface",
      "name": "ib0",
      "use_dhcp": false,
      "addresses": [
        {
          "ip_netmask": "192.0.2.1/24"
        }
      ],
      "routes": [
        {
          "ip_netmask": "0.0.0.0/0",
          "next_hop": "192.0.2.254",
          "default": "true"
        }
      ]
    },
    {
      "type": "ib_interface",
      "name": "ib1",
      "use_dhcp": true,
      "defroute": no
    }
  ]
}