This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package slices | |
import ( | |
"bytes" | |
"database/sql/driver" | |
"encoding/csv" | |
"encoding/json" | |
"fmt" | |
"io" | |
"strings" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[general] | |
# Path to a Public key to install on servers. If a usable key has not | |
# been installed on the remote servers the user will be prompted for a | |
# password and this key will be installed so the password will not be | |
# required again | |
CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub | |
# Set to 'y' if you would like Packstack to install MySQL | |
CONFIG_MYSQL_INSTALL=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# *-*coding:utf-8*-* | |
import os | |
import zlib | |
import binascii | |
class W3GFileHandler(object): | |
def __init__(self, file): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import subprocess | |
TMP_INSTANCE_UUID = '' | |
NETWORK_ID = '' | |
IMAGE_ID = '' | |
FLAVOR_ID = '' | |
DEST_HOST = '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Keystone basic configuration | |
# Mainly inspired by https://github.com/openstack/keystone/blob/master/tools/sample_data.sh | |
# Modified by Bilel Msekni / Institut Telecom | |
# | |
# Support: openstack@lists.launchpad.net | |
# License: Apache Software License (ASL) 2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
. /etc/rc.d/init.d/functions | |
suffix=agent-compute | |
prog=openstack-ceilometer-$suffix | |
exec="/usr/bin/ceilometer-$suffix" | |
config="/etc/ceilometer/ceilometer.conf" | |
pidfile="/var/run/ceilometer/ceilometer-$suffix.pid" | |
logfile="/var/log/ceilometer/ceilometer-$suffix.log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
. /etc/rc.d/init.d/functions | |
suffix=agent-central | |
prog=openstack-ceilometer-$suffix | |
exec="/usr/bin/ceilometer-$suffix" | |
config="/etc/ceilometer/ceilometer.conf" | |
pidfile="/var/run/ceilometer/ceilometer-$suffix.pid" | |
logfile="/var/log/ceilometer/ceilometer-$suffix.log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
. /etc/rc.d/init.d/functions | |
suffix=api | |
prog=openstack-ceilometer-$suffix | |
exec="/usr/bin/ceilometer-$suffix" | |
config="/etc/ceilometer/ceilometer.conf" | |
pidfile="/var/run/ceilometer/ceilometer-$suffix.pid" | |
logfile="/var/log/ceilometer/ceilometer-$suffix.log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
. /etc/rc.d/init.d/functions | |
suffix=collector | |
prog=openstack-ceilometer-$suffix | |
exec="/usr/bin/ceilometer-$suffix" | |
config="/etc/ceilometer/ceilometer.conf" | |
pidfile="/var/run/ceilometer/ceilometer-$suffix.pid" | |
logfile="/var/log/ceilometer/ceilometer-$suffix.log" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################## | |
# ceilometer.conf sample # | |
########################## | |
[DEFAULT] | |
######## defined in ceilometer.counter ######## | |
# Source for counters emited on this instance (string value) | |
counter_source=openstack |