Skip to content

[device/platform] Implement xcvr insert/remove event on questone2bd#194

Merged
bbinxie merged 2 commits intoSONIC-DEV:201911_cel_wbfrom
pphuchar:201911-q2bd-add-sfp-event
Jun 12, 2020
Merged

[device/platform] Implement xcvr insert/remove event on questone2bd#194
bbinxie merged 2 commits intoSONIC-DEV:201911_cel_wbfrom
pphuchar:201911-q2bd-add-sfp-event

Conversation

@pphuchar
Copy link
Collaborator

@pphuchar pphuchar commented Jun 12, 2020

- What I did
Implement polling method to get port insert/remove event in Celestica/ questone2bd.= platform.

- How I did it

  • Add sysfs for each port interrupt status.
  • Implement get_change_event() in platform chassis.

- How to verify it

  • Run the mock up test on chassis.get_change_event()
  • Insert/remove the transceiver and check the syslog.
    test_result.zip

- Description for the changelog

  • Add XCVR insert/remove event support in questone2bd.

- A picture of a cute animal (not mandatory but encouraged)

@pphuchar pphuchar added the enhancement New feature or request label Jun 12, 2020
@pphuchar pphuchar requested review from bbinxie and mudsut4ke June 12, 2020 09:01
@bbinxie bbinxie merged commit ee9640e into SONIC-DEV:201911_cel_wb Jun 12, 2020
mudsut4ke pushed a commit that referenced this pull request Sep 9, 2021
Updates sonic-platform-daemons submodule. Includes the following commits:
```
eb8a223 [xcvrd] Force cleanup of chassis global variable on deinit (#193)
a6903c0 [CI] sonic-config-engine now depends on SONiC YANG packages (#194)
bf60a27 Replace swsssdk.SonicV2Connector with swsscommon implementation (#191)
```
mudsut4ke pushed a commit that referenced this pull request Sep 9, 2021
7670b49 [sonic_platform/sfp_base] Add common definition for get SFP error status (#194)
1336598 [CI] sonic-config-engine now depends on SONiC YANG packages (#198)
f57fee4 Add to check pcie configuration revision to get the right configuration. (#195)
4e3a0a0 Fix typo for midplane APIs. (#196)
fc2e9e2 [eeprom_tlv_info] Optimize EEPROM data process by using visitor pattern (#193)
jerseyang pushed a commit that referenced this pull request Sep 26, 2021
* 664f0e2 2021-07-14 | [xrcvd]: Removed undefined symbol 'sfp_status_helper' (#204) (HEAD, origin/202012) [Prince George]
* 1b2d016 2021-06-16 | [CI] sonic-config-engine now depends on SONiC YANG packages (#194) [Joe LeVeque]
* 1cf5996 2021-07-14 | Introduce mgmtinit delay after transceiver module insertion (#201) [Prince George]

Signed-off-by: Guohan Lu <lguohan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants