Skip to content

Update sonic-mgmt repository minigraph_facts.py and docker-teamd#78

Merged
stcheng merged 2 commits intosonic-net:masterfrom
stcheng:update
Jan 7, 2017
Merged

Update sonic-mgmt repository minigraph_facts.py and docker-teamd#78
stcheng merged 2 commits intosonic-net:masterfrom
stcheng:update

Conversation

@stcheng
Copy link
Copy Markdown
Contributor

@stcheng stcheng commented Jan 7, 2017

No description provided.

@stcheng stcheng merged commit 9e2f28a into sonic-net:master Jan 7, 2017
@stcheng stcheng deleted the update branch January 7, 2017 01:12
if hwsku == "Force10-S6000":
for i in range(0, 128, 4):
port_alias_map["fortyGigE0/%d" % i] = "Ethernet%d" % i
elif hwsku == "Force10-S6100":
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The list of SKUs seems to be hard coded.
Wouldn't it be better to have it read from some file which contains
mapping: <sku_name, sku_handler.py> and then invoke the handler?

wangxin pushed a commit to wangxin/sonic-mgmt that referenced this pull request Feb 21, 2025
<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md

Please provide following information to help code review process a bit easier:
-->
### Description of PR
<!--
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context. Where should reviewer start? background context?
- List any dependencies that are required for this change.
-->
Add BFD up count check and MAC entries count check to sanity check for T2 topo.

Summary:
Fixes # (issue) Microsoft ADO 29825439 & 29825466

### Type of change

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

- [ ] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [x] Test case(new/improvement)

### Back port request
- [ ] 202012
- [ ] 202205
- [ ] 202305
- [ ] 202311
- [x] 202405
- [x] 202411

### Approach
#### What is the motivation for this PR?
During our T2 Nightly run, we found that there will be a chance that the port channel connection between 2 ASICs is up but MAC address was not learned and the BFD session between them is down. Therefore, we need to have sanity check to make sure BFD are all up and all MAC addresses are learned, otherwise issue like this will affect the test result and can impact production env.

#### How did you do it?
1. Added `check_bfd_up_count()` function to sanity check for T2 topo only. This check will take ~4 seconds to run on a T2 device with 3 LC (frontend nodes).
2. Added `check_mac_entry_count()` function to sanity check for T2 supervisor only. This check will take ~17 seconds to finish on a T2 device where its supervisor has 10 ASICs.

#### How did you verify/test it?
I ran the updated code on T2 with multiple test modules and can confirm it's checking the BFD up count and MAC entries count properly. Elastictest link: https://elastictest.org/scheduler/testplan/676bbfe8ab42af53500adb8d?leftSideViewMode=detail

Besides, I can also confirm that these 2 checks will be skipped on non-T2 devices.

#### Any platform specific information?

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

