openconfig / public

Repository for publishing OpenConfig models, documentation, and other material for the community.
Apache License 2.0
894 stars 652 forks source link

Query on "/network-instances/network-instance/afts/next-hops/next-hop/state/origin-protocol" #486

Closed manirk-jnpr closed 2 months ago

manirk-jnpr commented 3 years ago

Hi @aashaikh and @robshakir,

In Juniper, next-hops in the system can be shared across various protocols. So, it is not possible to stream this information.

For eg, when a protocol-1 adds a nexthop, protocol in nexthop will be set to protocol-1. At a later point, protocol-2 routes can also be resolved over the same nexthop. This way the nexthop can be shared across multiple protocols. What is the expected value here given the ambiguity?

Thanks, Mani Juniper Networks

manirk-jnpr commented 3 years ago

Hi @aashaikh and @robshakir,

Could you respond to this query?

Thanks, Mani

robshakir commented 2 years ago

Hi Mani,

This leaf determines the provenance of a single next-hop entry -- i.e., if a next-hop is installed through BGP or static, then that is its origin protocol. Whilst next-hops can be shared between protocols - I'm not quite clear how they could have >1 origin protocol for a particular entry. Can you explain how next-hop1 in your example (regardless of how it was created) can be installed by >1 protocol simultaneously? I'm probably missing something here.

Thanks, r.

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 180 days with no activity. If you wish to keep this issue active, please remove the stale label or add a comment, otherwise will be closed in 14 days.