aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vnfreq
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2018-08-30 15:02:05 +0800
committerLianhao Lu <lianhao.lu@intel.com>2018-08-30 15:08:31 +0800
commit5fa8e546e6c0e068c46410932683ffbec27574f9 (patch)
treee896dd3bc8b663010cb5a8704f36409fc74a7003 /tests/vnfreq
parenta2998ffa850a8661a378910d77f670dfebbb6690 (diff)
Test for vnf requirement R-35851
Implement test for vnf requirement R-35851: The VNF Package MUST include VNF topology that describes basic network and application connectivity internal and external to the VNF including Link type, KPIs, Bandwidth, latency, jitter, QoS (if applicable) for each interface. For now, we only check the existence of CP or VL, because Link type, bandwidth are already foced by ONAP DM. For other KPIs, current onap DM doesn't define yet. Change-Id: I6ad78edfcbd96ef748e1dbe5f0674b6e4e537e06 Issue-ID: VNFSDK-314 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'tests/vnfreq')
-rw-r--r--tests/vnfreq/test_pkg_reqs.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/vnfreq/test_pkg_reqs.py b/tests/vnfreq/test_pkg_reqs.py
index 3f85856..109e85c 100644
--- a/tests/vnfreq/test_pkg_reqs.py
+++ b/tests/vnfreq/test_pkg_reqs.py
@@ -83,3 +83,10 @@ def test_R26881(mocker, tmpdir):
}
check_result('R-26881', reader, validator, None)
+
+def test_R35851(mocker):
+ validator = mocker.Mock()
+ node = mocker.Mock()
+ validator.tosca.nodetemplates = [node]
+ check_result('R-35851', None, validator, None)
+