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

2015-09-08 Thread Robert Li (baoli)
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" 
> 
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.
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2015-09-08 Thread Vladyslav Gridin
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.
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev