mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-01 18:47:48 +00:00
The equipment library has, so far, used completely different namespaces for `Fiber` and `RamanFiber` definitions. It was possible to define a "SSMF" fiber whose properties, such as CD or PMD, would differ when used as a Fiber vs. the RamanFiber object in the networking topology. That is likely a bug of the equipment library, so this patch makes sure that a configuration like that cannot be used. I came across this when working on the YANG support where both fiber types are defined in a common namespace, and the difference between them is determined by lack or presence of a sub-container with the Raman properties. Change-Id: I8e86bed80eb1794b8abd4e1ecd96398d395f81f2