### Documentation
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
linkmgrd:
* 3c2b546 2022-05-31 | Add default route support to `active-active` state machine (sonic-net#78) (github/202205, master, 202205) [Jing Zhang]
* 6fa892e 2022-05-27 | Degrade `LinkProberStateMachineBase` virtual function logging level (sonic-net#80) [Longxiang Lyu]
* 7b695ca 2022-05-27 | Fix mux wait timer and peer mux wait timer (sonic-net#81) [Longxiang Lyu]

platform-daemons:
* 0d90023 2022-05-31 | grpc client implementation for active-active dualtor (sonic-net#248) (github/master, github/202205, master, 202205) [vdahiya12]
* 6b8bf69 2022-05-27 | [ycabled] Fix some syntax warnings in ycabled (sonic-net#263) [vdahiya12]
* 2bcf936 2022-05-24 | [ycabled] fix the posting for mux_cable_static_info per downlink when ycabled is spawned; synchronizing executing Telemetry API (sonic-net#257) [vdahiya12]
* ce217c0 2022-04-25 | Include changes from xcvr_api in transceiver_info table (sonic-net#253) [qinchuanares]
* e0f8a35 2022-04-22 | Fix checkReplyType failed issue via recreating xcvr_table_helper on forking subprocess (sonic-net#255) [Stephen Sun]

platform-common:
* f575a40 2022-05-24 | [Credo][Ycable] changes for synchronizing executing Telemetry API's when mux toggle is inprogress (sonic-net#280) (github/202205, master, 202205) [vdahiya12]
* b043372 2022-05-11 | [sonic_ssd] Nokia-7215: "show platform ssdhealth" not showing health percent (sonic-net#279) [bill-nokia]
* d62d3d6 2022-05-04 | [CMIS]Fix low-power to high power mode transition (sonic-net#268) [Prince George]
* f918125 2022-05-02 | [syseeprom] Enable display of vendor extension TLV content (sonic-net#270) [dflynn-Nokia]
* 4e08440 2022-04-14 | [Credo][Ycable] improve logging for Server Powered off/Faulty cables (sonic-net#272) [vdahiya12]

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
[Submodule]: update sonic-restapi
bd97dfe Fix urllib3 CVE-2021-33503 issue (sonic-net#104)
f159bfa Upgrade the containers to be based on Debian Buster (sonic-net#103)
a1830c1 Fix OpenAPI spec to be readable by autorest (sonic-net#101)
94805a3 Identify and report Vnet GUID for conflicting VNI (sonic-net#99)
4832dfd Static route expiry if not specified as persistent (sonic-net#98)
5cc4358 Add support for overlay ECMP (sonic-net#96)
6822a46 [CI] Set diff cover threshold to 50% (sonic-net#97)
dcc826a Add PR diff coverage (sonic-net#95)
e842c5f Generate code coverage for Unit Tests (sonic-net#94)
f9bbed3 Convert Unit Tests from unittest framework to pytest framework (sonic-net#93)
e466ac2 Reject incorrect CIDR addresses while configuring routes (sonic-net#91)
07cf59d [CI] Set up Azure pipeline (sonic-net#89)
47476ac Upgrade Go version to 1.14 (sonic-net#90)
ee887c7 Added flag to make go/pkg/ folder writable (removable) (sonic-net#87)
6cfc8fe (origin/shilongliu/azp) Default Vrf static route support (sonic-net#85)
d3e8b8e Add BFD config to subinterface and neighbor (sonic-net#68)
8d4fd4a Fix WS-2018-0594 potential non-random UUIDs security issue (sonic-net#78)
fad87fa Update API description for default vrf and ecmp routes (sonic-net#82)

Some of them have been updated in 202012 branch, should be added in 202106 as well.
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
Why I did it
Update sonic-telemetry submodules (to fix CVE-2021-3121 alert).

e56e9b4 Fix CVE-2021-3121 warning (sonic-net#96)
bf1be4f [ci]: Support code diff coverage threshold 50% (sonic-net#94)
64e516c Ported Marvell armhf build on x86 for debian buster to use cross-compilation instead of qemu emulation (sonic-net#80)
e426388 [ci]: Support azp code coverage (sonic-net#87)
0443e66 Remove DB Directory removal as part of make clean (sonic-net#84)
085f29d Fix unhandled nil err check to prevent rpc causing a crash (sonic-net#78)
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
[xcvrd] Fix bailing out on platforms that do not support QSFP-DD (sonic-net#78)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
e466ac226c48cf87f83aa5564efd7155ac97a0c1 (HEAD -> master, origin/master, origin/HEAD) Reject incorrect CIDR addresses while configuring routes (sonic-net#91)
07cf59d866914ef7cb6901d51f289f0bee721e44 [CI] Set up Azure pipeline (sonic-net#89)
47476acdfaf668ab0cd9ae2443205a3bdc2e9ef9 Upgrade Go version to 1.14 (sonic-net#90)
ee887c785c10d8b4f70db90ca50cc398327c5d73 Added flag to make go/pkg/ folder writable (removable) (sonic-net#87)
6cfc8fe110c46a1ee5a8430e02a440b5a7b4006d (origin/shilongliu/azp) Default Vrf static route support (sonic-net#85)
d3e8b8e4aee278fa11d7d86acabdab3fffc70d5a Add BFD config to subinterface and neighbor (sonic-net#68)
8d4fd4a56b637d3b7403c321aef36b8dff58cd62 Fix WS-2018-0594 potential non-random UUIDs security issue (sonic-net#78)
fad87fa20f6b15e28c90e02a131c44d236d6a751 Update API description for default vrf and ecmp routes (sonic-net#82)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…utomatically (sonic-net#16842)

#### Why I did it
src/sonic-host-services
```
* fc88254 - (HEAD -> 202305, origin/202305) Support to config fips state (sonic-net#69) (sonic-net#78) (16 hours ago) [xumia]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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.

3 participants