Skip to content

Functiona tests for Private nat gateway#649

Merged
otc-zuul[bot] merged 2 commits into
mainfrom
private_nat_gateway_tests
Apr 20, 2026
Merged

Functiona tests for Private nat gateway#649
otc-zuul[bot] merged 2 commits into
mainfrom
private_nat_gateway_tests

Conversation

@shhovhan
Copy link
Copy Markdown
Contributor

Summary

This PR adds functional tests for private nat gateway.

Details

  • Added functional tests for private nat gateway.
  • Added Mixin class to keep common functionality for private dnat rule and snat rule
  • Refactored and moved cleanup_routers helper into base class to reuse it in both test_zone and test_private_nat_gateway

def cleanup_stale_routers(self, prefix):
"""Clean up stale Neutron routers created by functional tests."""
for router in self.conn.network.routers():
if not router.name or not router.name.startswith(prefix):
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.

need to be carefull with this, and look on prefixes, also good to add additional point to docstring

@otc-zuul
Copy link
Copy Markdown
Contributor

otc-zuul Bot commented Apr 20, 2026

Build succeeded.
https://zuul.otc-service.com/t/eco/buildset/1a0e52645f77493f92465727bf0039da

✔️ otc-tox-docs SUCCESS in 11m 27s
✔️ otc-tox-py310 SUCCESS in 3m 48s
✔️ otc-tox-pep8 SUCCESS in 5m 04s
✔️ tox-functional-eu-de SUCCESS in 17m 25s
✔️ otce-upload-image SUCCESS in 4m 10s

@otc-zuul otc-zuul Bot merged commit b419664 into main Apr 20, 2026
4 checks passed
@otc-zuul otc-zuul Bot deleted the private_nat_gateway_tests branch April 20, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants