Skip to content

Instantly share code, notes, and snippets.

View JohnGarbutt's full-sized avatar

John Garbutt JohnGarbutt

View GitHub Profile
./idea.py
***********************************
First operators sets default limits
get limits for random project x
[{'count_scope': [{'project_id': 'x'}],
'max': 5,
'resource_class': 'compute:VCPU'},
{'count_scope': [{'project_id': 'x'}],
'max': 5,
@JohnGarbutt
JohnGarbutt / gist:8950394
Created February 12, 2014 05:14
Example Nova Blueprint Status
Stats from:
https://github.com/JohnGarbutt/gerrit-bp-lp
Cache could not load.
Fetching patches...
1503
Saved to nova-patches.txt
Unapproved blueprints:
2
https://blueprints.launchpad.net/nova/+spec/support-libvirt-1x
@JohnGarbutt
JohnGarbutt / newer one
Last active August 29, 2015 13:56
Nova Blueprint Status Checker
<milestone at https://api.launchpad.net/devel/nova/+milestone/icehouse-3>
https://api.launchpad.net/devel/nova/+milestone/icehouse-3 blueprints:
112
Unapproved blueprints:
[u'support-libvirt-1x', u'options-in-groups']
Approved blueprints:
110
@JohnGarbutt
JohnGarbutt / XAPI code with permissions error (baloon.ml)
Last active December 14, 2015 15:29
XAPI wil permisions issues
(*
* Copyright (C) 2006-2009 Citrix Systems Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; version 2.1 only. with the special
* exception on linking described in file LICENSE.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
#On the console you see just the content of the files, no errors.