openconfig / entity-naming

Libraries for mapping canonical names of OpenConfig entities to platform specific implementations
Apache License 2.0
2 stars 4 forks source link

Break down of Device Chassis and LineCard #35

Open nleiva opened 2 months ago

nleiva commented 2 months ago

Hi,

In the usage example you use a device chassis (PTX10008) as the HardwareModel. If you used a different chassis (MX960 for example), the port name might depend on the line card per chassis slot. I'm wondering if you considered expanding HardwareModel to include both, the chassis and line card to accurately identify the port naming convention.

Thanks!

lgomez9 commented 1 month ago

Hi again Nicolas,

I had not realized this dependency existed, but that is a good question. I don't think we've had a use case where that has come up yet, but I'm all for preparation. Do you know how many models have this line card per chassis slot <-> port name dependency?

nleiva commented 1 month ago

I'm not a Hardware expert, but I believe Juniper probably has more than a hundred different Modular Interface Cards (MICs) or Physical Interface Cards (PICs) for the MX Series that name the ports from ge, te, et to so.