Hi

the VNF_API is fully deprecated in Guilin
It was already deprecated in Frankfurt but still suported, not anymore on Guilin

/Morgan

________________________________
De : [email protected] [[email protected]] de la part de 
[email protected] [[email protected]]
Envoyé : mardi 15 décembre 2020 11:48
À : [email protected]
Objet : [onap-discuss] Error: "The module named 'VNF-API' does not exist." at 
SDNC Preload Request #guilin

Hello,

on ONAP Guilin version, I get this error at preload stage. I have looked up for 
the problem to resolve it but unfortunately, i could not. I have used this 
request on Frankfurt before, It was success. Any ideas what might cause this?

Best Regards,
Emin

https://docs.onap.org/projects/onap-vid/en/latest/instantiate.html#instantiate


curl -X POST \
https://sdnc.api.simpledemo.onap.org:30267/restconf/operations/VNF-API:preload-vnf-topology-operation
 \
-H 'Accept: application/json' \
-H 'Authorization: Basic 
YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==' \
-H 'Content-Type: application/json' \
-H 'X-FromAppId: API client' \
-H 'X-TransactionId: 0a3f6713-ba96-4971-a6f8-c2da85a3176e' \
-H 'cache-control: no-cache' \
-d '{
    "input": {
        "request-information": {
            "notification-url": "onap.org",
            "order-number": "1",
            "order-version": "1",
            "request-action": "PreloadVNFRequest",
            "request-id": "test"
        },
        "sdnc-request-header": {
            "svc-action": "reserve",
            "svc-notification-url": 
"http:\/\/onap.org:8080\/adapters\/rest\/SDNCNotify",
            "svc-request-id": "test"
        },
        "vnf-topology-information": {
            "vnf-assignments": {
                "availability-zones": [],
                "vnf-networks": [],
                "vnf-vms": []
            },
            "vnf-parameters": [
                {
                    "vnf-parameter-name": "oam_net_id",
                    "vnf-parameter-value": "oam_network_tXWW"
                }
            ],
            "vnf-topology-identifier": {
                "generic-vnf-name": "my-vnf-instance-01",
                "generic-vnf-type": 
"Service-model-with-VNF-and-Virtual-Link/FreeRadius_VF 0",
                "service-type": "09f9ffad-1069-43fa-97e8-da7b9a439601",
                "vnf-name": "my_vf_module-instance-01",
                "vnf-type": "FreeradiusVf..base_freeRadius..module-0"
            }
        }
    }
}'

The error:
{
    "errors": {
        "error": [
            {
                "error-type": "protocol",
                "error-tag": "unknown-element",
                "error-message": "The module named 'VNF-API' does not exist."
            }
        ]
    }
}


----------------------------------------------HEALTH 
CHECK--------------------------------------------------------------------

++ export NAMESPACE=onap ++ NAMESPACE=onap +++ kubectl --namespace onap get 
pods +++ sed 's/ .*//' +++ grep robot ++ POD=dev-robot-787cb9cbf9-6dr2l ++ 
TAGS='-i health' +++ dirname ./ete-k8s.sh ++ DIR=. ++ 
SCRIPTDIR=scripts/etescript ++ ETEHOME=/var/opt/ONAP ++ [[ health == 
\e\x\e\c\s\c\r\i\p\t ]] +++ kubectl --namespace onap exec 
dev-robot-787cb9cbf9-6dr2l -- bash -c 'ls -1q /share/logs/ | wc -l' ++ export 
GLOBAL_BUILD_NUMBER=12 ++ GLOBAL_BUILD_NUMBER=12 +++ printf %04d 12 ++ 
OUTPUT_FOLDER=0012_ete_health ++ DISPLAY_NUM=102 ++ VARIABLEFILES='-V 
/share/config/robot_properties.py' ++ VARIABLES='-v GLOBAL_BUILD_NUMBER:16348' 
++ case $2 in ++ kubectl --namespace onap exec dev-robot-787cb9cbf9-6dr2l -- 
/var/opt/ONAP/runTags.sh -V /share/config/robot_properties.py -v 
GLOBAL_BUILD_NUMBER:16348 -d /share/logs/0012_ete_health -i health --display 
102 Starting Xvfb on display :102 with res 1280x1024x24 Executing robot tests 
at log level TRACE 
============================================================================== 
Testsuites 
============================================================================== 
/var/opt/ONAP/robot/library/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python 
core team. Support for it is now deprecated in cryptography, and will be 
removed in a future release. from cryptography.hazmat.backends import 
default_backend Testsuites.Health-Check :: Test that ONAP components are 
available via basi... 
============================================================================== 
Basic A&AI Health Check | PASS | 
------------------------------------------------------------------------------ 
Enhanced A&AI Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic AAF Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic AAF SMS Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic APPC Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic CLI Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic CLAMP Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic DCAE Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic DMAAP Data Router Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic DMAAP Message Router Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic DMAAP Bus Controller Health Check With Basic Auth | PASS | 
------------------------------------------------------------------------------ 
Basic External API NBI Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic Microservice Bus Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic Multicloud API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic Multicloud-pike API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic Multicloud-starlingx API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic Multicloud-titanium_cloud API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic Multicloud-vio API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic Multicloud-k8s API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic OOF-Homing Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic OOF-OSDF Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic OOF-CMSO Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic Policy Health Check | PASS | 
------------------------------------------------------------------------------ 
Enhanced Policy New Healthcheck | PASS | 
------------------------------------------------------------------------------ 
Basic Portal Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic SDC Health Check (DMaaP:UP) | PASS | 
------------------------------------------------------------------------------ 
Enhanced SDC Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic SDNC Health Check | PASS | 
------------------------------------------------------------------------------ 
Enhanced SDNC Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic SO Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic UseCaseUI API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic VFC gvnfmdriver API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic VFC huaweivnfmdriver API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic VFC nslcm API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic VFC vnflcm API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic VFC vnfmgr API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic VFC vnfres API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic VFC ztevnfmdriver API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic VID Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic VNFSDK Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic Multicloud-fcaps API Health Check | PASS | 
------------------------------------------------------------------------------ 
Basic Modeling genericparser API Health Check | PASS | 
------------------------------------------------------------------------------ 
Enhanced CDS Health Check | PASS | 
------------------------------------------------------------------------------ 
Testsuites.Health-Check :: Test that ONAP components are available... | PASS | 
43 critical tests, 43 passed, 0 failed 43 tests total, 43 passed, 0 failed 
============================================================================== 
Testsuites | PASS | 43 critical tests, 43 passed, 0 failed 43 tests total, 43 
passed, 0 failed 
============================================================================== 
Output: /share/logs/0012_ete_health/output.xml Log: 
/share/logs/0012_ete_health/log.html Report: 
/share/logs/0012_ete_health/report.html


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22644): https://lists.onap.org/g/onap-discuss/message/22644
Mute This Topic: https://lists.onap.org/mt/78973459/21656
Mute #guilin:https://lists.onap.org/g/onap-discuss/mutehashtag/guilin
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to