[openstack-dev] [nova][neutron] PCI pass-through SRIOV on Jan. 29th

Ian Wells ijw.ubuntu at cack.org.uk
Wed Jan 29 23:14:20 UTC 2014


On 29 January 2014 23:50, Robert Kukura <rkukura at redhat.com> wrote:

> On 01/29/2014 05:44 PM, Robert Li (baoli) wrote:
> > Hi Bob,
> >
> > that's a good find. profileid as part of IEEE 802.1br needs to be in
> > binding:profile, and can be specified by a normal user, and later
> possibly
> > the pci_flavor. Would it be wrong to say something as in below in the
> > policy.json?
> >  "create_port:binding:vnic_type": "rule:admin_or_network_owner"
> >  "create_port:binding:profile:profileid": "rule:admin_or_network_owner"
>
> Maybe, but a normal user that owns a network has no visibility into the
> underlying details (such as the providernet extension attributes.
>

I'm with Bob on this, I think - I would expect that vnic_type is passed in
by the user (user readable, and writeable, at least if the port is not
attached) and then may need to be reflected back, if present, in the
'binding' attribute via the port binding extension (unless Nova can just go
look for it - I'm not clear on what's possible here).


> Also, would a normal cloud user really know what pci_flavor to use?
> Isn't all this kind of detail hidden from a normal user within the nova
> VM flavor (or host aggregate or whatever) pre-configured by the admin?
>

Flavors are user-visible, analogous to Nova's machine flavors, they're just
not user editable.  I'm not sure where port profiles come from.
-- 
Ian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140130/87886719/attachment.html>


More information about the OpenStack-dev mailing list