Added support for Z9100 to check SFP Presence, toggling lpmode, reset…#1087
Added support for Z9100 to check SFP Presence, toggling lpmode, reset…#1087jleveque merged 3 commits intosonic-net:masterfrom paavaanan:sonic_z9100_sfpuitil_build
Conversation
…, and eeprom details
|
retest this please |
1 similar comment
|
retest this please |
There was a problem hiding this comment.
There are quite a few inconsistencies in style. Please run this script through http://pep8online.com and fix all reported style issues in order to create consistent Python style.
| @@ -1,60 +1,329 @@ | |||
| #!/usr/bin/env python | |||
| #!/usr/bin/python | |||
There was a problem hiding this comment.
Shebang can be removed altogether, as this file is a plugin, and is not executable.
There was a problem hiding this comment.
Sure.. Thanks for the catch..
| # Rationalize port settings | ||
| if port_num >= self.iom2_port_start and port_num <= self.iom2_port_end: | ||
| port_num = port_num % 12 | ||
| elif port_num >= self.iom3_port_start and port_num <= self.iom3_port_end: |
There was a problem hiding this comment.
Replace tab with 4 spaces.
| i2c_line = 14 | ||
| elif port_num >= self.iom2_port_start and port_num <= self.iom2_port_end: | ||
| i2c_line = 15 | ||
| elif port_num >= self.iom3_port_start and port_num <= self.iom3_port_end: |
There was a problem hiding this comment.
Replace tab with 4 spaces.
| # Rationalize port settings | ||
| if port_num >= self.iom2_port_start and port_num <= self.iom2_port_end: | ||
| port_num = port_num % 12 | ||
| elif port_num >= self.iom3_port_start and port_num <= self.iom3_port_end: |
There was a problem hiding this comment.
Replace tab with 4 spaces.
| i2c_line = 14 | ||
| elif port_num >= self.iom2_port_start and port_num <= self.iom2_port_end: | ||
| i2c_line = 15 | ||
| elif port_num >= self.iom3_port_start and port_num <= self.iom3_port_end: |
There was a problem hiding this comment.
Replace tab with 4 spaces.
| # Rationalize port settings | ||
| if port_num >= self.iom2_port_start and port_num <= self.iom2_port_end: | ||
| port_num = port_num % 12 | ||
| elif port_num >= self.iom3_port_start and port_num <= self.iom3_port_end: |
There was a problem hiding this comment.
Replace tab with 4 spaces.
| i2c_line = 14 | ||
| elif port_num >= self.iom2_port_start and port_num <= self.iom2_port_end: | ||
| i2c_line = 15 | ||
| elif port_num >= self.iom3_port_start and port_num <= self.iom3_port_end: |
There was a problem hiding this comment.
Replace tab with 4 spaces.
| # Rationalize port settings | ||
| if port_num >= self.iom2_port_start and port_num <= self.iom2_port_end: | ||
| port_num = port_num % 12 | ||
| elif port_num >= self.iom3_port_start and port_num <= self.iom3_port_end: |
There was a problem hiding this comment.
Replace tab with 4 spaces.
| time.sleep(1) | ||
|
|
||
| # Flip the bit back high and write back to the register to take | ||
| # port out of reset |
There was a problem hiding this comment.
Replace tab with 4 spaces.
There was a problem hiding this comment.
Joe,
prep8online is really nice to catch the errors. Initially I face some confusion due to syntax errors. But, easy to align. Now, I checked-in with all changes. Please, have a look on it.
So, now for each *.py file commit do build system check for alignment issues?
| 9: [8, 27], | ||
| 10: [8, 28], | ||
| 11: [8, 29], | ||
| 12: [8, 31], #reordered |
There was a problem hiding this comment.
Add extra space before inline comment (pep8 style asks for minimum two spaces before the inline comment begins), and add space between # and reordered.
Also remove trailing whitespace.
| 11: [8, 29], | ||
| 12: [8, 31], #reordered | ||
| 13: [8, 30], | ||
| 14: [8, 33], #reordered |
There was a problem hiding this comment.
Add extra space before inline comment (pep8 style asks for minimum two spaces before the inline comment begins), and add space between # and reordered.
Sonic-swss-common: aaa8133 - 2019-10-12 : Add VRF object table in state_db (#312) [Tyler Li] 91aceb1 - 2019-10-11 : [schema] Update schema to support debug counters (#308) [Danny Allen] 9bcd5ca - 2019-09-28 : [multi-DB] fix vs test, should NOT replace old DBConnector API with new DBConnector API since vs test docker has no database_config.josn (#311) [Dong Zhang] 599155a - 2019-09-25 : [multi-DB] Part 2: C++ interface API changes / swsscommon unit test / LOGLEVEL_DB apply new API (#301) [Dong Zhang] 379ac73 - 2019-09-20 : add bulkremove for consumer_table_pops.lua (#306) [Dong Zhang] 6b805d3 - 2019-09-19 : timerfd return 0 with errno =0 - handle as False alarm. (#302) [Renuka Manavalan] e455891 - 2019-09-03 : Add VLAN_SUB_INTERFACE in CONFIG_DB schema (#284) [Wenda Ni] Sonic-swss 731a8f5 - 2019-10-17 : [copporch]: fix the endless loop problem when removing copp table group. (#1038) [wangshengjun] 1623219 - 2019-10-14 : Enable C++ unit test during build (#1092) [Qi Luo] 629c9d3 - 2019-10-14 : [vstest]: Revert back to 2 sec, and check if we got more than expected number of syslogs (#1091) [Prince Sunny] 80b2ace - 2019-10-11 : sonic-swss/orchagent: Add new protocol trap name support (#1087) [jpxjlrldgit] 9f765f7 - 2019-10-11 : [aclorch]: Check for existing mirror table only when creating a new table (#1089) [Danny Allen] 4c10260 - 2019-10-11 : [vstest]: Update Route test to check for added entry (#1088) [Prince Sunny] e658b64 - 2019-10-11 : [chassisorch]: Add everflow feature for chassis (#1024) [Ze Gan] 5b13387 - 2019-10-10 : [changelog]: Revert changelog that was done for passing VS test. (#1080) [Prince Sunny] 90a690d - 2019-10-10 : [aclorch]: Simplify the TCP flags matching code and support exact value match (#1072) [Shuotian Cheng] 3461710 - 2019-10-09 : Single VRF for ingress and egress flows, skip route replication (#1045) [Prince Sunny] 953474a - 2019-10-03 : [swss]: Do not use namespace in header files (#1081) [Wenda Ni] bd36751 - 2019-10-03 : Change nexthop key to ip & ifname (#977) [tylerlinp] fee1aaa - 2019-10-02 : [teamsyncd]: Check if LAG exists before removing (#1069) [Shuotian Cheng] 175f3de - 2019-09-30 : Update ECMP NHopGroup for Port Channel oper down (#1030) [Sumukha Tumkur Vani] 182940d - 2019-09-26 : [mirrororch]: Remove mirror session state after it is remvoed (#1066) [Shuotian Cheng] d823dd1 - 2019-09-20 : [MirrorOrch]: Mirror Session Retention across Warm Reboot (#1054) [Shuotian Cheng] a5b6e7c - 2019-09-19 : Ignore link local neighbors (#1065) [Prince Sunny] 0ddaba3 - 2019-09-19 : Adopt to signature change of Selectable::readData, which switched (#1061) [Renuka Manavalan] 543bd98 - 2019-09-18 : [aclorch]: Fix table name in counter table for mirror rules (#1060) [Shuotian Cheng] 12c29b4 - 2019-09-19 : Cannot ping to link-local ipv6 interface address of the switch. (#774) [Kiran Kumar Kella] 4d8e08d - 2019-09-18 : change in fpmsyncd to skip the lookup for the Master device name if the route object table value is zero (#1048) [Arvindsrinivasan Lakshmi narasimhan] da514f5 - 2019-09-18 : Do not update lag mtu from teamsyncd (netlink) (#1053) [Prince Sunny] 3fb22e1 - 2019-09-16 : Check warmboot flag during initialization (#1057) [Prince Sunny] d98d1e9 - 2019-09-16 : [aclorch]: Egress mirror action support and action ASIC support check (#963) [Stepan Blyshchak] 313ef5c - 2019-09-09 : Warmboot Vlan neigh restore fix (#1040) [Prince Sunny] 5841e06 - 2019-09-06 : Add dot1p to tc mapping support (#871) [Wenda Ni] 39fe568 - 2019-08-30 : [aclorch]: Revise ACL rule creation/removal logs (#1042) [Shuotian Cheng] c461911 - 2019-08-27 : [copporch]: Fix the typo - mld_v1_done (#1037) [wangshengjun] 34915de - 2019-08-22 : [portsyncd]: Add default catch block in portsyncd (#1033) [SuvarnaMeenakshi] dc81a21 - 2019-08-20 : [vnet]: Fix FDB related failure in "vnet_bitmap" virtual switch test (#1034) [Volodymyr Samotiy] 5ae4226 - 2019-08-19 : [test]: Adjust stale timer for warm-reboot neighborsync test cases (#1031) [zhenggen-xu] 65cbd55 - 2019-08-16 : [build]: Fix compiling warnings using ARM 32 bit compiler (#1015) [arheneus@marvell.com] b611808 - 2019-08-16 : [Orchagent]: Fixbug segmentfault at routeorch (#1025) [Ze Gan]
Revert "Revert " [201911]show interface counters for multi ASIC devices (#1104)"" Revert "Revert "Pfcstat (#1097)"" [show] Fix 'show int neighbor expected' (#1106) Update argument for docker exec it->i (#1118) Update to make config load/reload backward compatible. (#1115) Handling deletion of Port Channel before deletion of its members (#1062) Skip default route present in ASIC-DB but not in APP-DB. (#1107) [CLI][PFCWD][Multi-ASIC] Added multi ASIC support to 'pfcwd' CLI (#1102) [201911] Multi asic platform config interface portchannel, show transceiver (#1087) [drop counters] Fix configuration for counters with lowercase names (#1103) Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Update recording file if not start recording was performed previously
… advance submodule head sairedis: * 38c0bb1 2022-07-21 | [sairedis] Fix reopen recoding file (sonic-net#1087) (HEAD -> 202205, github/202205) [Kamil Cudnik] platform-daemon: * 17587b6 2022-07-22 | [ycabled] add secure channel support for grpc dualtor active-active connectivity (sonic-net#275) (HEAD -> 202205, github/202205) [vdahiya12] linkmgrd: * c911ec7 2022-07-21 | Avoid unnecessary error logs from `handleGetServerMacAddressNotification` (sonic-net#96) (HEAD -> 202205) [Jing Zhang] * bbae81d 2022-07-18 | Add support for reconciliation after warm restart (sonic-net#76) [Jing Zhang] utilities: * bcc1206 2022-07-20 | Change db_migrator major version on master branch from version 2 to 3 (sonic-net#2272) (HEAD -> 202205) [Vaibhav Hemant Dixit] * ad40697 2022-07-21 | Fix test for pfcwd_sw_enable in db_migrator_test (sonic-net#2253) [bingwang-ms] * 886f612 2022-07-22 | Revert "show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261)" (sonic-net#2274) (github/202205) [Ying Xie] * a6404b7 2022-07-17 | show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261) [Senthil Kumar Guruswamy] swss-common: * 509b265 2022-07-06 | Add device global table definition (sonic-net#645) (HEAD -> 202205) [tjchadaga] Signed-off-by: Ying Xie <ying.xie@microsoft.com>
… advance submodule head (#11518) sairedis: * 38c0bb1 2022-07-21 | [sairedis] Fix reopen recoding file (#1087) (HEAD -> 202205, github/202205) [Kamil Cudnik] platform-daemon: * 17587b6 2022-07-22 | [ycabled] add secure channel support for grpc dualtor active-active connectivity (#275) (HEAD -> 202205, github/202205) [vdahiya12] linkmgrd: * c911ec7 2022-07-21 | Avoid unnecessary error logs from `handleGetServerMacAddressNotification` (#96) (HEAD -> 202205) [Jing Zhang] * bbae81d 2022-07-18 | Add support for reconciliation after warm restart (#76) [Jing Zhang] utilities: * bcc1206 2022-07-20 | Change db_migrator major version on master branch from version 2 to 3 (#2272) (HEAD -> 202205) [Vaibhav Hemant Dixit] * ad40697 2022-07-21 | Fix test for pfcwd_sw_enable in db_migrator_test (#2253) [bingwang-ms] * 886f612 2022-07-22 | Revert "show commands for SYSTEM READY (#1851) (#2261)" (#2274) (github/202205) [Ying Xie] * a6404b7 2022-07-17 | show commands for SYSTEM READY (#1851) (#2261) [Senthil Kumar Guruswamy] swss-common: * 509b265 2022-07-06 | Add device global table definition (#645) (HEAD -> 202205) [tjchadaga] Signed-off-by: Ying Xie <ying.xie@microsoft.com>
Upgrade submodule sairedis to take the fix for saithrift build Upgrade SAI to latest for building in bullseye (sonic-net#1093) involve other changes in sairedis: [sairedis] Fix reopen recoding file (sonic-net#1087) Update PN with XPN support (sonic-net#1081) [syncd] Remove error message when tryTranslateVidToRid fails (sonic-net#1048) Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Upgrade submodule sairedis to take the fix for saithrift build Upgrade SAI to latest for building in bullseye (#1093) involve other changes in sairedis: [sairedis] Fix reopen recoding file (#1087) Update PN with XPN support (#1081) [syncd] Remove error message when tryTranslateVidToRid fails (#1048) Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
… advance submodule head (sonic-net#11518) sairedis: * 38c0bb1 2022-07-21 | [sairedis] Fix reopen recoding file (sonic-net#1087) (HEAD -> 202205, github/202205) [Kamil Cudnik] platform-daemon: * 17587b6 2022-07-22 | [ycabled] add secure channel support for grpc dualtor active-active connectivity (sonic-net#275) (HEAD -> 202205, github/202205) [vdahiya12] linkmgrd: * c911ec7 2022-07-21 | Avoid unnecessary error logs from `handleGetServerMacAddressNotification` (sonic-net#96) (HEAD -> 202205) [Jing Zhang] * bbae81d 2022-07-18 | Add support for reconciliation after warm restart (sonic-net#76) [Jing Zhang] utilities: * bcc1206 2022-07-20 | Change db_migrator major version on master branch from version 2 to 3 (sonic-net#2272) (HEAD -> 202205) [Vaibhav Hemant Dixit] * ad40697 2022-07-21 | Fix test for pfcwd_sw_enable in db_migrator_test (sonic-net#2253) [bingwang-ms] * 886f612 2022-07-22 | Revert "show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261)" (sonic-net#2274) (github/202205) [Ying Xie] * a6404b7 2022-07-17 | show commands for SYSTEM READY (sonic-net#1851) (sonic-net#2261) [Senthil Kumar Guruswamy] swss-common: * 509b265 2022-07-06 | Add device global table definition (sonic-net#645) (HEAD -> 202205) [tjchadaga] Signed-off-by: Ying Xie <ying.xie@microsoft.com>
This brings in the following changes: ``` 21f3d7c Add SAI_OBJECT_TYPE_TUNNEL object to break-before-make list (sonic-net#1075) 8ac3aa7 [sairedis] Fix reopen recoding file (sonic-net#1087) 0bbbb02 Transfer organization from Azure to sonic-net (sonic-net#1096) 3406c57 [sairedis] Perform log rotate on request (sonic-net#1083) ``` Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
[submodule]: update sairedis (sonic-net#11545) Upgrade submodule sairedis to take the fix for saithrift build Upgrade SAI to latest for building in bullseye (sonic-net#1093) involve other changes in sairedis: [sairedis] Fix reopen recoding file (sonic-net#1087) Update PN with XPN support (sonic-net#1081) [syncd] Remove error message when tryTranslateVidToRid fails (sonic-net#1048) Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
<!--
Please make sure you've read and understood our contributing guidelines:
https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md
** Make sure all your commits include a signature generated with `git
commit -s` **
If this is a bug fix, make sure your description includes "fixes #xxxx",
or
"closes #xxxx" or "resolves #xxxx"
Please provide the following information:
-->
#### Why I did it
##### Work item tracking
- Microsoft ADO **(number only)**:
#### How I did it
#### How to verify it
<!--
If PR needs to be backported, then the PR must be tested against the
base branch and the earliest backport release branch and provide tested
image version on these two branches. For example, if the PR is requested
for master, 202211 and 202012, then the requester needs to provide test
results on master and 202012.
-->
#### Which release branch to backport (provide reason below if selected)
<!--
- Note we only backport fixes to a release branch, *not* features!
- Please also provide a reason for the backporting below.
- e.g.
- [x] 202006
-->
- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [ ] 202205
- [ ] 202211
#### Tested branch (Please provide the tested image version)
<!--
- Please provide tested image version
- e.g.
- [x] 20201231.100
-->
- [ ] <!-- image version 1 -->
- [ ] <!-- image version 2 -->
#### Description for the changelog
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->
<!--
Ensure to add label/tag for the feature raised. example - PR#2174 under
sonic-utilities repo. where, Generic Config and Update feature has been
labelled as GCU.
-->
#### Link to config_db schema for YANG module changes
<!--
Provide a link to config_db schema for the table for which YANG model
is defined
Link should point to correct section on
https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md
-->
#### A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
…omatically (#24233) #### Why I did it src/sonic-swss-common ``` * 130d8b6 - (HEAD -> master, origin/master, origin/HEAD) Add chassis db. (#1085) (67 minutes ago) [dypet] * 66e437a - Fix mocktests for buster builds (#1087) (3 days ago) [prabhataravind] * 32b14a4 - Update static database_config.json in swsscommon (#1086) (4 days ago) [prabhataravind] * c253917 - Add pop batch size support for ZMQ Consumer (#1084) (5 days ago) [Vivek] * 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (#1070) (6 days ago) [Connor Roos] ``` #### How I did it #### How to verify it #### Description for the changelog
…omatically (sonic-net#24233) #### Why I did it src/sonic-swss-common ``` * 130d8b6 - (HEAD -> master, origin/master, origin/HEAD) Add chassis db. (sonic-net#1085) (67 minutes ago) [dypet] * 66e437a - Fix mocktests for buster builds (sonic-net#1087) (3 days ago) [prabhataravind] * 32b14a4 - Update static database_config.json in swsscommon (sonic-net#1086) (4 days ago) [prabhataravind] * c253917 - Add pop batch size support for ZMQ Consumer (sonic-net#1084) (5 days ago) [Vivek] * 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070) (6 days ago) [Connor Roos] ``` #### How I did it #### How to verify it #### Description for the changelog Signed-off-by: Feng Pan <fenpan@microsoft.com>
…omatically (#24285) Why I did it src/sonic-swss-common * 7f1b50f - (HEAD -> master, origin/master, origin/HEAD) Revert "[sonic-db-cli] Add flag to make cli calls to container databases (#1070)" and #1111 (#1123) (5 hours ago) [Qi Luo] * 16a8a93 - [ci] Use 1ES agent pool to provide more disk when building swss. (#1121) (2 days ago) [Liu Shilong] * 7682785 - Revert "Fix risky unwrap(), expect(), and casting (#1113)" (#1118) (2 days ago) [Liu Shilong] * cf7c7f6 - Fix issue where namespace would not be read (#1111) (2 days ago) [Connor Roos] * d6ccff7 - Fix risky unwrap(), expect(), and casting (#1113) (4 days ago) [Qi Luo] * e67092c - Add PORT_SERDES_ATTR_ID_LIST to FLEX COUNTER DATABASE (#1099) (9 days ago) [Dhanasekar Rathinavel] * d2c8f2c - [ci] Migrate agent pool from sonicbld-1es to sonicso1ES-amd64 (#1101) (2 weeks ago) [Liu Shilong] * 4b86a77 - [dhcp_relay] sonic dhcp relay agent for IPv4 (#1017) (4 weeks ago) [Akshath TR] * 472a425 - SHlorch changes for EVPN MH feature (#1051) (5 weeks ago) [jayakj] * 7407a2e - Optimize memory usage by replacing the queue's underlying container with a list. (#1083) (7 weeks ago) [Hua Liu] * 130d8b6 - Add chassis db. (#1085) (7 weeks ago) [dypet] * 66e437a - Fix mocktests for buster builds (#1087) (8 weeks ago) [prabhataravind] * 32b14a4 - Update static database_config.json in swsscommon (#1086) (8 weeks ago) [prabhataravind] * c253917 - Add pop batch size support for ZMQ Consumer (#1084) (8 weeks ago) [Vivek] * 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (#1070) (8 weeks ago) [Connor Roos]
…omatically (sonic-net#24285) Why I did it src/sonic-swss-common * 7f1b50f - (HEAD -> master, origin/master, origin/HEAD) Revert "[sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070)" and sonic-net#1111 (sonic-net#1123) (5 hours ago) [Qi Luo] * 16a8a93 - [ci] Use 1ES agent pool to provide more disk when building swss. (sonic-net#1121) (2 days ago) [Liu Shilong] * 7682785 - Revert "Fix risky unwrap(), expect(), and casting (sonic-net#1113)" (sonic-net#1118) (2 days ago) [Liu Shilong] * cf7c7f6 - Fix issue where namespace would not be read (sonic-net#1111) (2 days ago) [Connor Roos] * d6ccff7 - Fix risky unwrap(), expect(), and casting (sonic-net#1113) (4 days ago) [Qi Luo] * e67092c - Add PORT_SERDES_ATTR_ID_LIST to FLEX COUNTER DATABASE (sonic-net#1099) (9 days ago) [Dhanasekar Rathinavel] * d2c8f2c - [ci] Migrate agent pool from sonicbld-1es to sonicso1ES-amd64 (sonic-net#1101) (2 weeks ago) [Liu Shilong] * 4b86a77 - [dhcp_relay] sonic dhcp relay agent for IPv4 (sonic-net#1017) (4 weeks ago) [Akshath TR] * 472a425 - SHlorch changes for EVPN MH feature (sonic-net#1051) (5 weeks ago) [jayakj] * 7407a2e - Optimize memory usage by replacing the queue's underlying container with a list. (sonic-net#1083) (7 weeks ago) [Hua Liu] * 130d8b6 - Add chassis db. (sonic-net#1085) (7 weeks ago) [dypet] * 66e437a - Fix mocktests for buster builds (sonic-net#1087) (8 weeks ago) [prabhataravind] * 32b14a4 - Update static database_config.json in swsscommon (sonic-net#1086) (8 weeks ago) [prabhataravind] * c253917 - Add pop batch size support for ZMQ Consumer (sonic-net#1084) (8 weeks ago) [Vivek] * 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070) (8 weeks ago) [Connor Roos]
…omatically (sonic-net#24285) Why I did it src/sonic-swss-common * 7f1b50f - (HEAD -> master, origin/master, origin/HEAD) Revert "[sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070)" and sonic-net#1111 (sonic-net#1123) (5 hours ago) [Qi Luo] * 16a8a93 - [ci] Use 1ES agent pool to provide more disk when building swss. (sonic-net#1121) (2 days ago) [Liu Shilong] * 7682785 - Revert "Fix risky unwrap(), expect(), and casting (sonic-net#1113)" (sonic-net#1118) (2 days ago) [Liu Shilong] * cf7c7f6 - Fix issue where namespace would not be read (sonic-net#1111) (2 days ago) [Connor Roos] * d6ccff7 - Fix risky unwrap(), expect(), and casting (sonic-net#1113) (4 days ago) [Qi Luo] * e67092c - Add PORT_SERDES_ATTR_ID_LIST to FLEX COUNTER DATABASE (sonic-net#1099) (9 days ago) [Dhanasekar Rathinavel] * d2c8f2c - [ci] Migrate agent pool from sonicbld-1es to sonicso1ES-amd64 (sonic-net#1101) (2 weeks ago) [Liu Shilong] * 4b86a77 - [dhcp_relay] sonic dhcp relay agent for IPv4 (sonic-net#1017) (4 weeks ago) [Akshath TR] * 472a425 - SHlorch changes for EVPN MH feature (sonic-net#1051) (5 weeks ago) [jayakj] * 7407a2e - Optimize memory usage by replacing the queue's underlying container with a list. (sonic-net#1083) (7 weeks ago) [Hua Liu] * 130d8b6 - Add chassis db. (sonic-net#1085) (7 weeks ago) [dypet] * 66e437a - Fix mocktests for buster builds (sonic-net#1087) (8 weeks ago) [prabhataravind] * 32b14a4 - Update static database_config.json in swsscommon (sonic-net#1086) (8 weeks ago) [prabhataravind] * c253917 - Add pop batch size support for ZMQ Consumer (sonic-net#1084) (8 weeks ago) [Vivek] * 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070) (8 weeks ago) [Connor Roos]
…omatically (sonic-net#24285) Why I did it src/sonic-swss-common * 7f1b50f - (HEAD -> master, origin/master, origin/HEAD) Revert "[sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070)" and sonic-net#1111 (sonic-net#1123) (5 hours ago) [Qi Luo] * 16a8a93 - [ci] Use 1ES agent pool to provide more disk when building swss. (sonic-net#1121) (2 days ago) [Liu Shilong] * 7682785 - Revert "Fix risky unwrap(), expect(), and casting (sonic-net#1113)" (sonic-net#1118) (2 days ago) [Liu Shilong] * cf7c7f6 - Fix issue where namespace would not be read (sonic-net#1111) (2 days ago) [Connor Roos] * d6ccff7 - Fix risky unwrap(), expect(), and casting (sonic-net#1113) (4 days ago) [Qi Luo] * e67092c - Add PORT_SERDES_ATTR_ID_LIST to FLEX COUNTER DATABASE (sonic-net#1099) (9 days ago) [Dhanasekar Rathinavel] * d2c8f2c - [ci] Migrate agent pool from sonicbld-1es to sonicso1ES-amd64 (sonic-net#1101) (2 weeks ago) [Liu Shilong] * 4b86a77 - [dhcp_relay] sonic dhcp relay agent for IPv4 (sonic-net#1017) (4 weeks ago) [Akshath TR] * 472a425 - SHlorch changes for EVPN MH feature (sonic-net#1051) (5 weeks ago) [jayakj] * 7407a2e - Optimize memory usage by replacing the queue's underlying container with a list. (sonic-net#1083) (7 weeks ago) [Hua Liu] * 130d8b6 - Add chassis db. (sonic-net#1085) (7 weeks ago) [dypet] * 66e437a - Fix mocktests for buster builds (sonic-net#1087) (8 weeks ago) [prabhataravind] * 32b14a4 - Update static database_config.json in swsscommon (sonic-net#1086) (8 weeks ago) [prabhataravind] * c253917 - Add pop batch size support for ZMQ Consumer (sonic-net#1084) (8 weeks ago) [Vivek] * 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070) (8 weeks ago) [Connor Roos] Signed-off-by: xiaweijiang <xiaweijiang@microsoft.com>
…omatically (sonic-net#24285) Why I did it src/sonic-swss-common * 7f1b50f - (HEAD -> master, origin/master, origin/HEAD) Revert "[sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070)" and sonic-net#1111 (sonic-net#1123) (5 hours ago) [Qi Luo] * 16a8a93 - [ci] Use 1ES agent pool to provide more disk when building swss. (sonic-net#1121) (2 days ago) [Liu Shilong] * 7682785 - Revert "Fix risky unwrap(), expect(), and casting (sonic-net#1113)" (sonic-net#1118) (2 days ago) [Liu Shilong] * cf7c7f6 - Fix issue where namespace would not be read (sonic-net#1111) (2 days ago) [Connor Roos] * d6ccff7 - Fix risky unwrap(), expect(), and casting (sonic-net#1113) (4 days ago) [Qi Luo] * e67092c - Add PORT_SERDES_ATTR_ID_LIST to FLEX COUNTER DATABASE (sonic-net#1099) (9 days ago) [Dhanasekar Rathinavel] * d2c8f2c - [ci] Migrate agent pool from sonicbld-1es to sonicso1ES-amd64 (sonic-net#1101) (2 weeks ago) [Liu Shilong] * 4b86a77 - [dhcp_relay] sonic dhcp relay agent for IPv4 (sonic-net#1017) (4 weeks ago) [Akshath TR] * 472a425 - SHlorch changes for EVPN MH feature (sonic-net#1051) (5 weeks ago) [jayakj] * 7407a2e - Optimize memory usage by replacing the queue's underlying container with a list. (sonic-net#1083) (7 weeks ago) [Hua Liu] * 130d8b6 - Add chassis db. (sonic-net#1085) (7 weeks ago) [dypet] * 66e437a - Fix mocktests for buster builds (sonic-net#1087) (8 weeks ago) [prabhataravind] * 32b14a4 - Update static database_config.json in swsscommon (sonic-net#1086) (8 weeks ago) [prabhataravind] * c253917 - Add pop batch size support for ZMQ Consumer (sonic-net#1084) (8 weeks ago) [Vivek] * 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070) (8 weeks ago) [Connor Roos]
…omatically (sonic-net#24285) Why I did it src/sonic-swss-common * 7f1b50f - (HEAD -> master, origin/master, origin/HEAD) Revert "[sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070)" and sonic-net#1111 (sonic-net#1123) (5 hours ago) [Qi Luo] * 16a8a93 - [ci] Use 1ES agent pool to provide more disk when building swss. (sonic-net#1121) (2 days ago) [Liu Shilong] * 7682785 - Revert "Fix risky unwrap(), expect(), and casting (sonic-net#1113)" (sonic-net#1118) (2 days ago) [Liu Shilong] * cf7c7f6 - Fix issue where namespace would not be read (sonic-net#1111) (2 days ago) [Connor Roos] * d6ccff7 - Fix risky unwrap(), expect(), and casting (sonic-net#1113) (4 days ago) [Qi Luo] * e67092c - Add PORT_SERDES_ATTR_ID_LIST to FLEX COUNTER DATABASE (sonic-net#1099) (9 days ago) [Dhanasekar Rathinavel] * d2c8f2c - [ci] Migrate agent pool from sonicbld-1es to sonicso1ES-amd64 (sonic-net#1101) (2 weeks ago) [Liu Shilong] * 4b86a77 - [dhcp_relay] sonic dhcp relay agent for IPv4 (sonic-net#1017) (4 weeks ago) [Akshath TR] * 472a425 - SHlorch changes for EVPN MH feature (sonic-net#1051) (5 weeks ago) [jayakj] * 7407a2e - Optimize memory usage by replacing the queue's underlying container with a list. (sonic-net#1083) (7 weeks ago) [Hua Liu] * 130d8b6 - Add chassis db. (sonic-net#1085) (7 weeks ago) [dypet] * 66e437a - Fix mocktests for buster builds (sonic-net#1087) (8 weeks ago) [prabhataravind] * 32b14a4 - Update static database_config.json in swsscommon (sonic-net#1086) (8 weeks ago) [prabhataravind] * c253917 - Add pop batch size support for ZMQ Consumer (sonic-net#1084) (8 weeks ago) [Vivek] * 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070) (8 weeks ago) [Connor Roos] Signed-off-by: Feng Pan <fenpan@microsoft.com>
Added support for Z9100 to check SFP Presence, toggling lpmode, reset and eeprom details
- What I did
Added support for Z9100 to check SFP Presence, toggling lpmode, reset and eeprom details
- How I did it
get_presence, get_low_power_mode, set_low_power_mode, reset ---> Z9100 consist of 32 ports modules where the i2c path starts with 14,16,15. Added support in "i2c to port" match for qsfp_path selection.
Eagle Port support is currently not included.
- How to verify it
- Description for the changelog
unit_test_eeprom.txt
unit_test_lpmode.txt
unit_test_presence.txt
- A picture of a cute animal (not mandatory but encouraged)