Skip to content
Snippets Groups Projects
Commit e97c4f49 authored by Mohammad Torkashvand's avatar Mohammad Torkashvand
Browse files

fix vale

parent 0e14a4d4
No related branches found
No related tags found
1 merge request!176added partner model
Pipeline #85937 passed
...@@ -6,6 +6,7 @@ WFO ...@@ -6,6 +6,7 @@ WFO
Ansible Ansible
[Dd]eprovision [Dd]eprovision
API API
DNS
dry_run dry_run
Dark_fiber Dark_fiber
[A|a]ddress [A|a]ddress
......
...@@ -17,7 +17,7 @@ logger = structlog.get_logger(__name__) ...@@ -17,7 +17,7 @@ logger = structlog.get_logger(__name__)
class PartnerType(str, enum.Enum): class PartnerType(str, enum.Enum):
"""Enum defining different types of partners in the GSO system.""" """Defining different types of partners in the GSO system."""
NREN = "NREN" NREN = "NREN"
RE_PEER = "RE_PEER" RE_PEER = "RE_PEER"
......
...@@ -403,7 +403,7 @@ def check_ip_trunk_isis( ...@@ -403,7 +403,7 @@ def check_ip_trunk_isis(
@step("Register DNS records for both sides of the trunk") @step("Register DNS records for both sides of the trunk")
def register_dns_records(subscription: IptrunkInactive) -> State: def register_dns_records(subscription: IptrunkInactive) -> State:
"""Register DNS records for both sides of the newly created IPtrunk.""" """Register :term: `DNS` records for both sides of the newly created IPtrunk."""
for index, side in enumerate(subscription.iptrunk.iptrunk_sides): for index, side in enumerate(subscription.iptrunk.iptrunk_sides):
fqdn = f"{side.iptrunk_side_ae_iface}-0.{side.iptrunk_side_node.router_fqdn}" fqdn = f"{side.iptrunk_side_ae_iface}-0.{side.iptrunk_side_node.router_fqdn}"
if not (subscription.iptrunk.iptrunk_ipv4_network and subscription.iptrunk.iptrunk_ipv6_network): if not (subscription.iptrunk.iptrunk_ipv4_network and subscription.iptrunk.iptrunk_ipv6_network):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment