[openstack-dev] [nova] pci-passtrough and neutron multi segment networks

Robert Li (baoli) baoli at cisco.com
Tue Sep 8 19:43:39 UTC 2015


As far as I know, it was discussed but not supported yet. It requires change in nova and support in the neutron plugins.

—Robert

On 9/8/15, 9:39 AM, "Vladyslav Gridin" <vladyslav.gridin at nuagenetworks.net<mailto:vladyslav.gridin at nuagenetworks.net>> wrote:

Hi All,

Is there a way to successfully deploy a vm with sriov nic
on both single segment vlan network, and multi provider network,
containing vlan segment?
When nova builds pci request for nic it looks for 'physical_network'
at network level, but for multi provider networks this is set within a segment.

e.g.
RESP BODY: {"network": {"status": "ACTIVE", "subnets": ["3862051f-de55-4bb9-8c88-acd675bb3702"], "name": "sriov", "admin_state_up": true, "router:external": false, "segments": [{"provider:segmentation_id": 77, "provider:physical_network": "physnet1", "provider:network_type": "vlan"}, {"provider:segmentation_id": 35, "provider:physical_network": null, "provider:network_type": "vxlan"}], "mtu": 0, "tenant_id": "bd3afb5fac0745faa34713e6cada5a8d", "shared": false, "id": "53c0e71e-4c9a-4a33-b1a0-69529583e05f"}}


So, if on compute my pci_passthrough_whitelist contains physical_network,
deployment will fail in multi segment network, and vice versa.

Thanks,
Vlad.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150908/cbbb3abe/attachment.html>


More information about the OpenStack-dev mailing list