Skip to content

CLOUDSTACK-8798 Fixed the vrrp virtual ip config in case of rvr enabl… - #800

Merged
asfgit merged 1 commit into
apache:masterfrom
bvbharatk:CLOUDSTACK-8798
Sep 11, 2015
Merged

asfgit merged 1 commit into
apache:masterfrom
bvbharatk:CLOUDSTACK-8798

Conversation

@bvbharatk

Copy link
Copy Markdown
Contributor

Fixed the vrrp virtual ip config in case of rvr enabled isolated networks.
changed the CsRedundant.py to bring down the public interface when rvr changes state to
backup. Also fixed vrrp authentication for isolated networks.

This fix dose not effect the vpc networks. it is only meant for rvr isolated networks.

manullay deployed a vm in rvr enabled isolated network and ran the tests below.

nosetests --with-marvin --marvin-config=/marvin-config test/integration/component/test_redundant_router_services.py

Test redundant router internals ... === TestName: test_enableVPNOverRvR | Status : SUCCESS ===


Ran 1 test in 633.336s

nosetests --with-marvin --marvin-config=/marvin-config test/integration/component/test_redundant_router_cleanups.py

Test network garbage collection with RVR ... === TestName: test_network_gc | Status : SUCCESS ===
ok
Test restarting RvR network without cleanup ... === TestName: test_restart_ntwk_no_cleanup | Status : SUCCESS ===
ok
Test restart RvR network with cleanup ... === TestName: test_restart_ntwk_with_cleanup | Status : SUCCESS ===


Ran 3 tests in 2120.263s

…ed isolated networks.

changed the CsRedundant.py to bring down the public interface when rvr changes state to
backup. Also fixed vrrp authentication for isolated networks.
@asfbot

asfbot commented Sep 11, 2015

Copy link
Copy Markdown

cloudstack-pull-rats #569 ABORTED

@wilderrodrigues

Copy link
Copy Markdown
Contributor

Hey @bvbharatk

Thanks, dude! I really loved the test report! :)

LGTM 👍

Cheers,
Wilder

@asfbot

asfbot commented Sep 11, 2015

Copy link
Copy Markdown

cloudstack-pull-analysis #505 ABORTED

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • run pep8, fix errors
  • consider using -- if self.get_type() == "router" or if self.get_type() is "router"
  • stick to uniform usage to quotes, double quotes for strings here so "router" instead of 'router'

@yadvr

yadvr commented Sep 11, 2015

Copy link
Copy Markdown
Member

Minor issues, otherwise code changes look alright

@wilderrodrigues

Copy link
Copy Markdown
Contributor

@bhaisaab , should we wait for a new commit from @bvbharatk on this PR before merging it?

Cheers,
Wilder

@wilderrodrigues

Copy link
Copy Markdown
Contributor

I will merge this, since it got 2 LGTM, and will change the if as suggested by Rohit in my next PR that will touch the python files.

@asfgit
asfgit merged commit 6f68ecc into apache:master Sep 11, 2015
asfgit pushed a commit that referenced this pull request Sep 11, 2015
CLOUDSTACK-8798 Fixed the vrrp virtual ip config in case of rvr enablFixed the vrrp virtual ip config in case of rvr enabled isolated networks.
changed the CsRedundant.py to bring down the public interface when rvr changes state to
backup. Also fixed vrrp authentication for isolated networks.

This fix dose not effect the vpc networks. it is only meant for rvr isolated networks.

manullay deployed a vm in rvr enabled isolated network and ran the tests below.

nosetests --with-marvin --marvin-config=/marvin-config test/integration/component/test_redundant_router_services.py

Test redundant router internals ... === TestName: test_enableVPNOverRvR | Status : SUCCESS ===

----------------------------------------------------------------------
Ran 1 test in 633.336s

nosetests --with-marvin --marvin-config=/marvin-config test/integration/component/test_redundant_router_cleanups.py

Test network garbage collection with RVR ... === TestName: test_network_gc | Status : SUCCESS ===
ok
Test restarting RvR network without cleanup ... === TestName: test_restart_ntwk_no_cleanup | Status : SUCCESS ===
ok
Test restart RvR network with cleanup ... === TestName: test_restart_ntwk_with_cleanup | Status : SUCCESS ===

----------------------------------------------------------------------
Ran 3 tests in 2120.263s

* pr/800:
  CLOUDSTACK-8798 Fixed the vrrp virtual ip config in case of rvr enabled isolated networks. changed the CsRedundant.py to bring down the public interface when rvr changes state to backup. Also fixed vrrp authentication for isolated networks.

Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
@yadvr

yadvr commented Sep 11, 2015

Copy link
Copy Markdown
Member

cool

yadvr pushed a commit that referenced this pull request Jan 20, 2021
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants