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
def split_ova(vm_id): | |
split_ok = True | |
conf.read(['./running.conf']) | |
vms = json.loads(conf.get('STATE', 'vms')) | |
## this script is designed to work with Python 2.5+, so we are not using anything from ElementTree 1.3, only 1.2... | |
## this is important in order to support CentOS at the time of this writing. | |
ns = {} | |
ns['ns'] = 'http://schemas.dmtf.org/ovf/envelope/1' | |
ns['ovf'] = 'http://schemas.dmtf.org/ovf/envelope/1' |
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 main | |
import ( | |
"fmt" | |
"net/http" | |
"time" | |
) | |
type Op struct { | |
Attempt int |
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
Summary of the config and files in play for slogging... | |
------------------------------------------------------- | |
config file: /etc/swift/log-processor.conf | |
/usr/local/bin | |
-------- | |
swift-access-log-delivery | |
=> {config: log-processor.conf -> [log-processor-access] } | |
=> {class: from slogging.access_log_delivery import AccessLogDeliveryDaemon } |
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
import urllib | |
import urllib2 | |
import hmac | |
import hashlib | |
import base64 | |
import json | |
import pprint | |
class CloudstackAPI(object): | |
""" |