X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=yardstick%2Fbenchmark%2Fcontexts%2Fstandalone%2Fsriov.py;h=9d8423b5f90a23e8265ab8e10fc8effeb9614b82;hb=3d13a4e3a2a593cee37d55638d0c1e49cec1dea7;hp=fe27d2579f41ada6f55fcc01cb6f9b14b52967fd;hpb=b2552579f300ec9f4c2b516eb44cac0efb3d4dd6;p=yardstick.git diff --git a/yardstick/benchmark/contexts/standalone/sriov.py b/yardstick/benchmark/contexts/standalone/sriov.py index fe27d2579..9d8423b5f 100644 --- a/yardstick/benchmark/contexts/standalone/sriov.py +++ b/yardstick/benchmark/contexts/standalone/sriov.py @@ -14,418 +14,248 @@ 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 - - - - -
- - -
- - - -
- - - -
- - - -
- - - - - - - - - - - - -