Ask Your Question
1

How to check whether it is neutron or quantum that is in use? [closed]

asked 2014-01-08 03:51:30 -0500

updated 2014-01-31 09:57:10 -0500

I am developing an automated testing script for neutron. I want to use callbacks for the previous versions of Openstack which uses quantum and even support that.

How do we identify if it is neutron or quantum that's in the use in a machine?

Thanks!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2014-01-31 10:42:18.080204

Comments

just another 2 cents on this. Best way to check even if everything is down i.e neutron/quantum, keystone etc is 1. Check for /etc/neutron or /etc/quantum directory. Easy to script in your scripting code 2. Check for the neutron or quantum database. This requires more code.

dheeru gravatar imagedheeru ( 2014-01-08 22:56:00 -0500 )edit

3 answers

Sort by ยป oldest newest most voted
3

answered 2014-01-08 04:05:50 -0500

Sandro Cazzaniga gravatar image

Maybe

keystone service-list

can help you too.

edit flag offensive delete link more
1

answered 2014-01-08 04:01:03 -0500

RomilGupta gravatar image

It depends on which openstack version you have installed on the machine. If it is Folsom or Grizzly then you could see quantum else neutron for Havana or ice house releases.

use quantum help ( Folsom and Grizzly) neutron help ( Havana and ice house) on CLI

edit flag offensive delete link more
1

answered 2014-01-08 04:21:54 -0500

dheeru gravatar image
keystone service-list
look for entry in nova.conf  - network_api_class = nova.network.neutronv2.api.API
look for directory /etc/neutron or /etc/quantum
ps -aef | grep neutron-server or qauntum
you can decide based on the nova --version as well.

Many more. All of them are indirect way of getting it. There is no API call to get what you are running. 

Enjoy
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-01-08 03:51:30 -0500

Seen: 158 times

Last updated: Jan 08 '14