summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins/gobgp.yang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pyang_plugins/gobgp.yang')
-rw-r--r--tools/pyang_plugins/gobgp.yang9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index 5677ae32..fda3dc2c 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -305,6 +305,15 @@ module gobgp {
description
"Configure the neighbor as a route server client.";
}
+
+ leaf secondary-route {
+ type boolean;
+ default "false";
+ description
+ "if an export policy rejects a selected route, try the next route in
+ order until one that is accepted is found or all routes for the peer
+ are rejected.";
+ }
}
grouping gobgp-route-server-config-set {