• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

atlanticwave-sdx / sdx-controller / 14066675726

25 Mar 2025 05:51PM UTC coverage: 56.077% (-0.9%) from 56.934%
14066675726

push

github

web-flow
Merge pull request #432 from atlanticwave-sdx/431-exception-when-handling-link-failures-keyerror-oxp_success_count-on-received-oxp-connection-response

oxp response counter to check the connection status transition:
1. Apply the connection_sm for correct transition
2. include the case when link failure
3. include the case then link removal
4. take pce@3.1.0.dev1 that refactored the update_topology function

2 of 29 new or added lines in 6 files covered. (6.9%)

9 existing lines in 1 file now uncovered.

1158 of 2065 relevant lines covered (56.08%)

1.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

61.54
/sdx_controller/utils/parse_helper.py
1
import json
2✔
2

3

4
class ParseHelper:
2✔
5
    def __init__(self):
2✔
6
        pass
2✔
7

8
    def is_json(self, json_str):
2✔
9
        try:
×
10
            json.loads(json_str)
×
NEW
11
        except ValueError:
×
12
            return False
×
13
        return True
×
14

15
    def find_domain_name(self, topology_id, delimiter):
2✔
16
        """
17
        Find domain name from topology id.
18
        Topology IDs are expected to be of the format
19
        "urn:ogf:network:sdx:topology:zaoxi.net"
20
        """
21
        *_, domain_name = topology_id.split(delimiter)
2✔
22
        return domain_name
2✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc