Add a unit test to use non-default bgp origin attribute
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
Fix Committed
|
Medium
|
Ananth Suryanarayana | |||
R4.0 |
Fix Committed
|
Medium
|
Ananth Suryanarayana | |||
R4.1 |
Fix Committed
|
Medium
|
Ananth Suryanarayana | |||
Trunk |
Fix Committed
|
Medium
|
Ananth Suryanarayana |
Bug Description
By default, we always use INCOMPLETE. Add a test to send a different attribute and also verify that it is received (encoded and decoded) correctly.
diff --git a/src/bgp/
index af05bfc..f9f83c4 100644
--- a/src/bgp/
+++ b/src/bgp/
@@ -270,7 +270,7 @@ protected:
BgpTable *table = GetTable(server, instance);
- BgpAttrOrigin origin_
+ BgpAttrOrigin origin_
AsPathSpec path_spec;
@@ -333,6 +333,8 @@ protected:
if (path->
+ if (path->
+ continue;
return true;
}
return false;
Changed in juniperopenstack: | |
assignee: | nobody → Ananth Suryanarayana (anantha-l) |
Changed in juniperopenstack: | |
status: | New → In Progress |
milestone: | none → r5.0.0 |
description: | updated |
tags: | added: contrail-control |
Review in progress for https:/ /review. opencontrail. org/36534
Submitter: Ananth Suryanarayana (<email address hidden>)