openconfig / public

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

Clarification Multicast PIM yang #353

Closed mhampasagar closed 2 months ago

mhampasagar commented 4 years ago

Hi , I have few queries in PIM YANG model

Thanks.

chrisy commented 4 years ago

The multicast implementation was bare-bones, just enough to support an immediate need at the time. I do not know of any plans among contributors to extend for IPv6, AFT or protocol state information, but patches are welcome.

I agree that refactoring for common support would be desirable, if possible, but sadly have no visibility of IPv6 PIM to be able to gauge the viability.

mhampasagar commented 4 years ago

Thanks @chrisy for the reply, So your suggestion is to add IPv6 if needed, also we can group common attributes for v4 and v6. If we add V6 then instead of BGP like with address family, it will be separate container similar to pim?

Also forgot to ask what is "sources-joined container" ? if you remember , trying to understand was it used to list the PIM route entries.? but it does not have out going interfaces.

chrisy commented 4 years ago

@mhampasagar Whatever makes the most sense, really.

The AF approach seems logical when there's a lot of common structure and the way the protocols work is somewhat tied; with BGP for example the transport is somewhat independent of the data carried - an IPv4 session can carry IPv6 reachability. At heart, BGP is just BGP, the address family is simply layered on top.

I do not believe this is so for PIM. In other protocols where this is also the case, like OSPFv2 vs v3 we've been working to bring together the common options to use a common grouping, but keep them otherwise independent in the resulting structure for a similar reason - in reality, they're different protocols with much in common. Does that also hold true for PIM in IPv4 and IPv6?

mhampasagar commented 4 years ago

@chrisy , from BGP session point of view , agree it make sense to for BGP with AF. PIM does not have anything similar where it carried one AF with other session. For PIM from functionality wise both v4 and v6 does same, other than the IP address will be either v4 or v6. IPv6 has more options when it comes to PIM SM with RP and BSR.

It can be kept separate as pimv6 similar to OSPF and group common attributes. Thanks, that helps.

github-actions[bot] commented 3 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.