diff options
| author | Chirag Shah <chirag@nvidia.com> | 2020-09-16 10:28:11 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@nvidia.com> | 2020-10-03 11:25:38 -0700 |
| commit | 87ce25646be36bb9a27e75d177615e3d19a07df0 (patch) | |
| tree | ccedf7d4f9580ec493930af58d932752ea31c963 /lib/northbound_cli.c | |
| parent | 906ebeec9800d3aef0eddb70ce74b48e370cb5ce (diff) | |
bgpd: correct bgp global context
Move bgp (router bgp) context at "bgp" node
level from (instead of) "global" level.
This change allows access of bgp context at neighbor
and peer-group node levels.
+--rw bgp <--- (store `struct bgp` at bgp node xpath)
+--rw global!
| ...
| +--rw afi-safis
| ...
+--rw neighbors
| +--rw neighbor* [remote-address]
| ...
| | +--rw afi-safis
| ...
| +--rw unnumbered-neighbor* [interface]
| ...
+--rw peer-groups
+--rw peer-group* [peer-group-name]
...
Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'lib/northbound_cli.c')
0 files changed, 0 insertions, 0 deletions
