SovereignCloudStack / SovereignCloudStack/standards

[Feature request] Make network selection in entropy test configurable

Open
#1,112 2 comments 0 reactions 1 assignee View on GitHub

@fkr is already working on this.

Since Feb 26, 2026.

enhancement
Dominant language
Python
Stars
47
Forks
38
Avg merge
1d 16h
Merged PRs (30d)
8

Description

If a setup with internet and internal network the test fails if the IP gets allocated from the wrong pool.

We temporarily fixed this by changing the used external network:

diff --git a/Tests/iaas/scs_0101_entropy/entropy_check.py b/Tests/iaas/scs_0101_entropy/entropy_check.py
index 47de3db..e97cdaf 100644
--- a/Tests/iaas/scs_0101_entropy/entropy_check.py
+++ b/Tests/iaas/scs_0101_entropy/entropy_check.py
@@ -197,7 +197,7 @@ class TestEnvironment:
                     "More than one external network found: "
                     + ', '.join([n.id for n in external_networks])  # noqa: W503
                 )
-            external_gateway_net_id = external_networks[0].id
+            external_gateway_net_id = external_networks[1].id
             logger.debug(f"Using external network {external_gateway_net_id}.")
             self.router = self.conn.create_router(
                 ROUTER_NAME, ext_gateway_net_id=external_gateway_net_id,

I think the name of the used network should be something configurable.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.