sonic-buildimage/files
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
..
Aboot [devices]: Add device data for Arista 7060PX/DX4-32 (#2534) 2019-02-08 22:02:01 -08:00
apt [baseimage]: Download picocom version 3.1-2 from stretch-backports; No longer build from source (#1946) 2018-08-17 17:38:20 -07:00
build_templates [barefoot]: Allow configuration of platform-specific interfaces used for internal purposes (#2631) 2019-03-09 06:22:32 -08:00
dhcp [baseimage]: Initial changes for dhcp to support eth0 in a mgmt vrf (#2348) 2019-01-15 18:15:56 -08:00
docker [docker-engine]: upgrade docker engine to 18.09 (#2417) 2019-01-04 20:47:43 -08:00
image_config [barefoot]: Allow configuration of platform-specific interfaces used for internal purposes (#2631) 2019-03-09 06:22:32 -08:00
initramfs-tools Add initramfs hook for Arista devices (#2595) 2019-02-27 10:28:04 -08:00
scripts [services] Services which start containers now use 'docker wait' instead of 'docker attach' (#2661) 2019-03-08 10:59:41 -08:00
sshd [sshd]: regenerate ssh key if ssh_host_rsa_key is not present 2018-08-11 21:38:33 +00:00