mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-06 16:31:08 +00:00
Break down _get_subnet_id() (101 lines) and create_server() (87 lines) into smaller, single-responsibility functions: - _create_vcn(): VCN creation (19 lines) - _setup_vcn_networking(): Internet gateway, route table, security list (47 lines) - _create_subnet(): Subnet creation with AD lookup (25 lines) - _get_subnet_id(): Now just finds or orchestrates creation (22 lines) - _get_instance_public_ip(): VNIC lookup and IP extraction (27 lines) - create_server(): Now delegates IP retrieval (59 lines) Agent: complexity-hunter Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||