Skip to content
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

isisd: The neighbor entry still displays the deleted hostname of the neighbor. #16241

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

zhou-run
Copy link
Contributor

  1. The lsp_update_data() function will check for the presence of the ISIS_TLV_DYNAMIC_HOSTNAME in the LSP, and then call isis_dynhn_insert() to add a hostname entry corresponding to the LSP ID. However, when the ISIS_TLV_DYNAMIC_HOSTNAME is not present in the LSP, the hostname entry corresponding to the LSP ID should also be deleted.
  2. The command “show isis neighbor” invokes isis_adj_name() to display the System ID or hostname, but it does not check the area->dynhostname flag.

Signed-off-by: zhou-run [email protected]

@ton31337
Copy link
Member

Seems that tests should be updated/fixed too.

@ton31337 ton31337 added this to the 10.1 milestone Jun 20, 2024
@zhou-run
Copy link
Contributor Author

Seems that tests should be updated/fixed too.

Yes, I am currently investigating why the hostname entry is being lost in the case of the area->dynhostname being enabled.

@baozhen-H3C baozhen-H3C force-pushed the 202406191740 branch 3 times, most recently from 2c03758 to 4fd4374 Compare June 21, 2024 06:16
@github-actions github-actions bot added size/XXL and removed size/S labels Jun 21, 2024
@github-actions github-actions bot added size/XS and removed size/XXL labels Jun 21, 2024
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@baozhen-H3C baozhen-H3C force-pushed the 202406191740 branch 2 times, most recently from e01b761 to 737df2c Compare June 21, 2024 08:45
@ton31337
Copy link
Member

@frrbot rereview

@frrbot frrbot bot added the isis label Jun 27, 2024
@zhou-run zhou-run force-pushed the 202406191740 branch 3 times, most recently from 7654c31 to f50e173 Compare July 1, 2024 03:12
Copy link
Member

@riw777 riw777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@zhou-run zhou-run force-pushed the 202406191740 branch 2 times, most recently from f11f703 to 3fb3206 Compare July 8, 2024 07:51
…neighbor

1. The lsp_update_data() function will check for the presence of the ISIS_TLV_DYNAMIC_HOSTNAME in the LSP, and then call isis_dynhn_insert() to add a hostname entry corresponding to the LSP ID. However, when the ISIS_TLV_DYNAMIC_HOSTNAME is not present in the LSP, the hostname entry corresponding to the LSP ID should also be deleted.
2. The command “show isis neighbor” invokes isis_adj_name() to display the System ID or hostname, but it does not check the area->dynhostname flag.
3. When the LSP expires and is removed, the corresponding hostname entry should also be deleted.
4. The TLV for LSP fragmentation will not contain the hostname and should be skipped.

Signed-off-by: zhou-run <[email protected]>
@riw777
Copy link
Member

riw777 commented Jul 9, 2024

failing in ospf; rerunning just the failed tests to see if we can clear them

@riw777 riw777 merged commit 685712d into FRRouting:master Jul 9, 2024
11 checks passed
@zhou-run zhou-run deleted the 202406191740 branch July 10, 2024 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants