Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
# Please replace $AAI_IP, $AAI_PORT and $MSB_IP with the real ones. 


#aai-cloudInfrastructure
curl -X POST \
-H "Content-Type: application/json" \
-d '{"serviceName": "aai-cloudInfrastructure", "version": "v11", "url": "/aai/v11/cloud-infrastructure", "protocol": "REST", "enable_ssl":"true", "visualRange":"0|1", "nodes": [ {"ip": "$AAI_IP","port": "$AAI_PORT"}]}' \
http://$MSB_IP/api/microservices/v1/services

#aai-search
curl -X POST \
-H "Content-Type: application/json" \
-d '{"serviceName": "aai-search", "version": "v11", "url": "/aai/v11/search", "protocol": "REST", "enable_ssl":"true", "visualRange":"0|1", "nodes": [ {"ip": "$AAI_IP","port": "$AAI_PORT"}]}' \
http://$MSB_IP/api/microservices/v1/services

#aai-network
curl -X POST \
-H "Content-Type: application/json" \
-d '{"serviceName": "aai-network", "version": "v11", "url": "/aai/v11/network", "protocol": "REST", "enable_ssl":"true", "visualRange":"0|1", "nodes": [ {"ip": "$AAI_IP","port": "$AAI_PORT"}]}' \
http://$MSB_IP/api/microservices/v1/services

...