summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-05-04 14:37:37 -0400
committerFeng Pan <fpan@redhat.com>2017-05-04 16:14:23 -0400
commitd358ad2a8a0716aea05c0c509149663ac4fad9df (patch)
treebd95bdafd0ae8319197367e01a587f05d3161286
parentbaaa7ac3cdc7984c97a4e1873ad118969ba95a01 (diff)
Add support for interface role mapping for odl_l3-fdio scenarios
JIRA: APEX-445 opnfv-puppet-tripleo-pr: 24 Change-Id: Idbb855badae2f2b91202961c12931ba54be1beaa Signed-off-by: Feng Pan <fpan@redhat.com>
-rwxr-xr-xlib/overcloud-deploy-functions.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh
index 6f1a09a8..a31efbf9 100755
--- a/lib/overcloud-deploy-functions.sh
+++ b/lib/overcloud-deploy-functions.sh
@@ -186,6 +186,8 @@ EOI
if [[ "${deploy_options_array['sdn_l3']}" == 'True' ]]; then
ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI
sed -i "/opendaylight::vpp_routing_node:/c\ opendaylight::vpp_routing_node: ${deploy_options_array['odl_vpp_routing_node']}.${domain_name}" ${ENV_FILE}
+ sed -i "/ControllerExtraConfig:/ c\ ControllerExtraConfig:\n tripleo::profile::base::neutron::agents::honeycomb::interface_role_mapping: \"['${tenant_nic_mapping_controller_members}:tenant-interface']\"" ${ENV_FILE}
+ sed -i "/NovaComputeExtraConfig:/ c\ NovaComputeExtraConfig:\n tripleo::profile::base::neutron::agents::honeycomb::interface_role_mapping: \"['${tenant_nic_mapping_compute_members}:tenant-interface','${external_nic_mapping_compute_members}:public-interface']\"" ${ENV_FILE}
EOI
fi
fi