Versions Compared

Key

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

...

Code Block
languagejs
titleABATED
{
	   "target": "vserver.vserver-id",
       "target_type": "VM",
       "AAI": {
           "vserver.vserver-id": "example-vserver-id-val-2",
           "vserver.vserver-name": "example-vserver-name-val-2",
           "vserver.vserver-name2": "example-vserver-name2-val-2",
           "vserver.vserver-selflink": "example-vserver-selflink-val-2"
       },
       "closedLoopAlarmStart": 1484855291527925,
       "closedLoopAlarmEnd": 1484855278392541,
       "closedLoopEventStatus": "ABATED",
       "closedLoopControlName": "VoLTE",
       "version": "1.0.2",       
       "requestID": "8c1b8bd8-06f7-493f-8ed7-daaa4cc481bc",
       "from": "DCAE"
}

A&AI Info That Needed to Be Registered to MSB

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

...