Merge pull request #1766 from murali-reddy/vr-default-network-gateway CLOUDSTACK-9598: wrong defaut gateway for the nic in non-default network when guest VM has nic's in more than one guest network set the tag for each host in /etc/dhcphosts.txt, and use the tag to add exception in /etc/dhcpopts.txt to prevent sending default route, dns server in case if the nic is in non-default network
this was the behaviour with edithosts.sh prior to 4.6 * pr/1766: CLOUDSTACK-9598: wrong defaut gateway for the nic in non-default network Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/90ae04b7 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/90ae04b7 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/90ae04b7 Branch: refs/heads/4.9 Commit: 90ae04b79177a43076270016303b62baf3e4aa4d Parents: ff616e7 7ab35e6 Author: Rohit Yadav <[email protected]> Authored: Thu Nov 24 12:39:32 2016 +0530 Committer: Rohit Yadav <[email protected]> Committed: Thu Nov 24 12:39:36 2016 +0530 ---------------------------------------------------------------------- .../debian/config/opt/cloud/bin/cs/CsDhcp.py | 22 +- test/integration/smoke/test_router_dhcphosts.py | 372 ++++++++++++++++++- 2 files changed, 388 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/90ae04b7/systemvm/patches/debian/config/opt/cloud/bin/cs/CsDhcp.py ----------------------------------------------------------------------
