Bugfix: port_security_enabled issue 11/38511/2
authorJingLu5 <lvjing5@huawei.com>
Tue, 1 Aug 2017 08:24:01 +0000 (08:24 +0000)
committerRoss Brattain <ross.b.brattain@intel.com>
Tue, 1 Aug 2017 13:21:21 +0000 (13:21 +0000)
commit90e5786f6e5bd3235e3d1c307782b8cae9d7b958
tree1bafd5d49b7c6dc8d6ea84bdc5c7c94103254c99
parent5ad208bd8d0c1798179de226f28f1e1ec03033fa
Bugfix: port_security_enabled issue

JIRA: YARDSTICK-765

When port_security_enabled is not set, VMs are assigned with security group 'default'.
When using 'default' security group, all egress traffic and intercommunication in the
default group are allowed and all ingress from outside of the default group is dropped
by default (in the default security group). This causes yardstick cannot ssh into VMs.

If port_security_enabled is not set, we should still add the security group that created
by yardstick to the VMs.

Change-Id: Ifd22fb452e0077581b6900f8f51c4e3c342a30aa
Signed-off-by: JingLu5 <lvjing5@huawei.com>
yardstick/benchmark/contexts/model.py