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

Use topology from database when initialize te manager #328

Merged
merged 6 commits into from
Oct 1, 2024

Conversation

congwang09
Copy link
Contributor

Resolves: #308

When initializing TE manager, we read from DB, if topology already exists, then use the one from DB. Also did some updates to use domain_name as key when saving to DB (in earlier case, we used LC-X for easy iteration of domains).

@coveralls
Copy link

coveralls commented Oct 1, 2024

Pull Request Test Coverage Report for Build 11130364476

Details

  • 3 of 9 (33.33%) changed or added relevant lines in 3 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.1%) to 58.396%

Changes Missing Coverage Covered Lines Changed/Added Lines %
sdx_controller/handlers/lc_message_handler.py 0 2 0.0%
sdx_controller/messaging/rpc_queue_consumer.py 0 4 0.0%
Files with Coverage Reduction New Missed Lines %
sdx_controller/handlers/lc_message_handler.py 1 24.0%
Totals Coverage Status
Change from base Build 10951736194: 0.1%
Covered Lines: 1086
Relevant Lines: 1917

💛 - Coveralls

@congwang09 congwang09 merged commit df7f6f4 into main Oct 1, 2024
11 checks passed
@congwang09 congwang09 deleted the add-topo-when-initialize-te-manager branch October 1, 2024 18:30
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.

SDX-Controller should load the topology from DB when starting up
3 participants