Commit ce3b6db
authored
[ycabled] fix insert events from xcvrd;cleanup some mux toggle logic (sonic-net#287)
Signed-off-by: vaibhav-dahiya [email protected]
This PR intends to help fix the surplus amount of insert/delete events that ycabled gets it is first spawned, it fixes the logic where an insert event is only handled the way it is collected by xcvrd one time only.
Previously there was a known issue for spurious insert/delete events captured by ycabled on config reload, this PR fixes it
This PR also cleans up some mux toggle blocking other txns logic.
Description
Motivation and Context
How Has This Been Tested?
Unit-tests and deploying changes on Testbed
Additional Information (Optional)1 parent 7c0a326 commit ce3b6db
File tree
3 files changed
+22
-4
lines changed- sonic-ycabled
- tests
- ycable
- ycable_utilities
3 files changed
+22
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
297 | 307 | | |
298 | 308 | | |
299 | 309 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
83 | 91 | | |
84 | 92 | | |
85 | 93 | | |
| |||
149 | 157 | | |
150 | 158 | | |
151 | 159 | | |
152 | | - | |
153 | 160 | | |
154 | 161 | | |
155 | 162 | | |
| |||
195 | 202 | | |
196 | 203 | | |
197 | 204 | | |
198 | | - | |
| 205 | + | |
199 | 206 | | |
200 | | - | |
201 | | - | |
202 | 207 | | |
203 | 208 | | |
204 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2274 | 2274 | | |
2275 | 2275 | | |
2276 | 2276 | | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
2277 | 2280 | | |
2278 | 2281 | | |
2279 | 2282 | | |
| |||
0 commit comments