For an IP switch I need to have a function with as end goal making use of capacity management.
While having a look at different setups, I see that a Rx and Tx function are created. Why are both needed and can't there be just one single function?
Secondly, for each function I see that an IP In and IP Out interface are defined. Why can't this be done with just one single IP In/Out interface?
It might depend on the actual use case.
If the capacity for Tx and Rx on a specific interface is completely separately managed, i.e. using Tx capacity does not reduce Rx capacity, and the interface is visible on both products that are connected to each other, then only Tx direction might be of importance. The Rx is basically the Tx from the other side. So, in that specific case, it should be sufficient to only model Tx resources to manage the full capacity.