diff --git a/gso/workflows/nren_l3_core_service/create_nren_l3_core_service.py b/gso/workflows/nren_l3_core_service/create_nren_l3_core_service.py index d8e537bd63c344011f9def86a8ae58296837135e..9fb5d7c7d04721c2e2cdceee999a3e3630164bb8 100644 --- a/gso/workflows/nren_l3_core_service/create_nren_l3_core_service.py +++ b/gso/workflows/nren_l3_core_service/create_nren_l3_core_service.py @@ -82,7 +82,6 @@ def initial_input_form_generator(product_name: str) -> FormGenerator: return IPTypes.IPV4 class IPv6BGPPeer(BaseModel): - ip_type: IPTypes = IPTypes.IPV6 peer_address: IPv6AddressType authentication_key: str | None = None has_custom_policies: bool = False @@ -97,6 +96,11 @@ def initial_input_form_generator(product_name: str) -> FormGenerator: def families(self) -> list[IPFamily]: return [IPFamily.V6UNICAST, IPFamily.V6MULTICAST] if self.add_v6_multicast else [IPFamily.V6UNICAST] + @computed_field # type: ignore[misc] + @property + def ip_type(self) -> IPTypes: + return IPTypes.IPV6 + class BindingPortInputForm(FormPage): model_config = ConfigDict(title=f"{product_name} - Configure Edge Port") info_label: Label = Field("Please configure the Service Binding Ports for the Edge Port.", exclude=True)