Add ability to configure ONOS rest port in mcord-services
Change-Id: I1b5500ed4f2c2e5fce541d9fed29f44dffb10a95
diff --git a/xos-profiles/mcord-services/templates/_tosca.tpl b/xos-profiles/mcord-services/templates/_tosca.tpl
index 353a6cc..0bc8be4 100644
--- a/xos-profiles/mcord-services/templates/_tosca.tpl
+++ b/xos-profiles/mcord-services/templates/_tosca.tpl
@@ -31,8 +31,8 @@
properties:
name: onos
kind: data
- rest_hostname: {{ .onosFabricRestService | quote }}
- rest_port: 8181
+ rest_hostname: {{ .onosFabricRestHost | quote }}
+ rest_port: {{ .onosFabricRestPort }}
onos_app#segmentrouting:
type: tosca.nodes.ONOSApp
@@ -82,8 +82,8 @@
properties:
name: onos-progran
kind: data
- rest_hostname: {{ .onosProgranRestService | quote }}
- rest_port: 8181
+ rest_hostname: {{ .onosProgranRestHost | quote }}
+ rest_port: {{ .onosProgranRestPort }}
onos_app#progran:
type: tosca.nodes.ONOSApp