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
This commit is contained in:
Giulio Fidente
2017-06-22 17:25:03 +02:00
parent aa5c511b82
commit baf6eee501
283 changed files with 1324 additions and 2 deletions

View File

@@ -4,6 +4,10 @@ description: >
OpenStack Neutron Midonet plugin and services
parameters:
ServiceData:
default: {}
description: Dictionary packing service data
type: json
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set