1.1.1.8.1.1.1.1.1.1. yardstick.vTC.apexlake.experimental_framework.benchmarks package
1.1.1.8.1.1.1.1.1.1.1. Submodules
1.1.1.8.1.1.1.1.1.1.2. yardstick.vTC.apexlake.experimental_framework.benchmarks.benchmark_base_class module
-
class
yardstick.vTC.apexlake.experimental_framework.benchmarks.benchmark_base_class.
BenchmarkBaseClass
(name, params)[source]
Bases: object
This class represents a Benchmark that we want to run on the platform.
One of them will be the calculation of the throughput changing the
configuration parameters
-
finalize
()[source]
Finalizes the benchmark
:return:
-
get_features
()[source]
-
get_name
()[source]
-
get_params
()[source]
-
init
()[source]
Initializes the benchmark
:return:
-
run
()[source]
This method executes the specific benchmark on the VNF already
instantiated
:return: list of dictionaries (every dictionary contains the results
of a data point
1.1.1.8.1.1.1.1.1.1.3. yardstick.vTC.apexlake.experimental_framework.benchmarks.instantiation_validation_benchmark module
-
class
yardstick.vTC.apexlake.experimental_framework.benchmarks.instantiation_validation_benchmark.
InstantiationValidationBenchmark
(name, params)[source]
Bases: experimental_framework.benchmarks.benchmark_base_class.BenchmarkBaseClass
-
finalize
()[source]
Finalizes the benchmark
:return: None
-
get_features
()[source]
-
init
()[source]
Initialize the benchmark
:return: None
-
run
()[source]
1.1.1.8.1.1.1.1.1.1.5. yardstick.vTC.apexlake.experimental_framework.benchmarks.multi_tenancy_throughput_benchmark module
-
class
yardstick.vTC.apexlake.experimental_framework.benchmarks.multi_tenancy_throughput_benchmark.
MultiTenancyThroughputBenchmark
(name, params)[source]
Bases: experimental_framework.benchmarks.rfc2544_throughput_benchmark.RFC2544ThroughputBenchmark
-
finalize
()[source]
Finalizes the benchmark
return: None
-
get_features
()[source]
-
init
()[source]
Initialize the benchmark
return: None
1.1.1.8.1.1.1.1.1.1.6. yardstick.vTC.apexlake.experimental_framework.benchmarks.rfc2544_throughput_benchmark module
-
class
yardstick.vTC.apexlake.experimental_framework.benchmarks.rfc2544_throughput_benchmark.
RFC2544ThroughputBenchmark
(name, params)[source]
Bases: experimental_framework.benchmarks.benchmark_base_class.BenchmarkBaseClass
Calculates the throughput of the VNF under test according to the RFC2544.
-
finalize
()[source]
-
-
get_features
()[source]
Returns the features associated to the benchmark
:return:
-
init
()[source]
Initialize the benchmark
:return: None
-
run
()[source]
Sends and receive traffic according to the RFC methodology in order
to measure the throughput of the workload
:return: Results of the testcase (type: dict)
1.1.1.8.1.1.1.1.1.1.7. yardstick.vTC.apexlake.experimental_framework.benchmarks.test_benchmark module
-
class
yardstick.vTC.apexlake.experimental_framework.benchmarks.test_benchmark.
TestBenchmark
(name, params)[source]
Bases: experimental_framework.benchmarks.benchmark_base_class.BenchmarkBaseClass
-
finalize
()[source]
-
get_features
()[source]
-
init
()[source]
-
run
()[source]
1.1.1.8.1.1.1.1.1.1.8. Module contents
Benchmarks to be executed within the framework