I hereby claim:
- I am kevinbringard on github.
- I am kevinbringard (https://keybase.io/kevinbringard) on keybase.
- I have a public key ASA1YZYmaVtjNnprfPLadpu8uDdj7V8HiaDuRjCaD2CLEQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| diff --git a/dhcp.py b/dhcp.py | |
| index 2844b1a..fc72f37 100644 | |
| --- a/dhcp.py | |
| +++ b/dhcp.py | |
| @@ -31,6 +31,7 @@ from quantum.agent.linux import utils | |
| from quantum.openstack.common import jsonutils | |
| from quantum.openstack.common import log as logging | |
| from quantum.openstack.common import uuidutils | |
| +from novaclient.v1_1 import client |
| #!/usr/bin/env bash | |
| # We need to cat lines with spaces | |
| OLD_IFS=$IFS | |
| IFS=$'\n' | |
| OUTFILE="hosts.file" | |
| NOVA_CREDS="" | |
| # If the credentials file isn't specified we exit | |
| if [ -z $NOVA_CREDS ]; then |
| Put this on the jumphost for the environment you wish to gather numbers for: | |
| #!/usr/bin/env bash | |
| if [ -f /tmp/disk_utilization ]; then | |
| rm /tmp/disk_utilization | |
| fi | |
| for i in $( ls -d /var/lib/nova/instances/instance* ); do | |
| instance=$i |
| #!/bin/sh | |
| # This should get most (if not all of the dependencies for openstack on CentOS 5.5 installed for you | |
| # Based on http://wiki.openstack.org/NovaInstall/CentOSNotes | |
| # Define some constants | |
| BASE=$( pwd ) | |
| BUILDDIR="nova-build" | |
| RPMHOST="UPDATE THIS" | |
| NOVACONF="nova.conf" |