cloudkitty/contrib/devstack/README.rst
François Magimel 4dd1eb113d Add Devstack support for the api
Change-Id: If9140e12879bcbb850ab58ade2a88cfc703b98c7
2014-08-25 16:29:15 +02:00

1.1 KiB

Installing CloudKitty using devstack

The contrib/devstack/ directory contains the files necessary to integrate CloudKitty with devstack.

Install:

$ DEVSTACK_DIR=/path/to/devstack
$ CLOUDKITTY_DIR=/path/to/cloudkitty
$ cd ${CLOUDKITTY_DIR}/contrib/devstack
$ cp lib/cloudkitty ${DEVSTACK_DIR}/lib
$ cp extras.d/70-cloudkitty.sh ${DEVSTACK_DIR}/extras.d

Configure devstack to run CloudKitty

  1. enable Ceilometer:

    $ cd ${DEVSTACK_DIR}
    $ echo "# ceilometer" >> local.conf
    $ echo "enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector >> local.conf
    $ echo "enable_service ceilometer-alarm-notifier ceilometer-alarm-evaluator" >> local.conf
    $ echo "enable_service ceilometer-api" >> local.conf
  2. enable CloudKitty:

    $ cd ${DEVSTACK_DIR}
    $ echo "# cloudkitty" >> local.conf
    $ echo "enable_service ck-api ck-proc" >> local.conf

Run devstack as normal:

$ ./stack.sh