v0.0.19 | Internet Gateway / Routing Table 관리 API 추가
All checks were successful
Build And Test / build-and-push (push) Successful in 13s
All checks were successful
Build And Test / build-and-push (push) Successful in 13s
- ApiVpc에 IGW CRUD 추가 (/v2.0/internetgateways, external_network_id 사용) - IGW/RoutingTable/Subnet-attach View 및 URL 신규 (모두 동기) - API_SPEC.md 3.7.1~3.7.8 네트워크 섹션 추가 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@ -119,6 +119,58 @@ class SubnetSerializer(serializers.Serializer):
|
||||
)
|
||||
|
||||
|
||||
class SubnetAttachRoutingTableSerializer(serializers.Serializer):
|
||||
"""서브넷에 라우팅 테이블 연결 요청"""
|
||||
|
||||
routingtable_id = serializers.CharField(
|
||||
help_text="라우팅 테이블 ID",
|
||||
)
|
||||
|
||||
|
||||
# ==================== Routing Table ====================
|
||||
|
||||
|
||||
class RoutingTableSerializer(serializers.Serializer):
|
||||
"""라우팅 테이블 생성 요청"""
|
||||
|
||||
name = serializers.CharField(
|
||||
help_text="라우팅 테이블 이름",
|
||||
max_length=255,
|
||||
)
|
||||
vpc_id = serializers.CharField(
|
||||
help_text="VPC ID",
|
||||
)
|
||||
distributed = serializers.BooleanField(
|
||||
help_text="분산 라우팅 여부 (기본 True)",
|
||||
default=True,
|
||||
)
|
||||
|
||||
|
||||
class RoutingTableAttachGatewaySerializer(serializers.Serializer):
|
||||
"""라우팅 테이블에 인터넷 게이트웨이 연결 요청"""
|
||||
|
||||
gateway_id = serializers.CharField(
|
||||
help_text="인터넷 게이트웨이 ID",
|
||||
)
|
||||
|
||||
|
||||
# ==================== Internet Gateway ====================
|
||||
|
||||
|
||||
class InternetGatewaySerializer(serializers.Serializer):
|
||||
"""인터넷 게이트웨이 생성 요청"""
|
||||
|
||||
name = serializers.CharField(
|
||||
help_text="인터넷 게이트웨이 이름",
|
||||
max_length=255,
|
||||
)
|
||||
external_network_id = serializers.CharField(
|
||||
help_text="외부 네트워크 ID (생략 시 자동 조회)",
|
||||
required=False,
|
||||
allow_blank=True,
|
||||
)
|
||||
|
||||
|
||||
# ==================== Security Group ====================
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user