import random
import logging


def test_sub_port(testbed_params):
    """Select a test sub port."""
    test_sub_port = random.choice(testbed_params.keys())
    logging.info("Select test sub port %s", test_sub_port)
    return test_sub_port