From 6d5e5bb4b1ce3a51cf8b05a86f4d411d8fc21875 Mon Sep 17 00:00:00 2001 From: Haibin Huang Date: Thu, 24 Jan 2019 09:53:58 +0800 Subject: Add starlingx plugin for demo Change-Id: Id66c41fe0de0708f5c2dc0b04026ca923fd70eb4 Issue-ID: MULTICLOUD-428 Signed-off-by: Haibin Huang --- boot/msb_vm_init.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'boot/msb_vm_init.sh') diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh index 0ba1f536..a59e50c7 100644 --- a/boot/msb_vm_init.sh +++ b/boot/msb_vm_init.sh @@ -156,6 +156,9 @@ curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-titaniumcloud", "version": "v0", "url": "/api/multicloud-titaniumcloud/v0","protocol": "REST", "nodes": [ {"ip": "'$MULTISERV_IP'","port": "9005"}]}' "http://$MULTISERV_IP:10081/api/microservices/v1/services" curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-titaniumcloud", "version": "v1", "url": "/api/multicloud-titaniumcloud/v1","protocol": "REST", "nodes": [ {"ip": "'$MULTISERV_IP'","port": "9005"}]}' "http://$MULTISERV_IP:10081/api/microservices/v1/services" +curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-starlingx", "version": "v0", "url": "/api/multicloud-starlingx/v0","protocol": "REST", "nodes": [ {"ip": "'$MULTISERV_IP'","port": "9009"}]}' "http://$MULTISERV_IP:10081/api/microservices/v0/services" +curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-starlingx", "version": "v1", "url": "/api/multicloud-starlingx/v1","protocol": "REST", "nodes": [ {"ip": "'$MULTISERV_IP'","port": "9009"}]}' "http://$MULTISERV_IP:10081/api/microservices/v1/services" + #VF-C curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "nslcm", "version": "v1", "url": "/api/nslcm/v1","protocol": "REST", "nodes": [ {"ip": "'$MULTISERV_IP'","port": "8403"}]}' "http://$MULTISERV_IP:10081/api/microservices/v1/services" -- cgit 1.2.3-korg