diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2019-04-17 12:00:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-04-17 12:00:07 +0000 |
commit | fce2cf668194a173d767627bd868629024c1f118 (patch) | |
tree | 1154a35776c86c7013191a2f34ba5914ac8aee1e | |
parent | 4cca2a22cb43556182ea6fa8b1a6f8e93e99afd7 (diff) | |
parent | 753e88ca9078f09775c51c4b71aa0f53a919bb88 (diff) |
Merge "mcpcontrol: policy based routing for INSTALLER_IP" into stable/hunter
-rw-r--r-- | mcp/scripts/lib_jump_deploy.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mcp/scripts/lib_jump_deploy.sh b/mcp/scripts/lib_jump_deploy.sh index 8b7f6a569..b7fe4c7fc 100644 --- a/mcp/scripts/lib_jump_deploy.sh +++ b/mcp/scripts/lib_jump_deploy.sh @@ -329,7 +329,8 @@ function create_networks { ExecStart=/bin/sh -ec '\ ${PREFIX}/brctl addif ${all_vnode_networks[0]} veth_mcp0 && \ ${PREFIX}/brctl addif ${all_vnode_networks[1]} veth_mcp2 && \ - ${PREFIX}/ip route add ${SALT_MASTER} dev ${all_vnode_networks[0]}' + ${PREFIX}/ip rule add to ${SALT_MASTER} iif docker0 table 200 && \ + ${PREFIX}/ip route add ${SALT_MASTER} dev ${all_vnode_networks[0]} table 200' EOF sudo ln -sf "${FUEL_VETHC_SERVICE}" "/etc/systemd/system/multi-user.target.wants/" sudo ln -sf "${FUEL_VETHA_SERVICE}" "/etc/systemd/system/multi-user.target.wants/" |