{
"serviceName": "catalog",
"version": "v1",
"url": "/api/catalog/v1",
"protocol": "REST",
"visualRange": "1", "lb_policy":"ip_hash", "nodes": [
{
"ip": "10.74.55.66",
"port": "6666",
"ttl": 0
},
{
"ip": "10.74.56.37",
"port": "8989",
"ttl": 0
},
{
"ip": "10.74.56.36",
"port": "8988",
"ttl": 0
}
]
}
| serviceName: service name version: version url: url of the created service instance protocol: supported protocols: 'REST', 'UI','HTTP','TCP' nodes: the service instance nodes list to register lb_policy: Load balancing method, Currently two LB methods are supported, round-robin and ip-hash. ip: the ip of the service instance node, it could also be a hostname like catalog.onap.org port: the port of the service instance node ttl: time to live, this parameter is reserved for later use
|