-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
add locator func to frrcfgd #20330
add locator func to frrcfgd #20330
Conversation
Signed-off-by: ysj17861081006 <1686637505@qq.com>
Has cherry-picked in Phoenixwing |
@@ -401,6 +402,47 @@ def get_command_cmn(daemon, cmd_str, op, st_idx, vals, bool_values): | |||
cmd_args.append(CommandArgument(daemon, cmd_enable, vals[idx])) | |||
return [cmd_str.format(*cmd_args, no = CommandArgument(daemon, cmd_enable))] | |||
|
|||
def hdl_srv6_locator(daemon, cmd_str, op, st_idx, vals, bool_values): |
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.
no unit tests at all?
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.
Result could be found at https://aisportal.oss-cn-hangzhou.aliyuncs.com/phoenixwing/log/basesanity/basesanity_242_log.tar
Test results sneak view.
srv6/test_srv6_basic_sanity.py::test_interface_on_each_node PASSED [ 14%]
srv6/test_srv6_basic_sanity.py::test_check_bgp_neighbors PASSED [ 28%]
srv6/test_srv6_basic_sanity.py::test_check_routes PASSED [ 42%]
srv6/test_srv6_basic_sanity.py::test_traffic_check PASSED [ 57%]
srv6/test_srv6_basic_sanity.py::test_traffic_check_local_link_fail_case PASSED [ 71%]
srv6/test_srv6_basic_sanity.py::test_traffic_check_remote_igp_fail_case PASSED [ 85%]
srv6/test_srv6_basic_sanity.py::test_traffic_check_remote_bgp_fail_case PASSED [100%]
@lguohan @kperumalbfn Need help to review this PR. |
Signed-off-by: ysj17861081006 <1686637505@qq.com>
Why I did it
Work item tracking
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)