Skip to content

Commit

Permalink
feat(backend): 名字服务的client新增clb修改后端绑定主机转发权重接口,clb修改监听器转发方式,clb修改监听器会话…
Browse files Browse the repository at this point in the history
…保持时间 #8558
  • Loading branch information
yyhenryyy authored and iSecloud committed Dec 12, 2024
1 parent 33db8f1 commit 4a3e870
Showing 1 changed file with 15 additions and 0 deletions.
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

0 comments on commit 4a3e870

Please sign in to comment.