Configure ACL via static file 09/58109/9
authorMytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
Thu, 31 May 2018 09:03:10 +0000 (10:03 +0100)
committerMytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
Thu, 21 Jun 2018 15:07:17 +0000 (16:07 +0100)
commit3fdca97ff5053770161059a34a95fd39463eaecd
tree11f49dacc5422b94eb2278811811b73437c5c5c5
parent172d932bccf58e1fb56872fffee698a9e36ddb83
Configure ACL via static file

This patch allows user to configure ACL/vFW SampleVNF ACL
via configuration file provided in TC definition. The
Yardstick applies the rules to SampleVNF from specified config
file + rules generated by Yardstick (default rules).

The example of SampleVNF ACL CLI commands generated/applied
by Yardstick can be found at (using default ACL config file):

ACL VNF ACL CLI commands:
  acl/tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml
  http://paste.openstack.org/show/723303/

vFW VNF ACL CLI commands:
  vfw/tc_heat_rfc2544_ipv4_1rule_1flow_64B_trex.yaml
  http://paste.openstack.org/show/723304/

Change-Id: I76a630261a982083b628e3985fc3bec14ca495db
Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
18 files changed:
samples/vnf_samples/nsut/acl/acl_1rule.yaml
samples/vnf_samples/nsut/acl/acl_rules.yaml
samples/vnf_samples/nsut/acl/acl_worstcaserules.yaml
samples/vnf_samples/nsut/vfw/acl_1rule.yaml
yardstick/common/exceptions.py
yardstick/common/utils.py
yardstick/network_services/helpers/samplevnf_helper.py
yardstick/network_services/vnf_generic/vnf/acl_vnf.py
yardstick/network_services/vnf_generic/vnf/sample_vnf.py
yardstick/network_services/vnf_generic/vnf/vfw_vnf.py
yardstick/network_services/vnf_generic/vnf/vnf_ssh_helper.py
yardstick/network_services/yang_model.py [deleted file]
yardstick/tests/unit/network_services/helpers/test_samplevnf_helper.py
yardstick/tests/unit/network_services/test_yang_model.py [deleted file]
yardstick/tests/unit/network_services/vnf_generic/vnf/test_acl_vnf.py
yardstick/tests/unit/network_services/vnf_generic/vnf/test_cgnapt_vnf.py
yardstick/tests/unit/network_services/vnf_generic/vnf/test_sample_vnf.py
yardstick/tests/unit/network_services/vnf_generic/vnf/test_vfw_vnf.py