-
Notifications
You must be signed in to change notification settings - Fork 17
IS-IS Graceful Support #423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general , looks as per last discussion.
Some more clarifications esp. in descriptions might be needed.
result/isisiihs.yaml
Outdated
x-field-uid: 3 | ||
last_lsdb_syncup_time: | ||
description: >- | ||
The time is taken to sync up the LSDB. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to specify that this means and unit of time. e.g might be time taken from adjacency being declared to be in Up state till all LSPs or CSNPs have been acknowledged ? Not sure , what is the exact thing an implementation will be measuring here is needed for clarity in the description. Otherwise not clear on what needs to be done for publishing this information.
control/isis.yaml
Outdated
unplanned: | ||
$ref: "#/components/schemas/Isis.Action.Protocol.Isis.UnplannedRestart" | ||
x-field-uid: 3 | ||
supress_adjacency: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suppress
control/isis.yaml
Outdated
$ref: "#/components/schemas/Isis.Action.Protocol.Isis.UnplannedRestart" | ||
x-field-uid: 3 | ||
supress_adjacency: | ||
$ref: "#/components/schemas/Isis.Action.Protocol.Isis.SupressAdjacency" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suppress
control/isis.yaml
Outdated
x-field-uid: 1 | ||
restart_after: | ||
description: >- | ||
Time (in seconds) after which the actually restart will be initiated in IIH with Restart Tlv having RR bit set. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should result in IIH to be Txed indicating restart is Completed , not started i.e. RR bit is cleared and hold_timer is reset to normal.
control/isis.yaml
Outdated
Initiates IS-IS Unplanned Graceful Restart process for the selected IS-IS routers. | ||
If no name is specified then Graceful Restart will be sent to all configured IS-IS routers. | ||
When an emulated IS-IS router is in the unplanned "Restarting" mode, | ||
it sends to the neighbor router (DUT) an IIH containing a Restart TLV with the RR (Restart Request) bit set. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sit and hold_time updated to as specified by user to indicate the maximum time within which this router or routers will complete the graceful restart.
Container of the configuration for the initiation of IS-IS Graceful Restart. | ||
Timers T1 and T2 are used both by a restarting router and a starting router. Timer T3 is used only by a restarting router. | ||
- Timer T1 is maintained per interface and indicates the time after which an unacknowledged (re)start attempt will be repeated. Its value is 3 seconds. | ||
- Timer T2 is maintained for each LSP database (LSPDB) for Level 1 and Level 2. Default value is 60 seconds. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LSPDB -> LSDB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this expired, what should the impl. do ?
description: >- | ||
This object contains the status of the last attempted Graceful Restart status of this router. | ||
type: object | ||
properties: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
choice:
pass
pass.l1sync ( 0 or value = CSNP + LSP done )
.l2sync
. adj_bringup_time
fail
. reason ( sync ... no adj)
not_applicable ( GR trigger not given or GR is still in progress )
l1_lsdb_syncup_time: | ||
description: >- | ||
The actual value of T2 timer (in second) is taken to synchronize the L1 LSDB by this Restarting router. | ||
By this time, router deletes the T1 timers on all the interfaces and the CSNP list is cleared and all LSPs are collected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
T2 and T1 references not needed.
The time (in second) is taken to bring up adjacency by the Restarting Neighbor. | ||
The time is counted by a Helper router when the Restart TLV with RR bit set in a IIH PDU is received | ||
and till it receives the Restart TLV with RR bit unset in a IIH PDU from the Neighbor Router. | ||
type: integer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The time is measured from when the Restart TLV with RR bit set in a IIH PDU is received up to the time when it receives the Restart TLV with RR bit and SA bit unset in a IIH PDU from the Neighbor Router.
properties: | ||
l1_lsdb_syncup_time: | ||
description: >- | ||
The minimum time in second is taken to sync up the L1 LSDB by the Restarting Neighbor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not as accurate as for local so better to remove these.
x-field-uid: 13 | ||
isis_iihs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isis_adjacencies
IS-IS Graceful Restart Support
Requirement: https://github.com/openconfig/featureprofiles/blob/8e63f5ff745d0a05e0b971c5ef4934da44c1ae82/feature/isis/otg_tests/graceful_restart_helper/README.md
Redocly reference:
https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/open-traffic-generator/models/isis-gr/artifacts/openapi.yaml&nocors#tag/Configuration/operation/set_config
Phase-I: Unplanned Restart.
Example Test configuration and Graceful Restart Trigger on IS-IS router on Port-1 and whereas IS-IS Router is configured as Restarter Helper: