X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=yardstick%2Fbenchmark%2Fcontexts%2Fstandalone%2Fsriov.py;h=9cca3e15c402460be2d155f3c2344b08bea81ff4;hb=caa5354c05e567ee4c6753ed77c819dfa4e2a37e;hp=fe27d2579f41ada6f55fcc01cb6f9b14b52967fd;hpb=1c587f5c883e49ba6457925d06b0ce4271d345a6;p=yardstick.git diff --git a/yardstick/benchmark/contexts/standalone/sriov.py b/yardstick/benchmark/contexts/standalone/sriov.py index fe27d2579..9cca3e15c 100644 --- a/yardstick/benchmark/contexts/standalone/sriov.py +++ b/yardstick/benchmark/contexts/standalone/sriov.py @@ -14,418 +14,247 @@ from __future__ import absolute_import import os -import yaml -import re -import time -import glob -import uuid -import random import logging -import itertools -import xml.etree.ElementTree as ET +import collections +from collections import OrderedDict + from yardstick import ssh from yardstick.network_services.utils import get_nsb_option from yardstick.network_services.utils import provision_tool -from yardstick.benchmark.contexts.standalone import StandaloneContext - -log = logging.getLogger(__name__) - -VM_TEMPLATE = """ - - vm1 - {random_uuid} - 102400 - 102400 - - - - 20 - - hvm - - - - - - - - - SandyBridge - - - - - - - - destroy - restart - restart - - /usr/bin/kvm-spice - - - - -
- - -
- - - -
- - - -
- - - -
- - - - - - - - - - - - -