Steps to set up simulators for VoLTE use case
Step 1. Run "demo.sh init" from Robot VM to populate A&AI
Step 1.1. Create VoLTE service with Huawei VNFs and set nf_type parameter to huaweivnfmdriver. Put a screenshot here
Step 2. Install MockServer docker in Robot VM
>sudo docker pull jamesdbloom/mockserver >sudo docker run --name mockserver -d -p 1080:1080 jamesdbloom/mockserver
Step 3. Use Postman to create PE1 and PE2 in A&AI
Step 4. Use Postman to create SDN WAN controller for underlay network (you can do this in Portal ESR app too)
Step 5. Use Postman to create DC1 and DC2 SDN controllers
Step 6. Use Postman to create data center network 1,2,3,4 for overlay network. Make sure update model-invariant-id and model-version-id with VoLTE e2e service invariant uuid and uui respectively.
Step 7. Change huaweivnfmdriver MSB service url and point to MockServer. Assume you are running from MutliService VM, update /opt/msb_vm_init.sh to replace huaweivnfmdriver host ip and port with MockServer ip and port, and rerun the script.
Deprecated (can't delete or query huaweivnfmdriver) >curl -X DELETE http://127.0.0.1/api/microservices/v1/services/huaweivnfmdriver/v1 >curl -X GET http://127.0.0.1/api/microservices/v1/services/huaweivnfmdriver/v1 >curl -X POST -H "Content-Type:application/json" -d '{"serviceName":"huaweivnfmdriver","version":"v1","url":"/api/huaweivnfmdriver/v1","protocol":"REST","lb_policy":"round-robin","nodes":[{"ip":"10.0.10.1","port":"1080"}]}' http://127.0.0.1/api/microservices/v1/services
Step 9. Open /service//vfc/nfvo/lcm/lcm/pub/config/config.py in vfc_nslcm container and change AAI_BASE_URL = "http://10.0.14.1/aai/v11"
Step 10. Update file basemodel.py in vfc_catalog container with the version from master branch
/service/vfc/nfvo/catalog/catalog/pub/utils/toscaparser/basemodel.py (See R1 Known Issues issue 1)
Step 11. Update config.py in vfc_catalog container
root@3511e71899bc:/service/vfc/nfvo/catalog/catalog/pub/config# diff config.py config.py.orig 52,54c52,54 < SDC_BASE_URL = "http://10.0.14.1:80/api" < SDC_USER = "aai" < SDC_PASSWD = "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U" --- > SDC_BASE_URL = "https://127.0.0.1:8443/api" > SDC_USER = "SDC" > SDC_PASSWD = "SDC"
Step 11-2. Change msb and sdnc ip and port in /etc/mso/config.d/topology.properties are correct ip and port in SO container testlab_mso_1
root@mso:/etc/mso/config.d# diff topology.properties topology.properties.orig 19,22c19,22 < msb-ip=10.0.14.1 < msb-port=80 < sdnc-ip=10.0.7.1 < sdnc-port=8282 --- > msb-ip=127.0.0.1 > msb-port=8080 > sdnc-ip=172.30.3.38 > sdnc-port=8282
Step 12. Configure MockServer to simulate SDN controller and VNFM driver
Step 13. Distribute VoLTE service from SDC
Step 14. Onboard VNFs, EPC_NS, IMS_NS, EPC Service, IMS Service in order from UUI (why EPC_NS before EPC Service)?
Step 15. Simulate request from UUI to SO
Step 16. Simulate notification message from Huawei VNFM driver to nslcm
Notification message sent from vnfm driver to nslcm