94 lines
4.9 KiB
Markdown
94 lines
4.9 KiB
Markdown
|
|
# 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*:
|
|||
|
|
|
|||
|
|
* TSG-OS-v23.07日志字段common_egress_link_id和common_ingress_link_id已更名,参见: https://docs.geedge.net/pages/viewpage.action?pageId=104769392
|
|||
|
|
** common_egress_link_id更名为common_out_link_id
|
|||
|
|
** common_ingress_link_id更名为common_in_link_id
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
---
|
|||
|
|
|
|||
|
|
**gitlab** commented on *2023-10-08T23:28:44.304+0800*:
|
|||
|
|
|
|||
|
|
[刘学利|https://git.mesalab.cn/liuxueli] mentioned this issue in [a commit|https://git.mesalab.cn/tango/tsg_master/-/commit/8b1aaf0bca141f2b0e1ede076024efd390ee4395] 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|https://git.mesalab.cn/tango/tsg_master/-/commit/afd47a860848c2609aa6d2dfc00796bd3a686e26] 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|https://git.mesalab.cn/tsg/tsg-os-buildimage/-/commit/bda5dcebffc9455a152d023882a58321fbe8695a] 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|https://git.mesalab.cn/tsg/tsg-os-buildimage/-/commit/5850781fb197199446a53f08fda9563d4093e465] 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
|
|||
|
|
|