5 Commits

Author SHA1 Message Date
ZHU ZHU
0655583c91 Fix the argument order for openstack client
If there are --xxx argument placed for openstack clients such as
nova, glance, keystone etc, these arguments need to be placed before
the actual command line. Otherwise, the client will raise unrecognized
arguments exception which will make the command execution fail.

Change-Id: I1568f9332accffdfa3a34d8bbd842f707b1a340e
Closes-Bug: #1388147
2014-11-04 05:05:25 -06:00
Mark Vanderwiel
abd313ac8d Setting up repo for master Juno branch
* Update metadata versions
* Updates for icehouse specific attributes
* Removing Strainer file
* Updating Gems
  * chef (11.12.0)
  * chefspec (4.0.0)
  * rspec (3.0.0)
* Cleanup specs for 4.x

Change-Id: I9a495cdb90feaf7508a5b861557856dd19340272
Partial-Bug: 1349865
2014-07-29 11:09:11 -05:00
Stephan Renatus
1a3c689d6d Add network-related CLI commands
This change introduced the ability to query UUIDs for Neutron entities:
routers, (sub)networks, etc.

To do so, the identity_uuid method was generalised and the image_id
method rewritten to make use of the new get_uuid method.

Change-Id: Idf9f4f04a8ca482ab23c0c667c3546437829690a
2014-06-26 10:45:16 +02:00
Matt Thompson
0742d2c9ee Add image_id method and update openstack_command
This change adds a new method to libraries/cli.rb which we will use
in new cookbook-openstack-integration-test to obtain a glance image id
from a glance image name.

Additionally, we've had to update openstack-command method to handle
situation where we have commands like "glance image-show <id|name>".
Currently, it only seems to work with commands like
"keystone user-list".

Change-Id: Ie4b063340e813ac50cbd4b21e41cc3fa65eebeca
2014-06-05 21:49:27 +01:00
Mark Vanderwiel
f121e39060 Add new cli method
Add new method for calling openstack clis
Add new method for getting uuid via cli
These methods are based upon the identity register provider ones
Add tests
Related change in network: I89dd47c802a544bdd998059b36884cb10f628223

Change-Id: I2b2f1d94dbd67550ad3a352c2205a532173f6065
Implements: blueprint neutron-icehouse-default-changes
2014-04-17 12:36:15 -05:00