433a0f3cbe
This patch adds support for enabling hotplugging on interfaces (disabled by default). This is useful for configuring SR-IOV root devices so that they "return" to the system when no longer used by a VM. Note: also updates an invalid value in the interface and ib_interface sample files. Partial-Bug: #1639901 Change-Id: Idfc17d6f20bb306271838895bc53f4b109dd664d
19 lines
308 B
YAML
19 lines
308 B
YAML
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: interface
|
|
name: ib1
|
|
use_dhcp: true
|
|
defroute: false
|