Merge pull request #738 from michaelandersen/vpc_defaultroute_fix

CLOUDSTACK-8685: Fix for missing defaultroute on VPC router 
https://issues.apache.org/jira/browse/CLOUDSTACK-8685

Refactored CsRoute and CsAddress to:
 - add methods to add and verify the defaultroute
 - renamed methods flush, add, and routeTable to flush_table, add_route, 
add_table respectively.

Added some suboptimal unit tests to TestCsRoutes

* pr/738:
  Fixed defaultroute on VPC routers in CsRoute and CsAddress Refactored CsRoute
  pep8 cleanup

Signed-off-by: Remi Bergsma <git...@remi.nl>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2772e4da
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2772e4da
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2772e4da

Branch: refs/heads/deploy-from-snapshot
Commit: 2772e4da82fb36a10d401fa5b072bfefeb5c0913
Parents: c0fde9a a9eb4ba
Author: Remi Bergsma <git...@remi.nl>
Authored: Tue Aug 25 10:37:26 2015 +0200
Committer: Remi Bergsma <git...@remi.nl>
Committed: Tue Aug 25 10:37:27 2015 +0200

----------------------------------------------------------------------
 .../debian/config/opt/cloud/bin/cs/CsAddress.py | 178 +++++++++++++------
 .../config/opt/cloud/bin/cs/CsRedundant.py      |  59 +++---
 .../debian/config/opt/cloud/bin/cs/CsRoute.py   |  64 +++++--
 .../debian/config/opt/cloud/bin/master.py       |   2 +-
 systemvm/test/python/TestCsRoute.py             |  17 +-
 5 files changed, 229 insertions(+), 91 deletions(-)
----------------------------------------------------------------------


Reply via email to