Add ssh check to quantum smoke test.

 * Doing a ping check to verify that a vm is reachable may result
   in a false positive if the target ip is routed in error to a
   nonetheless pingable host.  This patch adds an ssh check that will
   fail if the target is not configured with the expected (and
   dynamically generated) ssh keypair.
 * Adding the ssh check uncovered a bug in security group creation -
   source group rules were being used that restricted traffic to
   ports associated with the security group.  This is now fixed.
 * Addresses bug 1182343

Conflicts:
	tempest/scenario/manager.py
	tempest/scenario/test_network_basic_ops.py

Change-Id: I4112ad9a8854fc113d5fefc7ea03a55da7d0ed1b
(cherry picked from commit af292e8eb7c5318541eb6e88ccde7d5b7c00cb71)
Fix AttachInterfacesTest error

This commit fixes some issues in AttachInterfacesTest.
* There is a problem to get the return value, TypeError is
  occurring.
* Assign the JSON or XML to _interface, but it is not specified
  in the method.
* Add a process to wait until the "ACTIVE" status.
  Because the status is "DOWN" when a interface is created.

Fixes bug 1164894

Change-Id: I71ec9e46eb15e70f870b7a833d5433fa351c42eb
(cherry picked from commit ba9e909dfb8983fc9fd51f7d79b772d03abfe3b0)
Merge "Add ssh check to quantum smoke test." into stable/grizzly
Merge "Fix AttachInterfacesTest error" into stable/grizzly