POM conditional parts
Hi,
I'd have a question regarding POM and dependencies. I'm currently
working on NAT tuple reservations, and have a problem: I'd like to change the number of arguments of ip_nat_used_tuple(). However, it's also used outside of the NAT core: the unique_tuple() functions of the per-protocol NAT modules use it.
So, if I'd like to prepare a POM patch which changesip_nat_used_tuple(), it breaks other patches (for example GRE NAT). So, I'd need some "conditional patches" functionality, e.g. parts of the NAT reservation patch should be applied only if some other patch is applied... AFAIK, this is not possible with current POM. Any ideas?
Signature · 2 lines
Regards,
Krisztian KOVACSQuoted 5 lines · KOVACS Krisztian
So, if I'd like to prepare a POM patch which changes
ip_nat_used_tuple(), it breaks other patches (for example GRE NAT). So, I'd need some "conditional patches" functionality, e.g. parts of the NAT reservation patch should be applied only if some other patch is applied... AFAIK, this is not possible with current POM. Any ideas?
You then need to split the patch in two and use dependencies to get the relations correct.
Regards
Henrik