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 python3 | |
# -*- mode: python -*- | |
import sys | |
import hashlib | |
def calculate_multipart_etag(source_path, chunk_size, expected=None): | |
md5s = [] | |
with open(source_path,'rb') as fp: |
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 python3 | |
# -*- mode: python -*- | |
import os | |
import sys | |
import sh | |
import glob | |
import base64 | |
import signal | |
import hashlib |
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
#################################### | |
## This method will check the power status of the VM and will off the vm based on the condition provided | |
############################################# | |
vmware = $evm.vmdb('ems').find_by_name('vmware-XL') | |
#method to power off first 500 vms | |
first_slot = vmware.vms.first(500) | |
first_slot.each do |vm| | |
$evm.log("info", "VM name is #{vm.name}") | |
if vm.power_state == 'on' |
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 ovirtsdk4 as sdk | |
import ovirtsdk4.types as types | |
import time | |
import sys | |
def create_all(): | |
try: |
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
[DEFAULT] | |
pbench_install_dir = /opt/pbench-agent | |
# CHANGE ME! | |
pbench_results_redirector = perf-infra.ec2.breakage.org | |
# CHANGE ME! | |
pbench_web_server = perf-infra.ec2.breakage.org | |
[pbench-agent] | |
install-dir = %(pbench_install_dir)s |
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
{ | |
"workload": { | |
"version": "5.7.0.0/", | |
"name": "workload-cap-and-util", | |
"rawdata": [ | |
{ | |
"scenerio-name": "30m-vmware-xlarge", | |
"process-name": { | |
"evm_watchdog.rb": [ | |
{ |
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
{ | |
"workload": { | |
"version": "5.7.0.0/", | |
"name": "workload-cap-and-util", | |
"rawdata": [ | |
{ | |
"scenerio-name": "30m-vmware-xlarge", | |
"process-name": { | |
"evm_watchdog.rb": [ | |
{ |
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
{ | |
"workload": { | |
"version": "5.7.0.0/", | |
"name": "workload-cap-and-util", | |
"rawdata": [ | |
{ | |
"scenerio-name": "30m-vmware-xlarge", | |
"process-name": { | |
"evm_watchdog.rb": [ | |
{ |