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

[节点管理-评审会] 主机「复制」按钮支持导出「管控区域 ID:IP」 #1963

Closed
ZhuoZhuoCrayon opened this issue Nov 17, 2023 · 6 comments
Assignees
Labels
approved 需求评审通过 for test 可以在测试环境进行验收 kind/feature 功能

Comments

@ZhuoZhuoCrayon
Copy link
Member

背景

为什么需要

功能

你想要什么功能

功能实现

建议的方案

实现方案

功能自测

代码变更覆盖功能点需要自测并截图

功能点 1

描述代码变更涉及功能点及自测截图

功能点 2

描述代码变更涉及功能点及自测截图

...

@ZhuoZhuoCrayon ZhuoZhuoCrayon added kind/feature 功能 backlog 需求初始状态,等待产品进行评估 labels Nov 17, 2023
@Shutulee Shutulee added approved 需求评审通过 and removed backlog 需求初始状态,等待产品进行评估 labels Dec 8, 2023
@Shutulee
Copy link
Collaborator

Shutulee commented Dec 8, 2023

image

@Shutulee
Copy link
Collaborator

Shutulee commented Dec 8, 2023

image

@ZhuoZhuoCrayon
Copy link
Member Author

ZhuoZhuoCrayon commented Dec 28, 2023

IPv4 的导出应该有两种形式

  • 0:127.0.0.1
  • 0:[127.0.0.1]

虽然现在只要求导出第一种,后台可以两种都支持下,IPv6 同理

@Huayeaaa
Copy link
Collaborator

Huayeaaa commented Jan 2, 2024

前端方案

输出场景

勾选IP:前端自行拼接
所有IP:增加两个子项:管控区域 + IPv4; 管控区域 + IPv6
企业微信截图_17037568877596

前端传参

image

消费场景

企业微信截图_17037568958480
前端需适配携带方括号的场景;
例如 管控区域:ipv4的场景 0:[127.0.0.1]; 管控区域:ipv6的场景 0:[0000:0000:0000:0000:0000:ffff:1e00:0001]

前端消费场景传参示意

管控区域:ipv4以及管控区域:[ipv4]

image

管控区域:[ipv6]

image

@Huayeaaa
Copy link
Collaborator

Huayeaaa commented Jan 2, 2024

后端

序列化器增加一个字段和三个返回字段
image

视图: 通过前端传参进行参数解析和数据返回

消费场景

对于"[" 和"]"的替换做储存;再构造SQL查询条件。

@ZhuoZhuoCrayon
Copy link
Member Author

后端

序列化器增加一个字段以及三个可选项 image 视图:通过前端传参进行参数解析和数据提取

消费场景

对于"[" 和"]"的替换做储存;再构造SQL查询条件。

  1. bk_cloud_id_ip 的作用是?
  2. cloud_ipv6 应该是「cloud_ipv6_with_brackets」?

Huayeaaa added a commit to Huayeaaa/bk-nodeman that referenced this issue Feb 28, 2024
Huayeaaa added a commit to Huayeaaa/bk-nodeman that referenced this issue Mar 6, 2024
Huayeaaa added a commit to Huayeaaa/bk-nodeman that referenced this issue Mar 11, 2024
hyunfa added a commit to hyunfa/bk-nodeman that referenced this issue Mar 13, 2024
Huayeaaa added a commit to Huayeaaa/bk-nodeman that referenced this issue Mar 13, 2024
hyunfa added a commit to hyunfa/bk-nodeman that referenced this issue Mar 14, 2024
hyunfa added a commit to hyunfa/bk-nodeman that referenced this issue Mar 14, 2024
hyunfa added a commit to hyunfa/bk-nodeman that referenced this issue Mar 14, 2024
Huayeaaa added a commit to Huayeaaa/bk-nodeman that referenced this issue Mar 14, 2024
Huayeaaa added a commit to Huayeaaa/bk-nodeman that referenced this issue Mar 14, 2024
hyunfa added a commit to hyunfa/bk-nodeman that referenced this issue Mar 15, 2024
@wyyalt wyyalt added todo 进入开发排期的状态,纳入了最近的迭代 for test 可以在测试环境进行验收 and removed todo 进入开发排期的状态,纳入了最近的迭代 labels Mar 22, 2024
@wyyalt wyyalt closed this as completed in b5086fb Jun 13, 2024
chalice-1831 pushed a commit to chalice-1831/bk-nodeman that referenced this issue Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved 需求评审通过 for test 可以在测试环境进行验收 kind/feature 功能
Projects
Status: In progress
Development

No branches or pull requests

5 participants