commit 1f751b2d7d385a75d4255934694177d6fd6f012f
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat Jan 18 12:17:35 2020 +0000
Replace deprecated brctl with ip commands
The bridge-utils package has been deprecated for some time now [1] and
'brctl' does not exist on some more recent distros like Fedora 28.
Replace references to brctl with the proper ip commands.
Calls to "brctl show" are not being replaced with calls to "bridge link"
because the output format is very different and in testing some bridges
were not listed. So the simpler method of consulting /sys/class/net is
used.
Reviewed: https:/ /review. opendev. org/703234 /git.openstack. org/cgit/ openstack/ os-ken/ commit/ ?id=1f751b2d7d3 85a75d425593469 4177d6fd6f012f
Committed: https:/
Submitter: Zuul
Branch: master
commit 1f751b2d7d385a7 5d4255934694177 d6fd6f012f
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat Jan 18 12:17:35 2020 +0000
Replace deprecated brctl with ip commands
The bridge-utils package has been deprecated for some time now [1] and
'brctl' does not exist on some more recent distros like Fedora 28.
Replace references to brctl with the proper ip commands.
Calls to "brctl show" are not being replaced with calls to "bridge link"
because the output format is very different and in testing some bridges
were not listed. So the simpler method of consulting /sys/class/net is
used.
[1] https:/ /lwn.net/ Articles/ 703776/ for example
Change-Id: I8a4891bb7ed44d c25ba3f79d2ace6 927313c17b3
Related-Bug: #1801919