sonic-bgpcfgd build fails in the absence of Python 2, as it attempts to explicitly call sonic-cfggen using `/usr/bin/python2.7`. Also, it attempts to call sonic-cfggen using a local, relative path. Since the sonic-config-engine package is not installed, neither are its dependencies. Now, we configure the Python 3 sonic-config-engine as a dependency of sonic-bgpcfgd, which ensures the Python 3 sonic-config-engine package and its dependencies are installed before sonic-bgpcfgd is built/tested.
39 lines
662 B
Plaintext
39 lines
662 B
Plaintext
!
|
|
! =========== Managed by sonic-cfggen DO NOT edit manually! ====================
|
|
! generated by templates/zebra/zebra.conf.j2 using config DB data
|
|
! file: zebra.conf
|
|
!
|
|
! template: common/daemons.common.conf.j2
|
|
!
|
|
hostname new_hostname
|
|
password zebra
|
|
enable password zebra
|
|
!
|
|
log syslog informational
|
|
log facility local4
|
|
!
|
|
! end of template: common/daemons.common.conf.j2!
|
|
!
|
|
vrf First
|
|
vni 10
|
|
!
|
|
vrf Second
|
|
vni 20
|
|
!
|
|
! Enable nht through default route
|
|
ip nht resolve-via-default
|
|
! Enable link-detect (default disabled)
|
|
interface Ethernet0
|
|
link-detect
|
|
!
|
|
interface Ethernet4
|
|
link-detect
|
|
!
|
|
interface PortChannel10
|
|
link-detect
|
|
!
|
|
interface PortChannel20
|
|
link-detect
|
|
!
|
|
!!
|