In order to avoid having to modify the if-extensions YANG model every time a new technology wants to use loopback or encapsulation remove the when guard on the leafs, and let the augmenter decide if the interface being used has the ability to loopback or can be L2 encapsulated.
In order to avoid having to modify the if-extensions YANG model every time a new technology wants to use loopback or encapsulation remove the when guard on the leafs, and let the augmenter decide if the interface being used has the ability to loopback or can be L2 encapsulated.