Skip to content
Snippets Groups Projects
Verified Commit 3786d649 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Make bgp authentication key nullable

parent 7e409757
No related branches found
No related tags found
1 merge request!298Add BFD configuration to Service binding ports
......@@ -248,7 +248,7 @@ class NRENL3CoreServiceImportModel(BaseModel):
bfd_interval: int | None = None
bfd_multiplier: int | None = None
has_custom_policies: bool = False
authentication_key: str
authentication_key: str | None
multipath_enabled: bool = False
send_default_route: bool = False
is_passive: bool = False
......
......@@ -45,7 +45,7 @@ class BGPSessionProvisioning(BGPSessionInactive, lifecycle=[SubscriptionLifecycl
bfd_multiplier: int | None = None
families: list[IPFamily]
has_custom_policies: bool
authentication_key: str
authentication_key: str | None
multipath_enabled: bool
send_default_route: bool
is_multi_hop: bool
......@@ -69,7 +69,7 @@ class BGPSession(BGPSessionProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE
#: Whether any custom policies exist for this session.
has_custom_policies: bool
#: The authentication key of the :term:`BGP` session.
authentication_key: str
authentication_key: str | None
#: Whether multi-path is enabled.
multipath_enabled: bool
#: Whether we send a last resort route.
......
......@@ -32,7 +32,7 @@ def initial_input_form_generator() -> FormGenerator:
bfd_interval: int | None = None
bfd_multiplier: int | None = None
has_custom_policies: bool = False
authentication_key: str
authentication_key: str | None
multipath_enabled: bool = False
send_default_route: bool = False
is_passive: bool = False
......
......@@ -68,7 +68,7 @@ def initial_input_form_generator(product_name: str) -> FormGenerator:
bfd_interval: int | None = None
bfd_multiplier: int | None = None
has_custom_policies: bool = False
authentication_key: str
authentication_key: str | None
multipath_enabled: bool = False
send_default_route: bool = False
is_passive: bool = False
......
......@@ -64,7 +64,7 @@ def initial_input_form_generator(subscription_id: UUIDstr) -> FormGenerator:
bfd_interval: int | None = None
bfd_multiplier: int | None = None
has_custom_policies: bool = False
authentication_key: str
authentication_key: str | None
multipath_enabled: bool = False
send_default_route: bool = False
is_passive: bool = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment