External TLS Support - CMPv2
Documentation: https://docs.onap.org/projects/onap-dcaegen2/en/latest/sections/tls_enablement.html#external-tls-support
Test case has bee automated using robot framework. Test Cases are available in robot pod in ONAP system.
In order to execute the run following command at RKE node:
ubuntu@onap-rke-node:~$ oom/kubernetes/robot/ete-k8s.sh onap CMPv2
Test case definition in testsuite repo
Test Cases:
Full Name: | Cmpv2.Deploying PNF Simulator |
---|---|
Documentation: | This test case deploys PNF simulator with "enable_tls": set to false and "external_cert_use_external_tls" (CMPv2) set to true as DCAE applictaion |
Full Name: | Cmpv2.Deploying VES collector with CMPv2 |
---|---|
Documentation: | This test case deploys second VES instance with "enable_tls": set to true and "external_cert_use_external_tls" (CMPv2) set to true as DCAE applictaion Both CMPv2 and AAF certificates are present |
Full Name: | Cmpv2.Deploying VES collector with CMPv2 and wrong SANs |
---|---|
Documentation: | This test case deploys second VES instance with "enable_tls": set to true and "external_cert_use_external_tls" (CMPv2) set to true as DCAE applictaion, CMPv2 certificate has wrong SANs Both CMPv2 and AAF certificates are present |
Full Name: | Cmpv2.Send registration request to CMPv2 VES with wrong SAN-s |
---|---|
Documentation: | This test case triggers registration request from PNF Simulator (where is present only CMPv2 certificate) to VES collector ith enabled CMPv2 (both CMPv2 and AAF certificates are present). CMPv2 certificate has wrong SANs. Test expects exception in PNF Simulator logs due to wrong subject alternatives |
Full Name: | Cmpv2.Send registration request to VES without CMPv2 certificate |
---|---|
Documentation: | This test case triggers registration request from PNF Simulator (where is present only CMPv2 certificate) to VES collector with disabled CMPv2 (only AAF certificate is present - VES collector deployed during whole ONAP deploy). Test expects exception in PNF Simulator logs due to wrong certificate |