From baf6eee5016fac7004a7b8be6f78d4505f347aeb Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Thu, 22 Jun 2017 17:25:03 +0200 Subject: Adds network/cidr mapping into a new service property Makes it possible to resolve network subnets within a service template; the data is transported into a new property ServiceData wired into every service which hopefully is generic enough to be extended in the future and transport more data. Data can be consumed in service templates to set config values which need to know what is the subnet where a deamon operates (for example the Ceph Public vs Cluster network). Change-Id: I28e21c46f1ef609517175f7e7ee19e28d1c0cba2 --- network/external.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'network/external.yaml') diff --git a/network/external.yaml b/network/external.yaml index 5b1023d7..8dbe3e20 100644 --- a/network/external.yaml +++ b/network/external.yaml @@ -65,3 +65,5 @@ outputs: OS::stack_id: description: Neutron external network value: {get_resource: ExternalNetwork} + subnet_cidr: + value: {get_attr: ExternalSubnet, cidr} -- cgit 1.2.3-korg