def METHOD_NAME(
    name,
    base_port=None,
    own_ip=None,
    node_ips=[],
    sync_agent_ranges=[],
    synced=False
):
    rc = SChainTestRuleController(
        name,
        base_port,
        own_ip,
        node_ips,
        sync_ip_ranges=sync_agent_ranges
    )
    if synced:
        rc.sync()
    return rc