Commit ae44701
authored
[orchagent] Put port configuration to APPL_DB according to autoneg mode (sonic-net#1769)
*Before puting port related configuration to APPL_DB, check autoneg mode first. If autoneg mode is enabled, "speed" and "interface_type" will not be put into APPL_DB; if autoneg mode is disabled, "adv_speeds" and "adv_interface_types" will not be put into APPL_DB; else all configuration will be put to APPL_DB for backward compatible.1 parent 5295f91 commit ae44701
2 files changed
Lines changed: 56 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2625 | 2625 | | |
2626 | 2626 | | |
2627 | 2627 | | |
2628 | | - | |
2629 | 2628 | | |
2630 | | - | |
| 2629 | + | |
2631 | 2630 | | |
2632 | 2631 | | |
2633 | 2632 | | |
2634 | | - | |
2635 | 2633 | | |
2636 | | - | |
| 2634 | + | |
2637 | 2635 | | |
2638 | 2636 | | |
2639 | 2637 | | |
2640 | | - | |
2641 | 2638 | | |
2642 | | - | |
| 2639 | + | |
2643 | 2640 | | |
2644 | 2641 | | |
2645 | 2642 | | |
2646 | 2643 | | |
2647 | | - | |
| 2644 | + | |
2648 | 2645 | | |
2649 | 2646 | | |
2650 | 2647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
238 | 242 | | |
239 | 243 | | |
240 | 244 | | |
| |||
250 | 254 | | |
251 | 255 | | |
252 | 256 | | |
253 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
254 | 305 | | |
255 | 306 | | |
256 | 307 | | |
| |||
0 commit comments