[SFC-136] App Coexistence offsets are not calculated correctly Created: 25/Jan/16 Updated: 19/Oct/17 Resolved: 11/Feb/16 |
|
| Status: | Resolved |
| Project: | sfc |
| Component/s: | General |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Brady Johnson | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 5078 |
| Description |
|
When setting the AppCoexistence offsets as follows: curl -i -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data '{ "sfc-of-renderer-config" : { "sfc-of-table-offset" : 20, "sfc-of-app-egress-table-offset" : 80 }}' -X PUT --user admin:admin http://localhost:8181/restconf/config/sfc-of-renderer:sfc-of-renderer-config Which would set SFC to start writing flows in table 20, SFC actually starts writing flows in table 22. This is because it wasnt compensating for the Classifier Table (which is not used in app coexistence) and the TrasportIngress Table (which is now table 0 with app coexistence). |
| Comments |
| Comment by Brady Johnson [ 25/Jan/16 ] |
|
This has been fixed with the following patches: Stable/Beryllium: Master: Here are the flows with the following CURL command to set App Coexistence: curl -i -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data '{ "sfc-of-renderer-config" : { "sfc-of-table-offset" : 7, "sfc-of-app-egress-table-offset" : 0}}' -X PUT --user admin:admin http://localhost:8181/restconf/config/sfc-of-renderer:sfc-of-renderer-config ebrjohn@colorado:~/appCoexist/nsh_1SF_1SFF$ dump_flows sff1 | awk ' {print $3, $6, $7}' |
| Comment by Brady Johnson [ 25/Jan/16 ] |
|
I also had to make a change to allow for tableEgress being set to 0, as previously 0 was the default value when appCoexistence was disabled. With this curl command: curl -i -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data '{ "sfc-of-renderer-config" : { "sfc-of-table-offset" : 7, "sfc-of-app-egress-table-offset" : 0}}' -X PUT --user admin:admin http://localhost:8181/restconf/config/sfc-of-renderer:sfc-of-renderer-config Here are the resulting flows: ebrjohn@colorado:~$ dump_flows sff1 | awk ' {print $3, $6, $7}' |