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

[API-SERVER] New DB inherritance approach #280

Merged
merged 99 commits into from
Mar 10, 2024
Merged

[API-SERVER] New DB inherritance approach #280

merged 99 commits into from
Mar 10, 2024

Conversation

leondavi
Copy link
Owner

No description provided.

NewVal=maps:get({Name,Host,Port},Acc)++[Dest];
false->
%addres not in yet, create new value for it
%address not in yet, create new value for it
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GuyPerets106
Guy please add documentation here for both cases that there is a single returned value from routing table:

  1. Single entity's destination remained from broadcast list for the next hop.
  2. entity belongs to current router.

src_py/apiServer/experiment_flow_test.py Outdated Show resolved Hide resolved
@@ -57,13 +58,13 @@ def print_test(in_str : str):
if stderr:
print_test(stderr)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GuyPerets106 @NoaShapira8 @ohad123
add here
exit(rc)

src_py/apiServer/experiment_flow_test.py Show resolved Hide resolved
@@ -57,13 +58,13 @@ def print_test(in_str : str):
if stderr:
print_test(stderr)
else:
print_test(stdout)
print_test(stdout, False)
stdout, stderr, rc = nerlnet_stop_cmd.sync(NERLNET_RUNNING_TIMEOUT_SEC)
print_test(f'rc stop: {rc}')
if stderr:
print_test(stderr)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GuyPerets106 @NoaShapira8 @ohad123
After print_test of stderr add
exit(rc)

add decode function for NerlDB
@leondavi leondavi merged commit 40af2a1 into master Mar 10, 2024
1 check passed
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.

4 participants