[testbed_v2] Init and provision connection_db#2689
Merged
lolyu merged 2 commits intosonic-net:masterfrom Mar 30, 2021
Merged
Conversation
|
This pull request introduces 1 alert when merging 771f68c05d0716fe67084b20e1dc66202e093586 into 3c513c0 - view on LGTM.com new alerts:
|
06dee2c to
280f01b
Compare
0c93776 to
aa646ac
Compare
2f55a9b to
6fc25f3
Compare
wangxin
reviewed
Jan 11, 2021
wangxin
approved these changes
Jan 15, 2021
Collaborator
Author
|
Retest this please |
Add support to initialize and provision `connection_db`. Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
6fc25f3 to
c411466
Compare
vmittal-msft
pushed a commit
to vmittal-msft/sonic-mgmt
that referenced
this pull request
Sep 28, 2021
What is the motivation for this PR? Add initial connection_db setup and provision. How did you do it? Modify creategraphy.py to include devices meta for Server and Sonic devices in connection graph files. Add two Ansible lookup plugins: graphfile: Find the connection graph file that defineds those DUTs listed in the testbed. servercfgd_client: Dispatches calls to the remote functions in servercfgd. Add Ansible role connection_db with the following three actions: start_db: Install Redis related depedencies for connection_db and servercfgd stop_db: Remove Redis related dependencies. provision_db: Calls provision_connection_db remote call of servercfgd to provision connection_db with the connection graph file that contains DUTs defined in this testbed. Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
…onic-net#14169) swss: * 2447754 2023-02-23 | Do not allow to add port to .1Q bridge while router port deletion is not completed (sonic-net#2669) (HEAD -> 202205) [Lior Avramov] * 641c65c 2023-03-07 | [bfdorch] add default TOS value for BFD session (sonic-net#2689) (HEAD -> 202205) [Baorong Liu] * 95d3f6d 2023-03-08 | [ACL] Write ACL table/rule creation status into STATE_DB (sonic-net#2662) [bingwang-ms] swss-common: * 1fdeb9e 2023-03-03 | Define ACL_TABLE and ACL_RULE table in STATE_DB (sonic-net#748) (HEAD -> 202205, github/202205) [bingwang-ms] platform-common: * c441bd7 2023-03-07 | [sonic_ssd] Nokia-7215: Fix "show platform ssdhealth" (sonic-net#337) (HEAD -> 202205) [Pavan-Nokia] Signed-off-by: Ying Xie <ying.xie@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
[testbed_v2] Init and provision connection_db
Signed-off-by: Longxiang Lyu lolv@microsoft.com
Summary:
Fixes # (issue)
Type of change
Approach
What is the motivation for this PR?
Add initial
connection_dbsetup and provision.How did you do it?
Modify
creategraphy.pyto include devices meta forServerandSonicdevices in connection graph files.Add two Ansible lookup plugins:
graphfile: Find the connection graph file that defineds those DUTs listed in the testbed.servercfgd_client: Dispatches calls to the remote functions inservercfgd.Add Ansible role
connection_dbwith the following three actions:start_db: InstallRedisrelated depedencies forconnection_dbandservercfgdstop_db: RemoveRedisrelated dependencies.provision_db: Callsprovision_connection_dbremote call ofservercfgdto provisionconnection_dbwith the connection graph file that contains DUTs defined in this testbed.How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation