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: When operating multiple areas, the system ID behaves abnormally. #16090

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

zhou-run
Copy link
Contributor

When there are multiple areas on the same router, the following two scenarios exist:

  1. When clearing the net in one of the areas, the system ID is unconditionally cleared, even if the net does not include the current system ID.
  2. When deleting one of the areas, even if the net under the area includes the current system ID, the system ID still remains.

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

@frrbot frrbot bot added the isis label May 27, 2024
@frrbot frrbot bot added the bugfix label May 27, 2024
@baozhen-H3C baozhen-H3C force-pushed the 202405271057 branch 2 times, most recently from 3f1e9f5 to 5e0c469 Compare May 27, 2024 06:17
@ton31337
Copy link
Member

How do you test the code before pushing if it's even failing to compile?

When clearing the net in one of the areas, the system ID is unconditionally cleared, even if the net does not include the current system ID.

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

isisd: When operating multiple areas, the system ID behaves abnormally.

When deleting one of the areas, even if the net under the area includes the current system ID, the system ID still remains.

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

isisd: fix frrbot styling issues found

fix frrbot styling issues found

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

isisd: fix frrbot styling issues found

fix frrbot styling issues found

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

isisd: Resolve compilation issues.

The higher version updates 'struct area_addr' to 'struct iso_address'.

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

isisd: fix frrbot styling issues found

fix frrbot styling issues found

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

How do you test the code before pushing if it's even failing to compile?

Sorry, I have now corrected the compilation error.

@ton31337
Copy link
Member

Possible to verify and test this behavior with topotest?

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, waiting on topo test ...

@zhou-run
Copy link
Contributor Author

zhou-run commented Jun 6, 2024

Possible to verify and test this behavior with topotest?

Is topotest necessary? Currently, I have no idea, and it seems that topotest is not available for multi-area. Is multi-area not supported? @ton31337 @riw777

@riw777
Copy link
Member

riw777 commented Jun 11, 2024

Possible to verify and test this behavior with topotest?

Is topotest necessary? Currently, I have no idea, and it seems that topotest is not available for multi-area. Is multi-area not supported? @ton31337 @riw777

Hmmm... I don't see a multi-area topo test at all ... I'm okay with letting this go without a topo test since it's a bug fix rather than new functionality, but I'll wait on @ton31337 to answer before pushing

@riw777 riw777 merged commit 893ba83 into FRRouting:master Jul 9, 2024
9 checks passed
@zhou-run zhou-run deleted the 202405271057 branch July 10, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants