os-net-config/etc/os-net-config/samples/sriov_pf.json
Karthik S 9e785a4ce0 Add network objects sriov_vf and sriov_pf
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
2018-02-16 00:55:52 -05:00

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"
}
]
}
]
}