~termie/nova/multi_scheduler

Viewing all changes in revision 1410.

  • Committer: Tarmac
  • Author(s): Chris Behrens
  • Date: 2011-08-09 21:09:10 UTC
  • mfrom: (1250.2.55 servers-search)
  • Revision ID: tarmac-20110809210910-ihhdtu9u7hjfos6i
This adds the servers search capabilities defined in the OS API v1.1 spec.. and more for admins.

For users, flavor=, image=, status=, and name= can be specified.  name= supports regular expression matching.
Most other options are ignored.  (things outside of the spec like 'recurse_zones' and 'reservation_id' still work, also)

If admin_api is enabled and context is an admin: along with the above, one can specify ip= and ip6= which will do regular expression matching.  Also, any other 'Instance' column name can be specified, so you can do regexp matching there as well.  Unknown Instance columns are ignored.

Also fixes up fixed_ip=, making a 404 returned vs a 500 error... and handling this properly with zone recursion as well.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: