Skip to content

[conn_graph_facts] Enforce uniform return variable data type#2748

Merged
lolyu merged 1 commit intosonic-net:masterfrom
lolyu:refact_conn_graph_facts
Jan 12, 2021
Merged

[conn_graph_facts] Enforce uniform return variable data type#2748
lolyu merged 1 commit intosonic-net:masterfrom
lolyu:refact_conn_graph_facts

Conversation

@lolyu
Copy link
Collaborator

@lolyu lolyu commented Jan 7, 2021

Description of PR

Summary:
Fixes # (issue)
Make all the returns from conn_graph_facts of type dict.

Signed-off-by: Longxiang Lyu [email protected]

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

What is the motivation for this PR?

Enforce uniform returns for conn_graph_facts for both single and multi-DUTs.

How did you do it?

Make them all dictionary.

How did you verify/test it?

Run add_topo/remove_topo.
Run Pytest.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@lolyu
Copy link
Collaborator Author

lolyu commented Jan 7, 2021

Retest this please

@lolyu lolyu force-pushed the refact_conn_graph_facts branch from ff8c8a5 to 2b0f99e Compare January 7, 2021 14:02
@lolyu lolyu requested a review from a team January 7, 2021 14:52
@lolyu lolyu force-pushed the refact_conn_graph_facts branch from 2b0f99e to 92c2e32 Compare January 8, 2021 11:26
@lolyu lolyu requested a review from yxieca January 11, 2021 02:18
@lolyu lolyu merged commit da7fe3e into sonic-net:master Jan 12, 2021
@lolyu lolyu deleted the refact_conn_graph_facts branch January 12, 2021 01:51
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.

2 participants