diff options
author | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-09-28 00:42:55 +0800 |
---|---|---|
committer | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-09-28 14:48:20 +0800 |
commit | 2f044d8d905fa87cf9d6b6621c4589d95e460ca6 (patch) | |
tree | 85b3ee37ae15c9dfe7925359aa9f732180bdcd86 /kubernetes/vfc | |
parent | 82a02441c188081380d735c387cd464d0f2f1e19 (diff) |
Service endpoint annotation for VF-C
Issue-Id: OOM-25
Change-Id: I76f87e25f58a0b1eb68dd5ff08224a2beaaf4479
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'kubernetes/vfc')
-rwxr-xr-x | kubernetes/vfc/templates/all-services.yaml | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/kubernetes/vfc/templates/all-services.yaml b/kubernetes/vfc/templates/all-services.yaml index 9a6f6f25a9..b1e8b1fe8a 100755 --- a/kubernetes/vfc/templates/all-services.yaml +++ b/kubernetes/vfc/templates/all-services.yaml @@ -5,6 +5,17 @@ metadata: app: vfc-nslcm name: vfc-nslcm namespace: "{{ .Values.nsPrefix }}-vfc" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "nslcm", + "version": "v1", + "url": "/api/nslcm/v1", + "protocol": "REST", + "port": "{{.Values.nslcm.port}}", + "visualRange":"1" + } + ]' spec: ports: - name: vfc-nslcm @@ -22,6 +33,17 @@ metadata: app: vfc-resmgr name: vfc-resmgr namespace: "{{ .Values.nsPrefix }}-vfc" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "resmgr", + "version": "v1", + "url": "/api/resmgr/v1", + "protocol": "REST", + "port": "{{.Values.resmgr.port}}", + "visualRange":"1" + } + ]' spec: ports: - name: vfc-resmgr @@ -39,6 +61,17 @@ metadata: app: vfc-gvnfmdriver name: vfc-gvnfmdriver namespace: "{{ .Values.nsPrefix }}-vfc" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "gvnfmdriver", + "version": "v1", + "url": "/api/gvnfmdriver/v1", + "protocol": "REST", + "port": "{{.Values.gvnfmdriver.port}}", + "visualRange":"1" + } + ]' spec: ports: - name: vfc-gvnfmdriver @@ -56,6 +89,17 @@ metadata: app: vfc-ztevmanagerdriver name: vfc-ztevmanagerdriver namespace: "{{ .Values.nsPrefix }}-vfc" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "ztevmanagerdriver", + "version": "v1", + "url": "/api/ztevmanagerdriver/v1", + "protocol": "REST", + "port": "{{.Values.ztevmanagerdriver.port}}", + "visualRange":"1" + } + ]' spec: ports: - name: vfc-ztevmanagerdriver @@ -73,6 +117,17 @@ metadata: app: vfc-hwvnfmdriver name: vfc-hwvnfmdriver namespace: "{{ .Values.nsPrefix }}-vfc" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "huaweivnfmdriver", + "version": "v1", + "url": "/api/huaweivnfmdriver/v1", + "protocol": "REST", + "port": "{{.Values.hwvnfmdriver.port}}", + "visualRange":"1" + } + ]' spec: ports: - name: vfc-ztevmanagerdriver @@ -90,6 +145,17 @@ metadata: app: vfc-ztesdncdriver name: vfc-ztesdncdriver namespace: "{{ .Values.nsPrefix }}-vfc" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "ztesdncdriver", + "version": "v1", + "url": "/api/ztesdncdriver/v1", + "protocol": "REST", + "port": "{{.Values.ztesdncdriver.port}}", + "visualRange":"1" + } + ]' spec: ports: - name: vfc-ztesdncdriver @@ -107,6 +173,17 @@ metadata: app: vfc-jujudriver name: vfc-jujudriver namespace: "{{ .Values.nsPrefix }}-vfc" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "jujuvnfmdriver", + "version": "v1", + "url": "/api/jujuvnfmdriver/v1", + "protocol": "REST", + "port": "{{.Values.jujudriver.port}}", + "visualRange":"1" + } + ]' spec: ports: - name: vfc-jujudriver @@ -124,6 +201,17 @@ metadata: app: vfc-vnflcm name: vfc-vnflcm namespace: "{{ .Values.nsPrefix }}-vfc" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "vnflcm", + "version": "v1", + "url": "/api/vnflcm/v1", + "protocol": "REST", + "port": "{{.Values.vnflcm.port}}", + "visualRange":"1" + } + ]' spec: ports: - name: vfc-vnflcm @@ -141,6 +229,17 @@ metadata: app: vfc-vnfres name: vfc-vnfres namespace: "{{ .Values.nsPrefix }}-vfc" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "vnfres", + "version": "v1", + "url": "/api/vnfres/v1", + "protocol": "REST", + "port": "{{.Values.vnfres.port}}", + "visualRange":"1" + } + ]' spec: ports: - name: vfc-vnfres @@ -158,6 +257,17 @@ metadata: app: vfc-vnfmgr name: vfc-vnfmgr namespace: "{{ .Values.nsPrefix }}-vfc" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "vnfmgr", + "version": "v1", + "url": "/api/vnfmgr/v1", + "protocol": "REST", + "port": "{{.Values.vnfmgr.port}}", + "visualRange":"1" + } + ]' spec: ports: - name: vfc-vnfmgr @@ -175,6 +285,17 @@ metadata: app: vfc-emsdriver name: vfc-emsdriver namespace: "{{ .Values.nsPrefix }}-vfc" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "emsdriver", + "version": "v1", + "url": "/api/emsdriver/v1", + "protocol": "REST", + "port": "{{.Values.emsdriver.port}}", + "visualRange":"1" + } + ]' spec: ports: - name: vfc-emsdriver @@ -191,6 +312,17 @@ metadata: app: vfc-workflow name: vfc-workflow namespace: "{{ .Values.nsPrefix }}-vfc" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "workflow", + "version": "v1", + "url": "/api/workflow/v1", + "protocol": "REST", + "port": "{{.Values.workflow.port}}", + "visualRange":"1" + } + ]' spec: ports: - name: vfc-workflow @@ -208,6 +340,17 @@ metadata: app: vfc-catalog name: vfc-catalog namespace: "{{ .Values.nsPrefix }}-vfc" + annotations: + msb.onap.org/service-info: '[ + { + "serviceName": "catalog", + "version": "v1", + "url": "/api/catalog/v1", + "protocol": "REST", + "port": "{{.Values.catalog.port}}", + "visualRange":"1" + } + ] spec: ports: - name: vfc-catalog |