Anastasia Kuznetsova b5724cae4a Add API integration tests for v2
- Added integration tests for API version 2
- Refactor base.py, separate methods for v1 and v2
- Created second endpoint /v2 in keystone in devstack installation

Change-Id: Ibe23971b2335242ed72b837bfc1f861d0a74e395
2014-09-18 13:19:05 +04:00
..
2014-04-29 15:24:23 +04:00
2014-09-18 13:19:05 +04:00

  1. Follow Devstack documentation to setup a host for Devstack. Then clone Devstack source code.

  2. Copy Mistral integration scripts to Devstack:

    $ cp lib/mistral ${DEVSTACK_DIR}/lib
    $ cp extras.d/70-mistral.sh ${DEVSTACK_DIR}/extras.d
  3. Create a local.conf file as input to devstack.

  4. The Mistral service is not enabled by default, so it must be enabled in local.conf before running stack.sh. This example local.conf file shows all of the settings required for Mistral:

    # Enable Mistral
    enable_service mistral
    
    # Use Keystone Identity API v3 (override 2.0 default)
    IDENTITY_API_VERSION=3
  5. Deploy your OpenStack Cloud with Mistral:

    $ ./stack.sh