incorrect checking of static NAT mapping in agent
Bug #1867022 reported by
Onong Tayeng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-vpp |
Fix Released
|
High
|
Onong Tayeng |
Bug Description
Before creating the static NAT mapping for a FIP in VPP, the agent checks if the fixed IP address associated with the FIP is present amongst the existing static mappings. However, this check does not take into account the fact that the same fixed IP address could be associated with another FIP but in a different VRF.
For example, for the two FIPs are created as follows, the static NAT mapping for FIP2 never gets created in VPP.
(192.168.10.5, FIP1, VRF1)
(192.168.10.5, FIP2 ,VRF2)
Another undesirable consequence is that test cases which try to clean up the second static mapping fail.
The fix is to check for the existence of (fixedip, extip, vrf) and not just the fixed IP address.
Changed in networking-vpp: | |
assignee: | nobody → Onong Tayeng (onong) |
importance: | Undecided → Critical |
importance: | Critical → High |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/712490
Review: https:/