9e785a4ce0
sriov_pf: configure numvfs of the device, create and enable sriov_numvfs service for the persistence of the numvfs configuration across reboots. sriov_vf: configure the ifcfgs for the Vfs Change-Id: I0e55d1556328fcb90b66c898c534b76e41ca9618 Implements: blueprint sriov-vfs-as-network-interface
21 lines
378 B
JSON
21 lines
378 B
JSON
{
|
|
"network_config": [
|
|
{
|
|
"type": "sriov_pf",
|
|
"name": "p2p1",
|
|
"numvfs": 10,
|
|
"use_dhcp": false
|
|
},
|
|
{
|
|
"type": "sriov_vf",
|
|
"device": "p2p1",
|
|
"vfid": 5,
|
|
"addresses": [
|
|
{
|
|
"ip_netmask": "192.0.2.1/24"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|