[openstack-dev] [neutron][api] - attaching arbitrary key/value pairs to resources

Russell Bryant rbryant at redhat.com
Mon Aug 24 14:40:30 UTC 2015


On 08/24/2015 10:33 AM, Kevin Benton wrote:
>>Obviously it'll still be possible to be used by a backend, but it's
> also possible to patch the code or provide arbitrary API extensions, too.
> 
> 
> Right, but vendor API extensions are the way that backend-specific
> features are supposed to be done. With an extension, it's explicit in
> the API via the extensions list that something non-standard is enabled.
> 
> Patching code is currently pretty brittle and puts a lot of technical
> debt on a driver author's part so it's pretty obvious to the author that
> it's not the right way to go. Once we add these tags, they will be part
> of the API so they should be stable and will be tempting to use for lots
> of stuff. :)

Totally agreed ... though I'd also argue that vendor API extensions are
harmful and shouldn't be allowed going forward, either.

-- 
Russell Bryant



More information about the OpenStack-dev mailing list