summaryrefslogtreecommitdiffstats
path: root/api/server.py
diff options
context:
space:
mode:
authorCatalina Focsa <catalina.focsa@enea.com>2017-09-26 14:43:43 +0200
committerCatalina Focsa <catalina.focsa@enea.com>2017-09-27 14:55:24 +0000
commit6892687967d2d5ac8db37dd67b3e52d9f775eda6 (patch)
treeb2214cde577ebad58224776564d5029d496cfa34 /api/server.py
parentcb63cb9ed232dc40ce118e1b8c001841552ff808 (diff)
Get node IPs and IDs according to env
Extract node IPs and IDs for each node having a controller or compute role (name starting with the "cmp" or "ctl" prefix) and add them into the $pod_yaml file, analogous to the previous implementation. Since node IDs are expected to be unique and integers (condition that does not match the salt node ID format), they are substituted with an incremented index for each controller/compute node in the environment. Change-Id: Id90626edc3f098bd96343336b2be179721dee5a1 Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
Diffstat (limited to 'api/server.py')
0 files changed, 0 insertions, 0 deletions