Commit Graph
55 Commits
Author SHA1 Message Date
Alejandro Huertas Herrero 308d203f48 F #3380: fix minor bugs (#3757)
* Fix bug in cli helper base64? funcion
* Change the way to read host idi in host_error script
* Change onehook log help message format
2019-09-24 09:44:06 +02:00
Alejandro Huertas Herrero c48a5799ab F #3380: add log subcommand to onehook (#3744) 2019-09-23 15:12:42 +02:00
Alejandro Huertas Herrero 3679153bb2 M #-: CLI upcase column name when using -l (#3526) 2019-07-18 12:02:39 +02:00
Alejandro Huertas Herrero ba3af8fb64 F #688: fix bug in CLI top (#3459) 2019-06-27 12:26:36 +02:00
Alejandro Huertas Herrero 9849631493 F #688: fix bug in CLI top (#3402) 2019-06-04 14:41:37 +02:00
Alejandro Huertas Herrero ed44bca60c F #688: change highline by IO library (#3386) 2019-05-30 12:43:24 +02:00
Alejandro Huertas Herrero 27e0a16a25 F #688: add new options to CLI (#3311)
* Add options to:
        * Remove header
        * Choose CSV separator
        * Not strip columns
        * Expand column size
        * Disable expand
        * Set column size

    * Add new operators to filter data

    * Change default configuration files sizes

    * Lint and clean the code
2019-05-07 17:23:15 +02:00
sergiojvg 0258711bbc F #2505: Add nested filters (#3083) 2019-03-19 12:25:56 +01:00
Ruben S. Montero 429ff8901d B #2565: Fix some issues with CLI pagination 2019-01-26 03:14:07 +01:00
Vlastimil Holer 441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Alejandro Huertas Herrero b2d8fe2a3f F #2764: Add option no-pager, to disable pagination. (#2798) 2019-01-15 10:32:56 +01:00
Ruben S. Montero 5509d7e257 CLI: Add support for compounds commands. New status color
Author: Alejandro Huertas <ahuertas@opennebula.systems>
2018-09-20 17:27:46 +02:00
Ruben S. Montero 21fe311681 F #2183: Use pager for list commands (e.g. onevm list). Support for
custom ordering (by ID) in list API calls, this can be set per user,
group and default in oned.conf
2018-08-06 14:16:00 +02:00
Alejandro Huertas Herrero 5447d8a367 Added != operator to filter. (#1930)
* Added != operator to filter.

* Update cli_helper.rb
2018-04-05 13:30:06 +02:00
Vlastimil Holer a4c0447ccf Bump year to 2018 (#1623) 2018-01-02 18:27:37 +01:00
Javi Fontan 8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Jaime Melis e67147345a Merge branch 'feature-3826' 2016-09-13 18:20:46 +02:00
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Jaime Melis e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Javi Fontan ffae98ac0a feature #3826: listconfig configurable with env
Env variable ONE_LISTCONF, can be overridden with --listconf
2015-06-05 18:04:25 -04:00
Javi Fontan c0ae441f10 feature #3826: support for named list configurations
Add a new set of columns in :default_conf and use them with

$ onevm list --listconf user

For example, in the onevm.yaml cli configuration file:

:default_conf:
  :user:
    - :ID
    - :NAME
    - :STAT
    - :UCPU
    - :UMEM
    - :HOST
    - :IP
    - :TIME
2015-06-05 16:32:39 -04:00
Jaime Melis 8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00
Carlos Martín 6fbbef6b60 Feature #3175: New onesecgroup command 2014-09-08 11:59:13 +02:00
Matthias Schmitz 8b616eb086 Fix minor typo in cli_helper. (Expresion vs Expression) 2014-05-22 12:17:16 +02:00
Javi Fontan 6b24eb51e1 bug #2780: fix --csv flag for CLI in ruby 1.8.7 2014-03-18 16:23:40 +01:00
Javi Fontan e49687be51 feature #1484: add csv output to table formater 2014-02-18 17:50:08 +01:00
Javi Fontan c5839f087b feature #2371: fix bugs in CLI table renderer 2014-01-30 12:01:30 +01:00
Javi Fontan db2790e975 feature #2371: better fix for the extra new line in list 2014-01-28 17:14:45 +01:00
Javi Fontan 8c678b8f84 feature #2371: do not print extra line in list commands 2014-01-28 16:32:45 +01:00
Javi Fontan 955c102519 feature #2371: add pagination to ruby oca, cli and sunstone
There is a new pool method called get_hash that uses pagination when possible.

The default page size can be changed with the environment variable
ONE_POOL_PAGE_SIZE. Any value > 2 will set a page size, a non
numeric value disables pagination.

Paginated pools are parsed using sax instead of dom so this makes the parse
a bit faster. It will also detect Ox gem (https://github.com/ohler55/ox) and
will use it as it is much faster than Nokogiri.

Screen cleaning in top command is done after retrieving the pool reducing
the flickering.
2014-01-16 17:23:14 +01:00
Jaime Melis 11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Javi Fontan aec478aa13 Strip trailing spaces for every table line in CLI 2013-04-03 17:38:34 +02:00
Carlos Martín a75c7e5fdd Feature #1483: onevm show lists scheduled actions in a table 2013-02-05 17:08:04 +01:00
Jaime Melis 7357bffe34 Update copyright notice 2013-01-24 16:18:30 +01:00
Jaime Melis af61e33f8c Update year to 2013 2013-01-24 16:03:57 +01:00
Javi Fontan 6947f7ae1d feature #1640: reformat descriptions for 80 columns 2012-11-19 12:41:21 +01:00
Javi Fontan 6382b18bbd feature #1653: add --filter to list commands 2012-11-13 17:53:57 +01:00
Javi Fontan 8337da960b feature #1353: state is only colored when using a tty 2012-09-18 18:22:56 +02:00
Javi Fontan b0e0f0de12 feature #1353: bug in the state colour function 2012-09-18 18:12:50 +02:00
Javi Fontan 147cf3c274 feature #1353: Add colours to the state columns 2012-09-18 12:27:59 +02:00
Javi Fontan a2e61867e7 feature #1362: print column description with --describe 2012-09-17 17:40:43 +02:00
Jaime Melis e9693f8c93 Bug #1344: Handle CLI output of many lines to a pipe 2012-07-10 11:59:20 +02:00
Jaime Melis 5a99761749 Suppress coloured output in the CLI when the output is a pipe 2012-05-29 12:37:26 +02:00
Jaime Melis a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Daniel Molina 4df59c6310 feature #788: Improve error messages in the cli_helper 2011-08-31 14:02:14 +02:00
Daniel Molina eaa91a534e bug #747: one* top commands refresh information 2011-08-02 15:57:34 +02:00
Tino Vázquez 57c491ab29 Add missing oZones changes (due to manual merge) 2011-07-15 18:05:01 +02:00
Daniel Molina b083a9e458 feature #647: If the column does not exists using the -l option show an error 2011-07-12 16:13:34 +02:00
Javi Fontan 3f310220e2 sanitize shown column in CLI list 2011-07-12 11:41:51 +02:00
Daniel Molina bef0fddeac feature #661: Check columns existence 2011-06-13 16:08:55 +02:00