The expected tableVersion is wrong, when checking r1 table.
The tableVersion value increments at each route updates. The
previous commit brought an additional route update with the
'vpn_leak_postchange_all()' call.
Keep the function call, and do not check the table version
in bgp_srv6l3vpn_to_bgp_vrf[2,3] tests.
Fixes: 205b62ffae2c ("bgpd: fix hardset l3vpn label available in mpls pool")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
14 files changed:
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 2,
"routerId": "1.1.1.1",
"defaultLocPrf": 100,
"localAS": 1,
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 2,
"routerId": "2.2.2.2",
"defaultLocPrf": 100,
"localAS": 2,
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 2,
"routerId": "1.1.1.1",
"defaultLocPrf": 100,
"localAS": 1,
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 4,
"routerId": "1.1.1.1",
"defaultLocPrf": 100,
"localAS": 1,
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 6,
"routerId": "1.1.1.1",
"defaultLocPrf": 100,
"localAS": 1,
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 2,
"routerId": "1.1.1.1",
"defaultLocPrf": 100,
"localAS": 1,
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 4,
"routerId": "1.1.1.1",
"defaultLocPrf": 100,
"localAS": 1,
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 6,
"routerId": "1.1.1.1",
"defaultLocPrf": 100,
"localAS": 1,
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 2,
"routerId": "2.2.2.2",
"defaultLocPrf": 100,
"localAS": 2,
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 4,
"routerId": "2.2.2.2",
"defaultLocPrf": 100,
"localAS": 2,
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 6,
"routerId": "2.2.2.2",
"defaultLocPrf": 100,
"localAS": 2,
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 2,
"routerId": "2.2.2.2",
"defaultLocPrf": 100,
"localAS": 2,
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 4,
"routerId": "2.2.2.2",
"defaultLocPrf": 100,
"localAS": 2,
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 6,
"routerId": "2.2.2.2",
"defaultLocPrf": 100,
"localAS": 2,