breakout tmpl from configgen; stage variations/platform feat
This commit is contained in:
29
demo/tmpl/ex-edge-r/policy-options.tera
Normal file
29
demo/tmpl/ex-edge-r/policy-options.tera
Normal file
@@ -0,0 +1,29 @@
|
||||
policy-options {
|
||||
policy-statement EXPORT-POLICY {
|
||||
term ADVERTISE {
|
||||
from protocol bgp;
|
||||
then {
|
||||
community add LOCAL-REGION;
|
||||
accept;
|
||||
}
|
||||
}
|
||||
}
|
||||
policy-statement IMPORT-POLICY {
|
||||
term ACCEPT-ALL {
|
||||
then accept;
|
||||
}
|
||||
}
|
||||
policy-statement SHIFTED {
|
||||
term DEPRIORITIZE {
|
||||
from {
|
||||
protocol bgp;
|
||||
}
|
||||
then {
|
||||
community add SHIFTED-OUT;
|
||||
next policy;
|
||||
}
|
||||
}
|
||||
}
|
||||
community LOCAL-REGION members 64500:200;
|
||||
community SHIFTED-OUT members [ 64500:200 64500:200 64500:200 ];
|
||||
}
|
||||
Reference in New Issue
Block a user