Method to check the Opennebula version from a command/API


(Andres Pozo Muñoz) #1

Hi there,

what would be the best way to get programatically (through some command/API operation/file) which version of opennebula is running in one host, database schema version, etc.?

For the db schema, I know I can check the local_db_versioning table.

mysql> select * from local_db_versioning;
+-----+---------+------------+------------------------------------+----------+
| oid | version | timestamp  | comment                            | is_slave |
+-----+---------+------------+------------------------------------+----------+
|   0 | 5.4.1   | 1534504747 | OpenNebula 5.4.15 daemon bootstrap |        0 |
+-----+---------+------------+------------------------------------+----------+
1 row in set (0.00 sec)

But I’m not sure about the platform itself…
Thanks!


(Sergio) #2

oned -v???