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

feat(backend): 名字服务的client新增clb修改后端绑定主机转发权重接口,clb修改监听器转发方式,clb修改监听器会话保持时间 #8558 #8559

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions dbm-ui/backend/components/db_name_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,21 @@ def __init__(self):
url="/api/nameservice/clb/deregister_target_and_del_lb",
description=_("解绑后端主机并删除clb"),
)
self.clb_listener_change_scheduler = self.generate_data_api(
method="POST",
url="/api/nameservice/clb/listener_change_scheduler",
description=_("修改监听器转发方式"),
)
self.clb_listener_change_session_expire_time = self.generate_data_api(
method="POST",
url="/api/nameservice/clb/listener_change_session_expire_time",
description=_("修改监听器会话保持时间"),
)
self.clb_change_target_weight = self.generate_data_api(
method="POST",
url="/api/nameservice/clb/change_target_weight",
description=_("修改后端绑定主机的转发权重"),
)
self.polaris_create_service_alias_and_bind_targets = self.generate_data_api(
method="POST",
url="/api/nameservice/polaris/create_service_alias_and_bind_targets",
Expand Down
Loading