From ce2f7332001dbd0a575b0debd17ff08295ae72ba Mon Sep 17 00:00:00 2001 From: HuabingZhao Date: Fri, 27 Oct 2017 10:19:59 +0800 Subject: Change service name to sdnc-compatible Register two services for SDNC,one for the standard url, one for the compatible url. http://$MSB_IP/api/sdnc/v1/restconf/ http://$MSB_IP/restconf/ Issue-Id: MSB-83 Change-Id: Ie3cd82bee895db3d7e3ccaa3a5b84f1e3bd8c62a Signed-off-by: HuabingZhao --- boot/msb_vm_init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/msb_vm_init.sh b/boot/msb_vm_init.sh index b80267cd..fbbb7c5f 100644 --- a/boot/msb_vm_init.sh +++ b/boot/msb_vm_init.sh @@ -85,7 +85,7 @@ curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "sdc-deprec #sdnc curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "sdnc", "version": "v1", "url": "/","protocol": "REST", "nodes": [ {"ip": "'$SDNC_IP'","port": "8282"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" -curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "sdnc", "version": "v1", "url": "/restconf","path": "/restconf","protocol": "REST", "nodes": [ {"ip": "'$SDNC_IP'","port": "8282"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" +curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "sdnc-compatible", "version": "v1", "url": "/restconf","path": "/restconf","protocol": "REST", "nodes": [ {"ip": "'$SDNC_IP'","port": "8282"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" #multi-vim curl -X POST -H "Content-Type: application/json" -d '{"serviceName": "multicloud", "version": "v0", "url": "/api/multicloud/v0","protocol": "REST", "nodes": [ {"ip": "'$OPENO_IP'","port": "9001"}]}' "http://$OPENO_IP:10081/api/microservices/v1/services" -- cgit 1.2.3-korg