aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* chore: bump version to 0.2.4v0.2.4diogo4642025-07-112-2/+2
|
* fix: correct shell redirection syntax from 2>1 to 2>&1diogo4642025-07-111-1/+1
|
* chore: bump version to 0.2.3v0.2.3diogo4642025-07-112-2/+2
|
* feat: add logging for scp command outputdiogo4642025-07-111-0/+9
|
* feat: create output directory if it doesn't exist in run commanddiogo4642025-07-111-0/+8
|
* chore: bump version to 0.2.2v0.2.2diogo4642025-07-112-2/+2
|
* fix: replace todo!() with bond0 interface for alakazam and kadabra machinesdiogo4642025-07-111-16/+16
|
* chore: bump version to 0.2.1v0.2.1diogo4642025-07-112-2/+2
|
* fix: add error handling for latency matrix dimension checkdiogo4642025-07-111-4/+12
|
* docs: update release command to push to all remotesdiogo4642025-07-111-1/+2
|
* chore: update Cargo.lock and add .claude directorydiogo4642025-07-112-1/+21
|
* chore: bump version to 0.2.0v0.2.0diogo4642025-07-111-1/+1
|
* updated READMEdiogo4642025-07-115-2/+109
|
* fixed log copyingdiogo4642025-07-111-1/+1
|
* fixed env var quoting when setting container variablesdiogo4642025-07-111-0/+2
|
* fixed reading schedule from stdindiogo4642025-07-111-4/+9
|
* added addr allocation policydiogo4642025-07-112-16/+204
|
* fixed net container builddiogo4642025-07-111-1/+3
|
* readme wipdiogo4642025-07-111-0/+55
|
* removed README.md, will re-add laterdiogo4642025-07-101-48/+0
|
* file cleanupdiogo4642025-07-108-717/+3
|
* Update GitHub Actions to latest versions for 2025v0.1.0diogo4642025-07-101-4/+4
| | | | | | | | | | | | | | - Update actions/cache from v3 to v4 (v1-v3 deprecated as of Feb 2025) - Update actions/upload-artifact to v4 (v3 deprecated) - Update actions/download-artifact to v4 (v3 deprecated) - Update softprops/action-gh-release from v1 to v2 These updates are required as older versions are deprecated and will stop working in 2025. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Fix GitHub Actions: Update artifact actions to v4diogo4642025-07-101-2/+2
| | | | | | | | | The v3 versions of upload-artifact and download-artifact are deprecated. Updated to v4 to fix the workflow. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* Add GitHub Actions release workflow and build scriptsdiogo4642025-07-105-0/+662
| | | | | | | | | | | | | | | - Add .github/workflows/release.yml for automated releases on version tags - Add scripts/build-static.sh for building statically linked binaries - Add scripts/prepare-release.sh for preparing release artifacts - Optimize Cargo.toml for smaller binary size (reduced from 4.5MB to 2.9MB) - Add scripts/README.md with usage documentation The workflow automatically builds binaries for Linux (musl) and macOS (Intel/ARM) when a version tag is pushed. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
* cargo clippy --fixdiogo4642025-07-103-20/+17
|
* clean enough for nowdiogo4642025-07-104-320/+433
|
* it works, now needs cleanupdiogo4642025-07-104-102/+991
|
* 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