[openstack-dev] [Neutron] Getting project version from API

Sean M. Collins sean at coreitpro.com
Mon Jun 6 18:45:54 UTC 2016


Ihar Hrachyshka wrote:
> 
> > On 06 Jun 2016, at 16:44, Sean M. Collins <sean at coreitpro.com> wrote:
> > 
> > I agree, it would be convenient to have something similar to what Nova
> > has:
> > 
> > https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/versions.py#L59-L60
> > 
> > We should put some resources behind implementing micro versioning and we
> > could end up with something similar.
> > 
> > It would also be nice to have the agents report their version, so it
> > bubbles up into the agent-list REST API calls.
> 
> Agents already report a list of object versions known to them:
> 
> https://github.com/openstack/neutron/blob/master/neutron/db/agents_db.py#L258
> 
> In theory, we can deduce the version from there. The versions are reported through state reports. Not sure if it’s exposed in API.
> 

Right - I was looking at your commit that implemented that - and perhaps
using that information to return something similar to the nova
min_version and max_versions - in the agent-list output.
-- 
Sean M. Collins



More information about the OpenStack-dev mailing list