[cyborg][neutron][nova] Networking support in Cyborg

Nadathur, Sundar sundar.nadathur at intel.com
Thu Jun 11 12:24:45 UTC 2020

Hi Sean,

> From: Sean Mooney <smooney at redhat.com>
> Sent: Thursday, June 11, 2020 4:31 AM
> On Thu, 2020-06-11 at 11:04 +0000, Nadathur, Sundar wrote:
> > [...]
> > * Ideally, the admin should be able to formulate the device profile in
> > the same way, independent of whether it is a single-component or
> > multi-component device. For that, the device profile must have a
> > single resource group that includes the resource, traits and Cyborg
> properties for both the accelerator and NIC. The device profile for a Neutron
> port will presumably have only one request group. So, the device profile
> would look something like this:
> >
> >    { "name": "my-smartnic-dp",
> >      "groups": [{
> >              "resources:FPGA":  "1",
> >              "resources:CUSTOM_NIC_X": "1",
> >              "trait:CUSTOM_FPGA_REGION_ID_FOO": "required",
> >              "trait:CUSTOM_NIC_TRAIT_BAR": "required",
> >              "trait:CUSTOM_PHYSNET_VLAN3": "required",
> >             "accel:bitstream_id": "3AFE"
> >        }]
> >    }
> having "trait:CUSTOM_PHYSNET_VLAN3": "required", in the device profile
> means you have to create a seperate device profile with the same details for
> each physnet and the user then need to fine the profile that matches there
> neutron network's physnet which is also problematic if they use the
> multiprovidernet extention.
> so we shoud keep the physnet seperate and have nova or neutorn append
> that when we make the placment query.

True, we did discuss this at the PTG, and I agree. The physnet can be passed in from the command line during port creation.

> > [...]
> > * We discussed the physnet trait at the PTG. My suggestion is to keep
> > Cyborg out of this, and out of networking in general, if possible.
> well this feature is more or less the opisite of that intent but i get that you
> dont want cyborg to have to confiure the networking atribute of the interface.

The admin could apply the trait to the right RP. Or, the OpenStack installer could automate this. That's similar in spirit to having the admin configure the physnet in PCI whitelist.


More information about the openstack-discuss mailing list