View local.conf
[[local|localrc]]
ADMIN_PASSWORD=nova
DATABASE_PASSWORD=nova
RABBIT_PASSWORD=nova
SERVICE_PASSWORD=nova
SERVICE_TOKEN=s0m3-r4nd0m-53rv1c3-t0k3n
# MagnetoDB
ENABLED_SERVICES=key,mysql,rabbit,tempest,magnetodb
View magneto.sh
sudo apt-get install --assume-yes git
git clone https://github.com/openstack-dev/devstack.git
git clone https://github.com/stackforge/magnetodb.git
cp magnetodb/contrib/devstack/lib/magnetodb devstack/lib
cp magnetodb/contrib/devstack/extras.d/90-magnetodb.sh devstack/extras.d
cat > devstack/local.conf <<EOF
View micro-ceph.txt
#
# Copyright (C) 2013 Loic Dachary <loic@dachary.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
View gist:8573862
List of work to be done
-----------------------
CreateVolume - None
CreateSnapshot - None
DeleteVolume - None
DeleteSnapshot - None
AttachVolume None
DetachVolume - None
DescribeVolumes
View enumerate_interfaces.py
# Use those functions to enumerate all interfaces available on the system using Python.
# found on <http://code.activestate.com/recipes/439093/#c1>
# Works with Python 2.7
# Python 3.3's 'socket' module takes care of many of the functionalities coded here
import socket
import fcntl
import struct
import array