sonic-buildimage/platform/barefoot/sonic-platform-modules-bfn-montara
Pavlo Yadvichuk 11c2e9ee3d [barefoot]: Allow configuration of platform-specific interfaces used for internal purposes (#2631)
- Why it is required
since SONiC master switches ifupdown package to the new implementation (ifupdown2), it is required to change the configuration of a platform-specific interface for wedge100bf_32x and wedge100bf_65x platforms (bc of ifupdown2 doesn't support auto mode for inet6 protocol).

Also, need to make some refactoring and remove if platform == smth then.. from the system level scripts.

- What I did

removed customization of /usr/bin/interfaces-config.sh
explicitly created directory /etc/network/interfaces.d
added "source" to the /etc/network/interfaces generation template (to include platform-specific interfaces processing)
added platform-specific interfaces config itself (for wedge100bf_32x and wedge100bf_65x)
fixed testcase in sonic-config-engine
- How to verify it

build image for wedge100bf_32x
perform sudo config reload -y on new installation
check the correct configuration of usb0 interface
- Description for the changelog

Allow configuration of platform-specific interfaces
2019-03-09 06:22:32 -08:00
..
configs/network/interfaces.d [barefoot]: Allow configuration of platform-specific interfaces used for internal purposes (#2631) 2019-03-09 06:22:32 -08:00
debian [barefoot]: Allow configuration of platform-specific interfaces used for internal purposes (#2631) 2019-03-09 06:22:32 -08:00
scripts [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
LICENSE [barefoot]: Support for platforms based on Barefoot Networks' device (#1796) 2018-07-24 10:23:12 -07:00
MAINTAINERS [barefoot]: Move bfn asic drivers out of platform package (#30) (#2183) 2018-10-24 06:27:04 -07:00
README.md [barefoot]: Move bfn asic drivers out of platform package (#30) (#2183) 2018-10-24 06:27:04 -07:00

sonic-platform-modules-bfn-montara

Device drivers for support of BFN platform for the SONiC project