-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Make backend device checking more robust #5730
Make backend device checking more robust #5730
Conversation
Signed-off-by: Lawrence Lee <[email protected]>
Signed-off-by: Lawrence Lee <[email protected]>
retest vsimage please |
1 similar comment
retest vsimage please |
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.
lgtm.. Wait for @lguohan 's approval
retest vsimage please |
2 similar comments
retest vsimage please |
retest vsimage please |
@@ -30,7 +30,7 @@ dependent_startup=true | |||
{# Router advertiser should only run on ToR (T0) devices which have #} | |||
{# at least one VLAN interface which has an IPv6 address asigned #} | |||
{%- set vlan_v6 = namespace(count=0) -%} | |||
{%- if DEVICE_METADATA.localhost.type == "ToRRouter" -%} | |||
{%- if "ToRRouter" in DEVICE_METADATA.localhost.type -%} |
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 seems to me some behaviorial change if the device is MgmtTorRouter. I am not saying this is not a good change, but maybe you want to confirm with @sumukhatv on M0 device.
{%- set filename_postfix = 't0' %} | ||
{%- elif switch_role.lower() == 'leafrouter' %} | ||
{%- elif 'leafrouter' in switch_role.lower() %} |
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.
can you check if this will have impact on MgmtTorRouter. it should not have any buffer configuration, I mean should not have any impact. But I am not 100% sure.
Signed-off-by: Lawrence Lee <[email protected]>
Treat devices that are ToRRouters (ToRRouters and BackEndToRRouters) the same when rendering templates Except for BackEndToRRouters belonging to a storage cluster, since these devices have extra sub-interfaces created Treat devices that are LeafRouters (LeafRouters and BackEndLeafRouters) the same when rendering templates Signed-off-by: Lawrence Lee <[email protected]>
Treat devices that are ToRRouters (ToRRouters and BackEndToRRouters) the same when rendering templates Except for BackEndToRRouters belonging to a storage cluster, since these devices have extra sub-interfaces created Treat devices that are LeafRouters (LeafRouters and BackEndLeafRouters) the same when rendering templates Signed-off-by: Lawrence Lee <[email protected]>
- How I did it
- How to verify it
- Which release branch to backport (provide reason below if selected)
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)