From 00960a3b25697ef06cdfd7534944f7e2cc2e6d06 Mon Sep 17 00:00:00 2001 From: demskeq8 Date: Wed, 21 Jul 2021 09:37:41 +0200 Subject: [SNDC-CSIT] Add tests for device manager Integration tests for wt feature set Issue-ID: SDNC-1584 Signed-off-by: demskeq8 Change-Id: I21de1540a664684d55bdec1172112130cdc2902f Former-commit-id: bdbf1ee7ae34887ca40dcc113d1065ce44da4a89 --- .../devicemanager/o-ran-basic/20_pnfRegistration | 1 + .../o-ran-basic/21_alarmNotificationVES | 1 + .../o-ran-basic/90_resetSimulatedDevices | 1 + .../devicemanager/o-ran-basic/__init__.robot | 18 ++++++ .../devicemanager/o-ran-basic/yangCapabilities.txt | 70 ++++++++++++++++++++++ 5 files changed, 91 insertions(+) create mode 120000 csit/tests/sdnr/functional/devicemanager/o-ran-basic/20_pnfRegistration create mode 120000 csit/tests/sdnr/functional/devicemanager/o-ran-basic/21_alarmNotificationVES create mode 120000 csit/tests/sdnr/functional/devicemanager/o-ran-basic/90_resetSimulatedDevices create mode 100644 csit/tests/sdnr/functional/devicemanager/o-ran-basic/__init__.robot create mode 100644 csit/tests/sdnr/functional/devicemanager/o-ran-basic/yangCapabilities.txt (limited to 'csit/tests/sdnr/functional/devicemanager/o-ran-basic') diff --git a/csit/tests/sdnr/functional/devicemanager/o-ran-basic/20_pnfRegistration b/csit/tests/sdnr/functional/devicemanager/o-ran-basic/20_pnfRegistration new file mode 120000 index 00000000..2c1e5752 --- /dev/null +++ b/csit/tests/sdnr/functional/devicemanager/o-ran-basic/20_pnfRegistration @@ -0,0 +1 @@ +../_templates/20_pnfRegistration \ No newline at end of file diff --git a/csit/tests/sdnr/functional/devicemanager/o-ran-basic/21_alarmNotificationVES b/csit/tests/sdnr/functional/devicemanager/o-ran-basic/21_alarmNotificationVES new file mode 120000 index 00000000..80f9ccaa --- /dev/null +++ b/csit/tests/sdnr/functional/devicemanager/o-ran-basic/21_alarmNotificationVES @@ -0,0 +1 @@ +../_templates/21_alarmNotificationVES \ No newline at end of file diff --git a/csit/tests/sdnr/functional/devicemanager/o-ran-basic/90_resetSimulatedDevices b/csit/tests/sdnr/functional/devicemanager/o-ran-basic/90_resetSimulatedDevices new file mode 120000 index 00000000..86f3cad3 --- /dev/null +++ b/csit/tests/sdnr/functional/devicemanager/o-ran-basic/90_resetSimulatedDevices @@ -0,0 +1 @@ +../_templates/90_resetSimulatedDevices \ No newline at end of file diff --git a/csit/tests/sdnr/functional/devicemanager/o-ran-basic/__init__.robot b/csit/tests/sdnr/functional/devicemanager/o-ran-basic/__init__.robot new file mode 100644 index 00000000..36cbca9f --- /dev/null +++ b/csit/tests/sdnr/functional/devicemanager/o-ran-basic/__init__.robot @@ -0,0 +1,18 @@ +*** Settings *** +Documentation Test suite for o-ran devices +Suite Setup My Setup +Force Tags o-ran +Library OperatingSystem + +*** Variables *** + + +*** Keywords *** +My Setup + Set Suite Variable ${DEVICE_TYPE} O_RAN_FH children=true + Set Suite Variable ${CORE_MODEL} Unsupported children=true + Set Suite Variable ${DEVICE_TYPE_GUI} O-RAN children=true + ${yang_file} = Get File ${CURDIR}/yangCapabilities.txt + Set Suite Variable ${YANG_CAPABILITIES_FILE} ${yang_file} children=true + + diff --git a/csit/tests/sdnr/functional/devicemanager/o-ran-basic/yangCapabilities.txt b/csit/tests/sdnr/functional/devicemanager/o-ran-basic/yangCapabilities.txt new file mode 100644 index 00000000..33e7abb7 --- /dev/null +++ b/csit/tests/sdnr/functional/devicemanager/o-ran-basic/yangCapabilities.txt @@ -0,0 +1,70 @@ +[["o-ran-compression-factors", "2019-07-03"], + ["ietf-crypto-types", "2019-07-02"], + ["ietf-netconf", "2013-09-29"], + ["o-ran-alarm-id", "2019-02-04"], + ["o-ran-hardware", "2019-07-03"], + ["nc-notifications", "2008-07-14"], + ["ietf-inet-types", "2013-07-15"], + ["o-ran-antenna-calibration", "2019-07-03"], + ["o-ran-interfaces", "2019-07-03"], + ["ietf-ip", "2018-02-22"], + ["ietf-tcp-server", "2019-07-02"], + ["ietf-netconf-monitoring", "2010-10-04"], + ["iana-hardware", "2018-03-13"], + ["iana-if-type", "2017-01-19"], + ["ietf-netconf-acm", "2018-02-14"], + ["ietf-origin", "2018-02-14"], + ["o-ran-lbm", "2019-02-04"], + ["ietf-yang-metadata", "2016-08-05"], + ["o-ran-operations", "2019-07-03"], + ["o-ran-fan", "2019-07-03"], + ["o-ran-module-cap", "2019-07-03"], + ["ietf-tls-common", "2019-07-02"], + ["ietf-netconf-server", "2019-07-02"], + ["ietf-yang-types", "2013-07-15"], + ["ietf-ssh-common", "2019-07-02"], + ["o-ran-delay-management", "2019-07-03"], + ["ietf-ssh-server", "2019-07-02"], + ["ietf-system", "2014-08-06"], + ["o-ran-trace", "2019-07-03"], + ["o-ran-ald-port", "2019-07-03"], + ["ietf-netconf-notifications", "2012-02-06"], + ["ietf-tls-server", "2019-07-02"], + ["ietf-tcp-client", "2019-07-02"], + ["o-ran-fm", "2019-02-04"], + ["o-ran-laa-operations", "2019-07-03"], + ["onap-system", "2020-10-26"], + ["o-ran-supervision", "2019-07-03"], + ["o-ran-file-management", "2019-07-03"], + ["o-ran-performance-management", "2019-07-03"], + ["nts-common", "2021-06-08"], + ["o-ran-ecpri-delay", "2019-02-04"], + ["o-ran-laa", "2019-07-03"], + ["ietf-dhcpv6-types", "2018-01-30"], + ["o-ran-usermgmt", "2019-07-03"], + ["yang", "2017-02-20"], + ["o-ran-transceiver", "2019-07-03"], + ["ietf-keystore", "2019-07-02"], + ["ietf-netconf-with-defaults", "2011-06-01"], + ["o-ran-processing-element", "2019-07-03"], + ["ietf-yang-library", "2019-01-04"], + ["ietf-x509-cert-to-name", "2014-12-10"], + ["notifications", "2008-07-14"], + ["ietf-hardware", "2018-03-13"], + ["ietf-tcp-common", "2019-07-02"], + ["ietf-truststore", "2019-07-02"], + ["o-ran-uplane-conf", "2019-07-03"], + ["o-ran-ald", "2019-07-03"], + ["ietf-interfaces", "2018-02-20"], + ["o-ran-troubleshooting", "2019-02-04"], + ["o-ran-beamforming", "2019-07-03"], + ["o-ran-software-management", "2019-07-03"], + ["o-ran-externalio", "2019-07-03"], + ["o-ran-mplane-int", "2019-07-03"], + ["o-ran-sync", "2019-07-03"], + ["ietf-datastores", "2018-02-14"], + ["o-ran-dhcp", "2019-07-03"], + ["ietf-netconf-nmda", "2019-01-07"], + ["nts-network-function", "2021-06-18"], + ["o-ran-udp-echo", "2019-02-04"], + ["iana-crypt-hash", "2014-08-06"]] \ No newline at end of file -- cgit 1.2.3-korg