aboutsummaryrefslogtreecommitdiffstats
path: root/boot/msb_vm_init.sh
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-10-09 07:58:15 +0000
committerBin Yang <bin.yang@windriver.com>2018-10-09 07:58:15 +0000
commit83a11d189f19a1901160510665ba4c46c5d93c53 (patch)
tree5c253bc34f5f5a980facf87d2e29a9df6bf2d7ce /boot/msb_vm_init.sh
parent796c87e7654c05f9efcf18eb4ee8387ca3776350 (diff)
Add v1 service endpoints of MultiCloud services
Change-Id: I7df8a111d02a42c62954501b968a30cf92654399 Issue-ID: MULTICLOUD-374 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'boot/msb_vm_init.sh')
-rw-r--r--boot/msb_vm_init.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh
index 7b9d7ffd..395f819d 100644
--- a/boot/msb_vm_init.sh
+++ b/boot/msb_vm_init.sh
@@ -142,10 +142,13 @@ curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "sdnc-compa
#multi-vim
curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud", "version": "v0", "url": "/api/multicloud/v0","protocol": "REST", "nodes": [ {"ip": "'$MULTISERV_IP'","port": "9001"}]}' "http://$MULTISERV_IP:10081/api/microservices/v1/services"
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud", "version": "v1", "url": "/api/multicloud/v1","protocol": "REST", "nodes": [ {"ip": "'$MULTISERV_IP'","port": "9001"}]}' "http://$MULTISERV_IP:10081/api/microservices/v1/services"
curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-vio", "version": "v0", "url": "/api/multicloud-vio/v0","protocol": "REST", "nodes": [ {"ip": "'$MULTISERV_IP'","port": "9004"}]}' "http://$MULTISERV_IP:10081/api/microservices/v1/services"
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-vio", "version": "v1", "url": "/api/multicloud-vio/v1","protocol": "REST", "nodes": [ {"ip": "'$MULTISERV_IP'","port": "9004"}]}' "http://$MULTISERV_IP:10081/api/microservices/v1/services"
curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-ocata", "version": "v0", "url": "/api/multicloud-ocata/v0","protocol": "REST", "nodes": [ {"ip": "'$MULTISERV_IP'","port": "9006"}]}' "http://$MULTISERV_IP:10081/api/microservices/v1/services"
+curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud-ocata", "version": "v1", "url": "/api/multicloud-ocata/v1","protocol": "REST", "nodes": [ {"ip": "'$MULTISERV_IP'","port": "9006"}]}' "http://$MULTISERV_IP:10081/api/microservices/v1/services"
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"