Route-aggregate next-hop not updated for v6 prefix

Bug #1548082 reported by amit surana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Sachin Bansal
Trunk
Fix Committed
High
Sachin Bansal

Bug Description

next-hop of the aggregate route is not set to the SI interface v6 IP add even though route-aggregate object attached to v6 service-chain. This should also work if the SC is dual-stack (RA object will have only v6 prefix).

{
route-aggregate: {
fq_name: [
"default-domain",
"bgp-test",
"v6-1"
],
uuid: "c5bc66f0-7878-45da-a906-c138f3139365",
parent_uuid: "77ce2d11-2ad7-4268-a598-7ecda3b97c9c",
parent_href: "http://10.87.26.145:8082/project/77ce2d11-2ad7-4268-a598-7ecda3b97c9c",
parent_type: "project",
perms2: {
owner: null,
owner_access: 7,
global_access: 0,
share: [ ]
},
href: "http://10.87.26.145:8082/route-aggregate/c5bc66f0-7878-45da-a906-c138f3139365",
id_perms: {
enable: true,
uuid: {
uuid_mslong: 14248376504092740000,
uuid_lslong: 12179634692610560000
},
creator: null,
created: "2016-02-21T15:44:39.386455",
user_visible: true,
last_modified: "2016-02-21T15:57:12.672137",
permissions: {
owner: "cloud-admin",
owner_access: 7,
other_access: 7,
group: "cloud-admin-group",
group_access: 7
},
description: null
},
aggregate_route_entries: {
route: [
"2001:db8::0/64"
]
},
display_name: "v6-1",
service_instance_refs: [
{
to: [
"default-domain",
"bgp-test",
"sc-v6-only"
],
href: "http://10.87.26.145:8082/service-instance/3cb3f1f0-11ea-4bf5-bc29-aad17909ac09",
attr: {
interface_type: "right"
},
uuid: "3cb3f1f0-11ea-4bf5-bc29-aad17909ac09"
}
],
name: "v6-1"

amit surana (asurana-t)
description: updated
Nischal Sheth (nsheth)
tags: added: service-chain
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0

Review in progress for https://review.opencontrail.org/17570
Submitter: Sachin Bansal (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/17568
Submitter: Sachin Bansal (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/17568
Committed: http://github.org/Juniper/contrail-controller/commit/d539bdad1bf73db0b6d1ed7a7aa6a61d0555c4e2
Submitter: Zuul
Branch: master

commit d539bdad1bf73db0b6d1ed7a7aa6a61d0555c4e2
Author: Sachin Bansal <email address hidden>
Date: Mon Feb 22 11:40:49 2016 -0800

Set up resource class for route-aggregate

Resource class for route aggregate objects wasn't set correctly.
As a result, any checks added to the class weren't being performed.
Also, there was a problem in the way _check function was being called.

Change-Id: I9622899cb793842b1c22d6a0f17d36bb29c94284
Closes-Bug: 1547973
Closes-Bug: 1547974
Closes-Bug: 1548082

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/17570
Committed: http://github.org/Juniper/contrail-controller/commit/f4d63295da473c94ca3ae5320fd4c128fb6d40bd
Submitter: Zuul
Branch: R3.0

commit f4d63295da473c94ca3ae5320fd4c128fb6d40bd
Author: Sachin Bansal <email address hidden>
Date: Mon Feb 22 11:40:49 2016 -0800

Set up resource class for route-aggregate

Resource class for route aggregate objects wasn't set correctly.
As a result, any checks added to the class weren't being performed.
Also, there was a problem in the way _check function was being called.

Closes-Bug: 1547973
Closes-Bug: 1547974
Closes-Bug: 1548082

(cherry picked from commit 5c5779e4781c05ae34a5a235ad38c531ef175f06)
Change-Id: I9622899cb793842b1c22d6a0f17d36bb29c94284

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.