forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build_templates]: add multi-namespace spport to bgp
* add bgp service template * create /etc/sonic/frr* for multiple instances of bgp docker container [frr docker]: add multi-ASIC support to bgpd.conf * add `redistribute connected` option to advertise routes to local interfaces * add `all` option to next-hop-self * add route-map to hide internal routes * add route-map to allow duplicate frontend router id Signed-off-by: Lawrence Lee <[email protected]>
- Loading branch information
Lawrence Lee
committed
Aug 2, 2019
1 parent
845778e
commit 4ea01b7
Showing
5 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[Unit] | ||
Description=BGP container | ||
#Requires=updategraph.service | ||
#After=updategraph.service | ||
After=database@%i.service | ||
Requires=database@%i.service | ||
Before=ntp-config.service | ||
PartOf=namespace@%i.target | ||
|
||
[Service] | ||
User=root | ||
ExecStartPre=/usr/bin/{{docker_container_name}}.sh start %i | ||
ExecStart=/usr/bin/{{docker_container_name}}.sh wait %i | ||
ExecStop=/usr/bin/{{docker_container_name}}.sh stop %i | ||
|
||
[Install] | ||
RequiredBy=namespace@%i.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters