diff options
Diffstat (limited to 'tools/pyang_plugins/gobgp.yang')
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index 325942f2..f9aba5f7 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -808,6 +808,33 @@ module gobgp { uses zebra-set; } + grouping collector-config { + leaf url { + type string; + } + leaf db-name { + type string; + } + leaf table-dump-interval { + type uint64; + } + } + + grouping collector-set { + container collector { + container config { + uses collector-config; + } + container state { + uses collector-config; + } + } + } + + augment "/bgp:bgp" { + uses collector-set; + } + augment "/bgp:bgp/bgp:global" { container mpls-label-range { description "mpls labal range"; |