Merge "Extend DeployedServerPortMap to include network props"

This commit is contained in:
Zuul 2019-01-02 11:14:23 +00:00 committed by Gerrit Code Review
commit 038e335a09

View File

@ -326,11 +326,17 @@ command::
- ip_address: 192.168.24.9 - ip_address: 192.168.24.9
subnets: subnets:
- cidr: 192.168.24.0/24 - cidr: 192.168.24.0/24
network:
tags:
- 192.168.24.0/24
compute0-ctlplane: compute0-ctlplane:
fixed_ips: fixed_ips:
- ip_address: 192.168.24.8 - ip_address: 192.168.24.8
subnets: subnets:
- cidr: 192.168.24..0/24 - cidr: 192.168.24..0/24
network:
tags:
- 192.168.24.0/24
The value of the DeployedServerPortMap variable is a map. The keys correspond The value of the DeployedServerPortMap variable is a map. The keys correspond
to the ``<short hostname>-ctlplane`` of the deployed servers. Specify the ip to the ``<short hostname>-ctlplane`` of the deployed servers. Specify the ip
@ -356,16 +362,25 @@ from any CIDR::
- ip_address: 192.168.100.1 - ip_address: 192.168.100.1
subnets: subnets:
- cidr: 192.168.100.0/24 - cidr: 192.168.100.0/24
network:
tags:
- 192.168.100.0/24
controller0-ctlplane: controller0-ctlplane:
fixed_ips: fixed_ips:
- ip_address: 192.168.100.2 - ip_address: 192.168.100.2
subnets: subnets:
- cidr: 192.168.100.0/24 - cidr: 192.168.100.0/24
network:
tags:
- 192.168.100.0/24
compute0-ctlplane: compute0-ctlplane:
fixed_ips: fixed_ips:
- ip_address: 192.168.100.3 - ip_address: 192.168.100.3
subnets: subnets:
- cidr: 192.168.100.0/24 - cidr: 192.168.100.0/24
network:
tags:
- 192.168.100.0/24
In the above example, notice how ``RedisVipPort`` is mapped to In the above example, notice how ``RedisVipPort`` is mapped to
``network/ports/noop.yaml``. This mapping is due to the fact that the ``network/ports/noop.yaml``. This mapping is due to the fact that the