diff options
-rw-r--r-- | dashboard/pushtoDB.py | 2 | ||||
-rw-r--r-- | data/hosts | 7 | ||||
-rw-r--r-- | data/my_key.pem | 50 | ||||
-rwxr-xr-x | docker/run_qtip.sh | 12 | ||||
-rw-r--r-- | docs/network_testcases.rst | 31 | ||||
-rw-r--r-- | func/driver.py | 2 |
6 files changed, 52 insertions, 52 deletions
diff --git a/dashboard/pushtoDB.py b/dashboard/pushtoDB.py index 44602628..750ec039 100644 --- a/dashboard/pushtoDB.py +++ b/dashboard/pushtoDB.py @@ -2,7 +2,7 @@ import requests import json
import datetime
import os
-TEST_DB = 'http://213.77.62.197'
+TEST_DB = 'http://testresults.opnfv.org/testapi'
suite_list = [('compute_result.json', 'compute_test_suite'),('network_result.json', 'network_test_suite'),('storage_result.json', 'storage_test_suite')]
payload_list = { }
@@ -1,4 +1,3 @@ -[1-server] -10.20.0.5 -[2-host] -10.20.0.4 +[host] +172.18.1.39 +172.18.1.38 diff --git a/data/my_key.pem b/data/my_key.pem index d7c96f24..c08dbd79 100644 --- a/data/my_key.pem +++ b/data/my_key.pem @@ -1,27 +1,27 @@ -----BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEAntmA9ybqcxQKr9R3iTbNr+89ZJwlt5+gLbT8VR9sUAYCEEJn -xX7DX5djpSdQ1OoxJun/HE0ByKPXCIqGq3sHnxQ/3Wh80UGlyiSXgS8/p8NlfgPr -DIDuVNhKJlsobsfTVXL789i512rqf2zFBWfoesFgZee6ACrSYN3hdNICFOwtbmHA -g+xEs00yGmbcFDuBQnDeR2yPpV6G4AtrU5zwliVj7fMzrB5w9De20ydbFqxjPdOD -gbfwrhQQs82pv7vfJCFByjsSlwP4mcznKgOt/aO2y/B1ZvL+dOsCi8D3H6Ggrg7R -wmiIRaCijYX4SycYxdn+RkZpp9g0AyR/potcKwIDAQABAoIBADncgF2Gj1/brQjf -G6ufiszLGFHNju+T9YSwqDlZeNqtVZMWnTYTNpdbTbCa4Zast7q1AXgNlNjA1VMH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JRmISDW2ipIz3d+eDZnNtjLxO6F0rTmPyYd/CbO0nv1kuTpre +zINqJK1XNJN8t81zYu83X66WaYq7hAQXsU/E++kCgYEAl8Yi6xFxDUYomWiwUDve +TOMWRz5byMM9gQVlyUVpYjRxVx36pjMIwUE25rjHKoqa4YL8xNR7UQxFeMXD62Cr +EoTtgKjivXVR+3t1r8WGDdq+wbd3N7NFpX2vdC2Hzggj8RcJJu6xdaDJLehCdSXs +JTX2zOHULegwNAkd6CzJh+cCgYB2/w7pOstiX05wMDkR/bfTLsFDJCgDjcO/j8Xm +v59xc064TxMdGsTwA30smaFu8ld607CViYprMYp76E+QN7OXVYynmQmemIsQbG/M +4FlZLsEwdTI6eFm8F21QSRhgmyN2Tmn10Ut3EPdpVhq6uF6KMWvqH+ifl576hmxU +6mX6sQKBgQDPe7BF0zX0YbAr9i55V0B8kbAtNoy7oD1KdN9wFgAOS/coLz6jO2kq +qyEe+aUgbdZKpzLgKhw5HSNyR+oRnC286ee89KEy5p7NxWenQEMa7pJzhLxAH3IY +XUeWxVj7DQLGUHBhLBKHqrG8kgiui/oov3BbTu2qcOHI9Ldf9BxbhQ== -----END RSA PRIVATE KEY----- diff --git a/docker/run_qtip.sh b/docker/run_qtip.sh index 79c2a225..a4729c06 100755 --- a/docker/run_qtip.sh +++ b/docker/run_qtip.sh @@ -11,17 +11,17 @@ source ${QTIP_DIR}/opnfv-creds.sh if [ "$TEST_CASE" == "compute" ]; then cd ${QTIP_DIR} && python qtip.py -l ${NODE_NAME} -f compute - cd ${QTIP_DIR}/data/ref_results/ $$ python compute_suite.py + cd ${QTIP_DIR}/data/ref_results/ && python compute_suite.py fi if [ "$TEST_CASE" == "storage" ]; then cd ${QTIP_DIR} && python qtip.py -l ${NODE_NAME} -f storage - cd ${QTIP_DIR}/data/ref_results/ $$ python storage_suite.py + cd ${QTIP_DIR}/data/ref_results/ && python storage_suite.py fi if [ "$TEST_CASE" == "network" ]; then cd ${QTIP_DIR} && python qtip.py -l ${NODE_NAME} -f network - cd ${QTIP_DIR}/data/ref_results/ $$ python network_suite.py + cd ${QTIP_DIR}/data/ref_results/ && python network_suite.py fi @@ -30,9 +30,9 @@ if [ "$TEST_CASE" == "all" ]; then cd ${QTIP_DIR} && python qtip.py -l ${NODE_NAME} -f storage cd ${QTIP_DIR} && python qtip.py -l ${NODE_NAME} -f network - cd ${QTIP_DIR}/data/ref_results/ $$ python compute_suite.py - cd ${QTIP_DIR}/data/ref_results/ $$ python storage_suite.py - cd ${QTIP_DIR}/data/ref_results/ $$ python network_suite.py + cd ${QTIP_DIR}/data/ref_results/ && python compute_suite.py + cd ${QTIP_DIR}/data/ref_results/ && python storage_suite.py + cd ${QTIP_DIR}/data/ref_results/ && python network_suite.py fi diff --git a/docs/network_testcases.rst b/docs/network_testcases.rst index ac68b11b..1c6fb910 100644 --- a/docs/network_testcases.rst +++ b/docs/network_testcases.rst @@ -7,11 +7,12 @@ Network Throughput for VMs Network Throughput for Compute Nodes
For the throughout of the compute nodes we simply go into the systems-under-test
-and install iperf3 on the nodes. One of the SUTs is used a server and the other as a
-client. The client pushes traffic to the server for a duration specified by the user
-configuration file for iperf. These files can be found in the test_cases/{POD}/network/
-directory. The bandwidth is limited only by the physical link layer speed available to the server.
-The result file inlcudes the b/s bandwidth and the CPU usage for both the client and server.
+ and install iperf3 on the nodes. One of the SUTs is used a server and the
+ other as a client. The client pushes traffic to the server for a duration specified by
+ the user
+ configuration file for iperf. These files can be found in the test_cases/{POD}/network/
+ directory. The bandwidth is limited only by the physical link layer speed available to the server.
+ The result file inlcudes the b/s bandwidth and the CPU usage for both the client and server.
For the VMs we are running two topologies through the framework.
@@ -19,20 +20,20 @@ For the VMs we are running two topologies through the framework. 2: VMs on different compute nodes
QTIP framework sets up a stack with a private network, security groups, routers and attaches the VMs to this network. Iperf3 is installed
-on the VMs and one is assigned the role of client while other serves as a server. Traffic is pushed
-over the QTIP private network between the VMs. A closer look in needed to see how the traffic actually
-flows between the VMs in this configuration to understand what is happening to the packet as traverses
-the openstack network.
+ on the VMs and one is assigned the role of client while other serves as a server. Traffic is pushed
+ over the QTIP private network between the VMs. A closer look in needed to see how the traffic actually
+ flows between the VMs in this configuration to understand what is happening to the packet as traverses
+ the openstack network.
The packet originates from VM1 and its sent to the linux bridge via a tap interface where the security groups
-are written. Afterwards the packet is forwarded to the Integration bridge via a patch port. Since VM2 is also connected
-to the Integration bridge in a similar manner as VM1 so the packet gets forwarded to the linux bridge connecting
-VM2. After the linux bridge the packet is sent to VM2 and is recieved by the Iperf3 server. Since no physical link is
-involved in this topology, only the OVS (Integration bridge) is being benchmarked and we are seeing bandwidth in the range
-of 14-15 Gbps.
+ are written. Afterwards the packet is forwarded to the Integration bridge via a patch port. Since VM2 is also connected
+ to the Integration bridge in a similar manner as VM1 so the packet gets forwarded to the linux bridge connecting
+ VM2. After the linux bridge the packet is sent to VM2 and is recieved by the Iperf3 server. Since no physical link is
+ involved in this topology, only the OVS (Integration bridge) is being benchmarked and we are seeing bandwidth in the range
+ of 14-15 Gbps.
For the topology where the VMs are spawned on different compute nodes, the path the packet takes becomes more cumbersome.
-The packet leaves a VM and makes its way to the Integration Bridge as in the first topology however the integration bridge
+The packet leaves a VM and makes its way to the Integration Bridge as in the first topology however the integration bridge
forwards the packet to the physical link through the ethernet bridge. The packet then gets a VLAN/Tunnel depending on the network
and is forwarded to the particular Compute node where the second VM is spwaned. The packets enter the compute node through the physical
ethernet port and makes its way to the VM through the integration bridge and linux bridge. As seen here the path is much more involved
diff --git a/func/driver.py b/func/driver.py index d20c0e9f..9f7db237 100644 --- a/func/driver.py +++ b/func/driver.py @@ -21,7 +21,7 @@ class Driver: print os.environ['PWD'] self.dic_json = defaultdict() - def drive_bench(self, benchmark, roles, benchmark_detail= None, pip_dict = None): + def drive_bench(self, benchmark, roles, benchmark_detail = None, pip_dict = None): roles= sorted(roles) pip_dict = sorted(pip_dict) |