diff options
author | dyh <dengyuanhong@chinamobile.com> | 2019-11-15 09:26:18 +0800 |
---|---|---|
committer | dyh <dengyuanhong@chinamobile.com> | 2019-11-15 09:26:33 +0800 |
commit | 2f4d7a5b1d2a629e5856a5e3e17576bc618452f0 (patch) | |
tree | b000330cd97d55b15b7b627d60ae567038dc15f0 /catalog/pub/config | |
parent | 4004afdf54c246b4afd481003aca16d2dab816fb (diff) |
Implement read VNFD API
Issue-ID: MODELING-266
Change-Id: Ib5e4a965c080329f68d407b414a347298da6a84b
Signed-off-by: dyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'catalog/pub/config')
-rw-r--r-- | catalog/pub/config/config.py | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/catalog/pub/config/config.py b/catalog/pub/config/config.py index 86585a3..e3b0062 100644 --- a/catalog/pub/config/config.py +++ b/catalog/pub/config/config.py @@ -13,8 +13,10 @@ # limitations under the License. # [MSB] -MSB_SERVICE_IP = '127.0.0.1' -MSB_SERVICE_PORT = '80' +# MSB_SERVICE_IP = '127.0.0.1' +# MSB_SERVICE_PORT = '80' +MSB_SERVICE_IP = '192.168.235.34' +MSB_SERVICE_PORT = '30280' # [REDIS] REDIS_HOST = '127.0.0.1' @@ -69,6 +71,17 @@ REG_TO_MSB_REG_PARAM = [{ "port": "8806", "ttl": 0 }] +}, { + "serviceName": "parser", + "version": "v1", + "url": "/api/parser/v1", + "protocol": "REST", + "visualRange": "1", + "nodes": [{ + "ip": "127.0.0.1", + "port": "8806", + "ttl": 0 + }] }] MSB_SVC_CALALOG_URL = "/api/microservices/v1/services/catalog/version/v1" MSB_SVC_NSD_URL = "/api/microservices/v1/services/nsd/version/v1" |