Refactor map file to import role data only
The smallest piece of salt formula is state. In our formulas each
state is an abstraction of 'role' for example:
* controller (installs api services)
* compute (installs neutron agent on compute node)
* gateway (installs neutron l3 agent)
* client (installs neutron resources like networks, subnets,
ports etc.)
Each state have its own API (the format of pillar it accepts). We would
like to keep pillar data unified and in long term automatically
validated. By importing anything non role-specific makes
unification/automatic validation hard to maintain.
This patch refactor map.jinja and neutron config file templates to import
only role specific data from map file.
Change-Id: I22e9dc9144df7ad19a00a3e3fe66c00b22d96812
Related-Prod: PROD-16498
10 files changed