Configure ACL via static file 25/58925/1
authorMytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
Thu, 31 May 2018 09:03:10 +0000 (10:03 +0100)
committerMytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
Fri, 22 Jun 2018 14:05:53 +0000 (15:05 +0100)
commit7c2d0fbab9f4bbcbe53d229425642c26edc92492
tree76e5a48b2d64b1ff76c64034f03d0e9ef5ab2874
parent9e33d405f33273c26b89f2ecdc49e42f1b560f02
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>
(cherry picked from commit 3fdca97ff5053770161059a34a95fd39463eaecd)
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
tests/unit/network_services/helpers/test_samplevnf_helper.py
tests/unit/network_services/vnf_generic/vnf/test_acl_vnf.py
tests/unit/network_services/vnf_generic/vnf/test_cgnapt_vnf.py
tests/unit/network_services/vnf_generic/vnf/test_sample_vnf.py
tests/unit/network_services/vnf_generic/vnf/test_vfw_vnf.py
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/test_yang_model.py [deleted file]