Files
geedge-jira/md/OMPUB-862.md
2025-09-14 22:26:17 +00:00

4.9 KiB
Raw Blame History

session record中common_egress_link_id和common_ingress_link_id字段为空

ID Creation Date Assignee Status
OMPUB-862 2023-03-23T09:35:52.000+0800 杨威 已解决

该字段目前为空导致第三方系统因无法获取link id信息缺少统计信息yangwei commented on 2023-07-06T14:14:02.780+0800:

现状

链路信息通常不包含在原始流量中已有的部署场景存在如下获取link_id的方法

无封装流量镜像模式此类流量既无封装也无需注入链路分流设备可以通过修改原始流量将链路信息写入mac地址

** 例如,{}新疆运营商前端{}由分流设备将链路信息写入mac地址功能端由wired_graft插件用于wannat信息采集提取对应信息写入会话日志

带封装流量接入模式此类流量的链路信息可以包含在封装头部根据marsio的模式分两种情况

{}marsio4{}sapp自行处理封装信息如vxlan目前{}开启wired_graft插件{}可以填充链路信息后续考虑由tsg_master统一输出

{}marsio5{}封装信息对sapp不可见{}需要marsio5更新接口{}以meta数据的形式提供链路信息输出方式同上

结论

  • 无封装原始流量mirror模式将链路信息以修改原始包形式携带在流量中的场景 ** 修改形式由前置设备定义属于定制开发属性为可选由定制插件提取如wired_graft ** 案例:新疆运营商省口
  • inline模式 ** marsio5后由marsio统一接管额外的封装信息需要增加获取链路信息的接口功能端视为通用信息的一部分如流量方向属性为必选由tsg_master在日志中统一输出

liuxueli commented on 2023-10-08T21:56:31.344+0800:


gitlab commented on 2023-10-08T23:28:44.304+0800:

[刘学利|https://git.mesalab.cn/liuxueli] mentioned this issue in [a commit|8b1aaf0bca] of [TSG Appliance / tsg_master|https://git.mesalab.cn/tango/tsg_master] on branch [bugfix-OMPUB-862|https://git.mesalab.cn/tango/tsg_master/-/tree/bugfix-OMPUB-862]:{quote}OMPUB-862: 支持输出common_out_link_id、common_in_link_id日志字段{quote}


gitlab commented on 2023-10-08T23:50:15.187+0800:

[刘学利|https://git.mesalab.cn/liuxueli] mentioned this issue in [a merge request|https://git.mesalab.cn/tango/tsg_master/-/merge_requests/410] of [TSG Appliance / tsg_master|https://git.mesalab.cn/tango/tsg_master] on branch [bugfix-OMPUB-862|https://git.mesalab.cn/tango/tsg_master/-/tree/bugfix-OMPUB-862]:{quote}OMPUB-862: 支持输出common_out_link_id、common_in_link_id日志字段{quote}


gitlab commented on 2023-10-10T09:56:11.023+0800:

[刘学利|https://git.mesalab.cn/liuxueli] mentioned this issue in [a commit|afd47a8608] of [TSG Appliance / tsg_master|https://git.mesalab.cn/tango/tsg_master] on branch [TSG-OS-v23.07|https://git.mesalab.cn/tango/tsg_master/-/tree/TSG-OS-v23.07]:{quote}OMPUB-862: 支持输出common_out_link_id、common_in_link_id日志字段{quote}


gitlab commented on 2023-10-11T18:23:05.814+0800:

[刘学利|https://git.mesalab.cn/liuxueli] mentioned this issue in [a commit|bda5dcebff] of [TSG / tsg-os-buildimage|https://git.mesalab.cn/tsg/tsg-os-buildimage] on branch [update-v23.07-tsg_master|https://git.mesalab.cn/tsg/tsg-os-buildimage/-/tree/update-v23.07-tsg_master]:{quote}更新tsg_master, 支持:{quote}


gitlab commented on 2023-10-11T18:23:32.037+0800:

[刘学利|https://git.mesalab.cn/liuxueli] mentioned this issue in [a merge request|https://git.mesalab.cn/tsg/tsg-os-buildimage/-/merge_requests/1817] of [TSG / tsg-os-buildimage|https://git.mesalab.cn/tsg/tsg-os-buildimage] on branch [update-v23.07-tsg_master|https://git.mesalab.cn/tsg/tsg-os-buildimage/-/tree/update-v23.07-tsg_master]:{quote}更新tsg_master, 支持:{quote}


gitlab commented on 2023-10-12T09:59:35.047+0800:

[付明卫|https://git.mesalab.cn/fumingwei] mentioned this issue in [a commit|5850781fb1] of [TSG / tsg-os-buildimage|https://git.mesalab.cn/tsg/tsg-os-buildimage] on branch [update-v23.07-tsg_master|https://git.mesalab.cn/tsg/tsg-os-buildimage/-/tree/update-v23.07-tsg_master]:{quote}更新tsg_master, 支持:{quote}


Attachments