[BGPCEP-151] pcc-mock: enhancemnets Created: 16/Oct/14 Updated: 16/Nov/21 Resolved: 16/Nov/21 |
|
| Status: | Resolved |
| Project: | bgpcep |
| Component/s: | PCEP |
| Affects Version/s: | Bugzilla Migration |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Milos Fabian | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Description |
|
Minor changes, fixes and enhacements related to pcc-mock, by users requirements. |
| Comments |
| Comment by Milos Fabian [ 16/Oct/14 ] |
|
TODO - reported LSPs should contian at leat one hop path. |
| Comment by Milos Fabian [ 28/Nov/14 ] |
|
https://git.opendaylight.org/gerrit/#/c/12782/ |
| Comment by RichardHill [ 08/Dec/14 ] |
|
Could you also add ability to configure -d, --deadtimer <N> (optional, default 0) - DeadTimer value in seconds |
| Comment by Milos Fabian [ 08/Dec/14 ] |
|
(In reply to Hill from comment #3) |
| Comment by Milos Fabian [ 11/Feb/15 ] |
|
TODO - enable a tunnel initiation and removal |
| Comment by RichardHill [ 16/Feb/15 ] |
|
Will tunnel update be added? |
| Comment by Milos Fabian [ 16/Feb/15 ] |
|
(In reply to Hill from comment #6) Tunnel updating is already possible. |
| Comment by Vratko Polak [ 16/Feb/15 ] |
|
More enhancements, to resemble behavior of routers better:
|
| Comment by Milos Fabian [ 19/Feb/15 ] |
|
*pcc-mock support tunnel initiate and remove: *pcc-mock configurable port numbers: |
| Comment by Vratko Polak [ 01/Apr/15 ] |
|
One more enhancement that may be useful for various stress tests, but most urgently for TCPMD5 testing:
|
| Comment by Milos Fabian [ 07/Apr/15 ] |
|
(In reply to Vratko Polák from comment #10) *reconnect strategy |
| Comment by Vratko Polak [ 22/Apr/15 ] |
|
> but most urgently for TCPMD5 testing Actual TCPMD5 testing revealed that the behavior is different. I am not sure yet what the correct course of action is, but this new pcc-mock feature would be useful:
|
| Comment by Vratko Polak [ 03/Jun/15 ] |
|
Failures in this suite track deficiencies of current pcc-mock behavior: https://jenkins.opendaylight.org/releng/view/CSIT-Jobs/job/bgpcep-csit-1node-cds-userfeatures-only-stable-lithium/lastSuccessfulBuild/robot/bgpcep-userfeatures.txt/Pcepuser/ Perhaps it was a mistake to specify user-facing feature tests in https://wiki.opendaylight.org/view/BGP_LS_PCEP:Lithium_Feature_Tests#How_to_test So perhaps it is worth fixing pcc-mock to make sure nobody thinks failures are due to PCEP functionality in ODL. |
| Comment by Vratko Polak [ 16/Jun/15 ] |
|
(In reply to Vratko Polák from comment #12) I retract this paragraph. From pcc-mock side, default flag issue remains (which is entirely my fault, as I have not mentioned it explicitly before). The issue manifests as this diff between expected
Real devices usually report the |
| Comment by Milos Fabian [ 03/Jul/15 ] |
|
(In reply to Vratko Polák from comment #8) |
| Comment by Vratko Polak [ 19/Aug/15 ] |
|
This discrepancy still prevents CSIT jobs to get good passrate:
> the simplest action is to make pcc-mock send only one report, the |
| Comment by Vratko Polak [ 19/Aug/15 ] |
|
I just realized another discrepancy was never mentioned here (my fault):
pcc-mock report after add-lsp should really mark the newly created tunnel as instantiated. |
| Comment by Milos Fabian [ 24/Aug/15 ] |
|
"sync" and "create" flags fixed: https://git.opendaylight.org/gerrit/#/c/25525/ |
| Comment by Milos Fabian [ 08/Oct/15 ] |
|
update pcc-mock to support https://tools.ietf.org/html/draft-ietf-pce-stateful-sync-optimizations-03 |
| Comment by Claudio David Gasparini [ 04/Jan/16 ] |
| Comment by Vratko Polak [ 23/Feb/16 ] |
|
Since Boron, JRE version used in CSIT jobs is tied with stream (Boron gets Java 8, Beryllium and earlier get Java 7). As a consequence, test suites were changed, so that now Lithium jobs use Lithium version of pcc-mock. Lithium csit job [0] shows that several improvements were not back-ported to Lithium, even though they are used to test lithium functionality. Most notably sync/create fix [1], and the big change which includes delegation-related behavior [2]. The improvements should be backported to Lithium (possibly with other changes) to fix CSIT results. [0] https://jenkins.opendaylight.org/releng/view/bgpcep/job/bgpcep-csit-1node-userfeatures-only-stable-lithium/lastSuccessfulBuild/robot/bgpcep-userfeatures.txt/Pcepuser/ |
| Comment by Milos Fabian [ 17/Jun/16 ] |
|
No enhancements required for Boron |
| Comment by Robert Varga [ 16/Nov/21 ] |
|
All requested enhancements have been delivered, any further items need to be tracked separately. |