Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

245 a higher level api for state management #253

Merged
merged 8 commits into from
Feb 6, 2025

Conversation

YufengXin
Copy link
Collaborator

  1. take on the new tag from datamodel for error code handling
  2. remove python 3.9 and 3.10
  3. instead, update all persistent states, topology, bw, and available vlans in topology json.

@YufengXin YufengXin self-assigned this Feb 4, 2025
@YufengXin YufengXin linked an issue Feb 4, 2025 that may be closed by this pull request
@YufengXin YufengXin marked this pull request as draft February 4, 2025 02:25
@coveralls
Copy link

coveralls commented Feb 4, 2025

Pull Request Test Coverage Report for Build 13184459136

Details

  • 49 of 53 (92.45%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 90.812%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/sdx_pce/topology/temanager.py 28 32 87.5%
Totals Coverage Status
Change from base Build 12838545974: -0.2%
Covered Lines: 1243
Relevant Lines: 1353

💛 - Coveralls

@YufengXin
Copy link
Collaborator Author

YufengXin commented Feb 5, 2025

new tag: 3.0.0.dev8:

  1. take on datamodel 3.0.0.dev4 for more error codes
  2. added a new function: update_available_vlans() which updates the available vlans per port after provisioning and deletion of a connection. sdx-controller will get the updated topology objects to be saved in database for state persistence on topology, link bandwidth, and port available vlan ranges.
  3. a follow-up PR will address the state consistency when topology being updated from OXPs.

@YufengXin YufengXin marked this pull request as ready for review February 5, 2025 00:49
@YufengXin YufengXin merged commit ec81397 into main Feb 6, 2025
7 checks passed
@YufengXin YufengXin deleted the 245-a-higher-level-api-for-state-management branch February 6, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A higher level API for state management
3 participants