aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* rust init snapshotdiogo4642025-07-096-0/+1301
|
* Optimize netfilter configuration with map-based packet markingdiogo4642025-07-011-34/+56
| | | | | | | | | | Replace sequential set-based lookups with a single hash map for better performance. Also apply traffic control to loopback interface and add proper cleanup for lo device. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Update oar_p2p_net.pydiogo4642025-07-011-5/+5
| | | | | | 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Fix async entry point by adding synchronous wrapperdiogo4642025-06-304-2/+16
| | | | | | | | Add main_sync() function to properly handle async main() function for package entry points. Update pyproject.toml to use the synchronous wrapper, ensuring the oar-p2p-net command works correctly when installed. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Convert positional arguments to required long flagsdiogo4642025-06-302-13/+13
| | | | | | | | | | | | | Replace positional arguments with explicit long flags for better usability: - job_id → --job-id - addresses → --num-addresses - latency_matrix → --latency-matrix Update README.md with new command syntax examples. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Replace print statements with logging module and add IP outputdiogo4642025-06-291-15/+28
| | | | | | | | Replace status/error print statements with logging module to ensure they go to stderr instead of stdout. Configure logging with timestamps and appropriate levels. Add machine-IP output at end of 'up' command for easy parsing. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Rename project to oar-p2p-netdiogo4642025-06-294-11/+11
| | | | | | | | Update project name throughout all files: pyproject.toml, README.md, Justfile, and rename main Python file from oar_p2p.py to oar_p2p_net.py to maintain consistency with the new project name. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Convert from Rust to Python project with uv supportdiogo4642025-06-299-949/+112
| | | | | | | | Remove Rust-related files (Cargo.toml, Cargo.lock, src/, target/) and restructure as Python project using uv for dependency management. Update project structure to match nova-oar-mcp style with pyproject.toml, .python-version, and proper Python packaging conventions. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* updatediogo4642025-06-291-93/+120
|
* Improve cleanup command error handling for better reliabilitydiogo4642025-06-271-4/+17
| | | | | | | | | | | | - Use return_exceptions=True in asyncio.gather to prevent fail-fast behavior - Ensure all machines complete cleanup before throwing exceptions - Add individual machine success/failure logging - Provide summary of failed machines in final exception - Maintain maximum cleanup coverage even when some machines fail 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Refactor P2P network configuration with modular design and NFT integrationdiogo4642025-06-272-156/+337
| | | | | | | | | | | | | | | - Add configuration generation and application system - Implement machine_apply_configuration for parallel execution - Integrate nftables for packet marking with latency-based sets - Add configurations subcommand for preview and debugging - Improve cleanup with parallel TC/NFT operations - Filter self-traffic and empty latency buckets - Update container to include nftables package - Replace old interface/latency functions with unified approach 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Add P2P network setup script with interface and latency configurationdiogo4642025-06-273-2/+345
| | | | | | | | | | | | | - Complete Python script for OAR P2P network setup - LatencyMatrix class for loading and validating square matrices - Interface preparation and configuration with parallel execution - TC latency emulation using netem (WIP - fixing class issues) - Batch IP and TC operations for efficiency - Docker containerized execution for consistent tooling 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Add OAR job management and IP address allocationdiogo4642025-06-274-4/+202
| | | | | | | | | | | | | - Add clap for CLI argument parsing with job_id, addresses, and latency_matrix - Add serde/serde_json for JSON parsing of OAR job data - Implement oar_network_addresses() to get machine list from OAR job - Add address_from_index() to map indices to 10.0.0.0/8 IP addresses - Add machine list with bond0 interfaces for charmander cluster - Configure musl target build in Justfile for cluster deployment 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Remove non-root user from Containerfilediogo4642025-06-271-7/+1
| | | | | | | | Run as root to allow network operations with ip and tc commands. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Add containerization and build optimizationdiogo4642025-06-274-2/+56
| | | | | | | | | | | - Add Containerfile with multi-stage Alpine build - Add Justfile with build and push recipes for ghcr.io - Configure Cargo.toml for size optimization (strip, lto, panic=abort) - Add pre-commit hook for cargo fmt and test 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* initdiogo4642025-06-274-0/+745