1. 05 Aug, 2013 1 commit
    • Christos Stavrakakis's avatar
      snf-django: Move ListCommand to snf-django · c34a8574
      Christos Stavrakakis authored
      snf-webproject contained the generic ListCommand, and because of this it
      had a dependency from snf-django-lib. This commit moves this command from
      snf-webproject to snf-django-lib and removes this dependency. Also,
      updates all imports of ListCommand.
      Refs #4041
  2. 22 Jul, 2013 1 commit
  3. 02 Jul, 2013 1 commit
  4. 14 Mar, 2013 1 commit
    • Christos Stavrakakis's avatar
      Add ListCommand to be used for all *-list commands · c6b36078
      Christos Stavrakakis authored
      Create a generic ListCommand to be user for all *-list management
      commands. ListCommand handles must tasks that are common to all
      management commands, like retrieving objects from db, filtering
      results and formating output to a pretty table, json or csv.
      Also, implement server-list, network-list, backend-list and flavor-list
      as subclasses of this command.
  5. 18 Feb, 2013 1 commit
  6. 22 Nov, 2012 1 commit
  7. 13 Nov, 2012 1 commit
    • Christos Stavrakakis's avatar
      Add --filter-by option to *-list commands · 8d4176e5
      Christos Stavrakakis authored
      Add --filter-by option to server-list, network-list and flavor-list
      management commands. The value of this option is a comma-seperated list
      of key 'cond' val pairs and, when used, only the DB entries that satisfy all of
      the specified conditions are displayed.
      The exact keys that can be used are displayed in the help message. Also
      when a wrong key is used, all the available keys are displayed to the
      error message. No attempt is made to "sanitize" the keys.
      snf-manage server-list --filter-by "deleted=True,state=STARTED"
      snf-manage server-list --filter-by userid=cstavr@grnet.gr,flavor__cpu=2
      snf-manage flavor-list --filter-by "ram>=1024,disk<20"
  8. 09 Nov, 2012 1 commit
  9. 06 Nov, 2012 1 commit
  10. 29 Oct, 2012 1 commit
  11. 26 Sep, 2012 1 commit
  12. 19 Mar, 2012 2 commits