Expose the IP of the Endpoints
authorMark Chappell <mchappel@redhat.com>
Tue, 3 Nov 2015 16:14:04 +0000 (17:14 +0100)
committerMark Chappell <mchappel@redhat.com>
Wed, 11 Nov 2015 08:24:10 +0000 (09:24 +0100)
We expose all of the other parameters, so expose the IP too for
consistency

Change-Id: I5c31befde51e398318c7b8c744310212288ad892

network/endpoints/endpoint.yaml

index 4d6efdb..6246cfd 100644 (file)
@@ -32,6 +32,7 @@ outputs:
     value:
       port: {get_param: [EndpointMap, {get_param: EndpointName }, port] }
       protocol: {get_param: [EndpointMap, {get_param: EndpointName }, protocol] }
+      ip: {get_param: IP}
       host:
         str_replace:
           template: {get_param: [EndpointMap, {get_param: EndpointName }, host]}