Merge "bugfix: yardstick reporing in stable branch omit stable/"
authorliang gao <jean.gaoliang@huawei.com>
Tue, 13 Sep 2016 02:09:07 +0000 (02:09 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Tue, 13 Sep 2016 02:09:07 +0000 (02:09 +0000)
tests/opnfv/test_cases/opnfv_yardstick_tc002.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc055.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc075.yaml
yardstick/benchmark/scenarios/networking/networkcapacity.bash
yardstick/benchmark/scenarios/networking/ping6_metadata.txt
yardstick/benchmark/scenarios/networking/ping6_post_teardown.bash
yardstick/benchmark/scenarios/networking/ping6_pre_setup.bash
yardstick/benchmark/scenarios/networking/ping6_setup.bash

index 1942bb5..93d6ac0 100644 (file)
@@ -24,7 +24,7 @@ scenarios:
 context:
   name: demo
   image: cirros-0.3.3
-  flavor: m1.tiny
+  flavor: yardstick-flavor
   user: cirros
 
   placement_groups:
index b43e566..403bc34 100644 (file)
@@ -1,6 +1,7 @@
 ---
 # Yardstick TC055 config file
 # Collect hardware specification from /proc/cpuinfo
+# Measure number of cores, number of threads, available memory size and cache size
 
 schema: "yardstick:task:0.1"
 {% set host = host or "node5.yardstick-TC055" %}
index d4a978c..fb5a12e 100644 (file)
@@ -1,8 +1,7 @@
 ---
 # Yardstick TC075 config file
-# Measure compute capacity and scale.
-# Including number of cores, number of threads, available memory size and
-# cache size.
+# Measure network capacity and scale.
+# Measure number of connections, number of frames received
 
 schema: "yardstick:task:0.1"
 {% set host = host or "node1.LF" %}
index a18f97e..e2d3eb7 100644 (file)
@@ -9,7 +9,7 @@
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
 
-# Measure compute capacity and scale of a host
+# Measure network capacity and scale of a host
 
 set -e
 OUTPUT_FILE=/tmp/netperf-out.log
index 5dc08d3..82accbf 100644 (file)
@@ -45,7 +45,11 @@ write_files:
    owner: root:root
  - content: |
      TYPE="Ethernet"
-     BOOTPROTO=static
+     BOOTPROTO="dhcp"
+     DEFROUTE="no"
+     PEERDNS="no"
+     PEERROUTES="no"
+     IPV4_FAILURE_FATAL="no"
      IPV6INIT=yes
      IPV6ADDR="2001:db8:0:2::1/64"
      NAME=eth1
@@ -56,6 +60,15 @@ write_files:
    permissions: '0755'
    owner: root:root
  - content: |
+     interface eth0
+     {
+        AdvSendAdvert on;
+        MinRtrAdvInterval 3;
+        MaxRtrAdvInterval 10;
+        AdvDefaultLifetime 0;
+        route 2001:db8:0:2::/64 {
+        };
+     };
      interface eth1
      {
         AdvSendAdvert on;
@@ -79,4 +92,4 @@ write_files:
      IPV6FORWARDING=yes
    path: /etc/sysconfig/network
    permissions: '0644'
-   owner: root:root
\ No newline at end of file
+   owner: root:root
index f40d47d..a0976e3 100644 (file)
@@ -8,10 +8,7 @@
 # which accompanies this distribution, and is available at
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
-sed -i 's/enable_security_group= False/enable_security_group = True/g' /etc/neutron/plugins/ml2/ml2_conf.ini
-sed -i 3d /etc/neutron/plugins/ml2/ml2_conf.ini
-sed -i 's/firewall_driver= neutron.agent.firewall.NoopFirewallDriver/firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver/g' /etc/neutron/plugins/ml2/ml2_conf.ini
-sed -i 's/security_group_api= nova/security_group_api = neutron/g' /etc/nova/nova.conf
+cp /etc/neutron/plugins/ml2/ml2_conf.ini_bkp /etc/neutron/plugins/ml2/ml2_conf.ini
 
 service neutron-l3-agent restart
 service neutron-dhcp-agent restart
@@ -23,4 +20,4 @@ service nova-conductor restart
 service nova-consoleauth restart
 service nova-novncproxy restart
 service nova-scheduler restart
-service nova-compute restart
\ No newline at end of file
+service nova-compute restart
index 4a781d2..e790a07 100644 (file)
@@ -9,12 +9,11 @@
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
 
-sed -i 's/enable_security_group = True/enable_security_group= False/g' /etc/neutron/plugins/ml2/ml2_conf.ini
-sed -i '2a extension_drivers = port_security' /etc/neutron/plugins/ml2/ml2_conf.ini
+cp /etc/neutron/plugins/ml2/ml2_conf.ini /etc/neutron/plugins/ml2/ml2_conf.ini_bkp
+sed -i '83a prevent_arp_spoofing = False' /etc/neutron/plugins/ml2/ml2_conf.ini
 sed -i 's/firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver/firewall_driver= neutron.agent.firewall.NoopFirewallDriver/g' /etc/neutron/plugins/ml2/ml2_conf.ini
-sed -i 's/security_group_api = neutron/security_group_api= nova/g' /etc/nova/nova.conf
-
 
+# restart nova and neutron service
 service neutron-l3-agent restart
 service neutron-dhcp-agent restart
 service neutron-metadata-agent restart
index 658e1d3..b2f324f 100644 (file)
@@ -24,8 +24,8 @@ neutron router-create ipv6-router
 
 
 # create (ipv4,ipv6)router and net and subnet
-neutron net-create --port_security_enabled=False ipv4-int-network1
-neutron net-create --port_security_enabled=False ipv6-int-network2
+neutron net-create ipv4-int-network1
+neutron net-create ipv6-int-network2
 
 # Create IPv4 subnet and associate it to ipv4-router
 neutron subnet-create --name ipv4-int-subnet1 \