[openstack-dev] [lbaas][flavor]Using flavor framework in Mitaka

Evgeny Fedoruk EvgenyF at Radware.com
Tue Aug 23 15:29:21 UTC 2016


Hi Ahana,

Neutron Flavors, as it is now, is just an initial implementation with no scheduling or meta templating implemented.
The flavor actually has its identifiers ena/dis, and service type it belongs to.
The flavor profile has identifiers, driver FQN, ena/dis and metainfo (which has no implementation right now)
There is also a table binding those two entities.

When LB is created with flavor but not with a provider, LBaaS plugin is requesting neutron's flavor plugin to get the provider while supplying flavor id.
Then, neutron's flavor plugin gets the first suitable provider.  No scheduling is in place yet.

Driver has no chance to know which flavor or service profile was used to invoke it.

In past, I used the flavors extension in past and succeeded to create LB while specifying flavor in. Can try to help you with this.

In order to make the current flavors plugin useful before flavors templating and meta are in place,
I pushed this change, so driver will be able to get its provider meta info when needed.
https://review.openstack.org/#/c/318153
It's just a neutron side of the work, I'm planning to  push the LBaaS side soon, which will show how it can be used
And also a driver code which uses it.

Regards,
Evgeny


From: Ahana Ghosh [mailto:ahana.ghosh at citrix.com]
Sent: Monday, August 22, 2016 8:28 PM
To: openstack-dev at lists.openstack.org
Subject: [openstack-dev] [lbaas][flavor]Using flavor framework in Mitaka

Hi,

We have a few questions regarding using flavor support in Mitaka-

*         We are trying to setup 3 flavors which can be used by LBaaS users during Loadbalancer creation. All of the 3 flavours will point to the same provider/driver. The driver should be able to understand which flavour was used for loadbalancer creation. Can this be done?

*         Unfortunately I am stuck in the first step itself. I have enabled "flavour" extension in neutron.conf. As an admin I am unable to create & list flavours. I am getting a 404 error when I do "<cli>" command. Could someone please help me resolve this issue?

*         If the same flavour is being supported by different service providers, will the tenant be unaware about which service provider is providing LBAAS service as the admin uses a scheduling algorithm to use LBAAS service provided by different service providers for a single flavour?

*         What is the difference between a flavor and a flavor profile?

Regards,
Ahana



______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160823/82313b1b/attachment.html>


More information about the OpenStack-dev mailing list