Open mjethanandani opened 1 year ago
Consider a case where there are configured peers and dynamic peers. You may have peers that show up as state that aren't configured.
It might be useful to have a leaf that declares the "source" of the peer. Is it statically configured? Dynamically? Is it in one of those cases and perhaps it's derived from it if it's an identity. E.g. static has children "local-mode" and "local-cli".
BGP supports the concept of static (those that are configured) and dynamic (those that are learnt by the system) neighbors. Therefore a 'show neighbors all' needs to show all neighbors, both static and dynamic.