537 Commits
Author SHA1 Message Date
simonzhangsz 5289818fd4 d 2023-10-13 16:13:13 +08:00
simonzhangsz 3156c08c7b d 2023-10-13 14:06:15 +08:00
simonzhangsz bbc91e025a Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-10-13 11:38:37 +08:00
simonzhangsz 159fd4ce33 time 2023-10-13 11:38:35 +08:00
TsMask 62e140127e fix: UDM用户导出数据查询失败 2023-10-13 10:33:12 +08:00
simonzhangsz 4100e07a28 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-10-12 18:08:44 +08:00
simonzhangsz 27f7d97168 d 2023-10-12 18:08:43 +08:00
TsMask 8b3999d076 style: 响应信息改英文 2023-10-12 11:55:00 +08:00
simonzhangsz 936aa5906f D 2023-10-11 17:21:55 +08:00
simonzhangsz 3f1a4d8604 d 2023-10-11 16:15:31 +08:00
simonzhangsz 716b39ef70 d 2023-10-11 14:28:02 +08:00
simonzhangsz b681bcdc09 d 2023-10-11 14:17:52 +08:00
simonzhangsz 786d749e7c d 2023-10-11 14:01:20 +08:00
simonzhangsz 70438024d8 d 2023-10-11 14:00:18 +08:00
simonzhangsz 79adf528f3 d 2023-10-11 13:58:36 +08:00
simonzhangsz e0ddeca063 d 2023-10-11 13:53:56 +08:00
simonzhangsz 414f83665d d 2023-10-11 13:52:32 +08:00
simonzhangsz cbad10444c d 2023-10-11 11:13:07 +08:00
simonzhangsz a8ff8745a2 d 2023-10-11 11:03:54 +08:00
simonzhangsz da2aa1eb61 d 2023-10-11 10:56:05 +08:00
simonzhangsz af06d0f9a3 license 2023-10-11 10:47:27 +08:00
simonzhangsz c6962cf537 license 2023-10-11 10:24:33 +08:00
simonzhangsz 08b3a775f1 d 2023-10-10 16:38:54 +08:00
simonzhangsz fba9d244bb d 2023-10-10 16:14:20 +08:00
zhangsz f40fe9de37 del 2023-10-09 18:10:36 +08:00
zhangsz 2fb4235635 del 2023-10-09 18:10:11 +08:00
simonzhangsz 9c0f784940 d 2023-10-09 17:51:13 +08:00
zhangsz 4b7aed0be3 d 2023-10-09 17:43:36 +08:00
simonzhangsz 78e54c0813 d 2023-10-09 09:23:04 +08:00
TsMask 159956824b Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-10-08 18:15:07 +08:00
TsMask 46069e38d8 feat: UDM鉴权用户ki和opc掩码 2023-10-08 18:15:05 +08:00
simonzhangsz c22ed9cef9 d 2023-10-08 18:09:51 +08:00
simonzhangsz 0a2ee6cb70 online state 2023-10-08 15:40:31 +08:00
simonzhangsz 57659de7a2 ne & param 2023-10-08 14:18:18 +08:00
simonzhangsz c209873f6c ne service action 2023-10-08 11:58:22 +08:00
simonzhangsz 3b789f65aa ver 2023-09-28 11:10:55 +08:00
simonzhangsz f12a12d414 d 2023-09-28 10:41:59 +08:00
simonzhangsz 87dba93ca3 trace 2023-09-28 10:35:10 +08:00
simonzhangsz 9c399443e5 d 2023-09-28 08:47:58 +08:00
simonzhangsz 3f442ba44b d 2023-09-28 08:42:43 +08:00
simonzhangsz cc5f9e4f05 d 2023-09-28 08:40:09 +08:00
simonzhangsz 982acd6d64 d 2023-09-27 21:05:44 +08:00
simonzhangsz 59d5b390c6 d 2023-09-27 21:04:35 +08:00
simonzhangsz 9a6d5c9b29 d 2023-09-27 21:03:14 +08:00
simonzhangsz b309e547f1 d 2023-09-27 20:52:23 +08:00
simonzhangsz 638605fffb d 2023-09-27 20:51:44 +08:00
simonzhangsz 2619006545 d 2023-09-27 20:50:09 +08:00
simonzhangsz 3c4dae90fb d 2023-09-27 20:48:58 +08:00
simonzhangsz 9ead7a0df7 d 2023-09-27 20:35:24 +08:00
simonzhangsz 7cba553884 d 2023-09-27 18:01:52 +08:00
simonzhangsz 2050ab99a9 d 2023-09-27 16:24:17 +08:00
simonzhangsz 20de0ab0e5 param 2023-09-26 18:28:06 +08:00
simonzhangsz 423609e02d d 2023-09-26 18:03:58 +08:00
simonzhangsz fb6ce542bd d 2023-09-25 15:41:05 +08:00
simonzhangsz dae1a20bfc d 2023-09-25 15:26:24 +08:00
simonzhangsz 906e60d059 d 2023-09-25 14:35:46 +08:00
simonzhangsz c88e682ec8 trace 2023-09-25 11:49:21 +08:00
simonzhangsz 2081f3f96a d 2023-09-25 11:41:38 +08:00
simonzhangsz 726306f8b5 trace 2023-09-25 11:36:58 +08:00
simonzhangsz 9c7df76999 d 2023-09-25 11:29:22 +08:00
simonzhangsz f764ed81b9 d 2023-09-25 11:16:31 +08:00
TsMask e34bba442a fix: 批量5000异常 2023-09-23 18:11:03 +08:00
TsMask b35ac3e50b pref: 优化批量导入数据库 2023-09-23 14:35:12 +08:00
TsMask 56944ad13d fix: 设置查询neId空字符串 2023-09-23 14:07:27 +08:00
TsMask f5b4819797 ref: UDM重载数据批量更新 2023-09-23 10:57:48 +08:00
simonzhangsz 6147809e6e d 2023-09-22 11:52:39 +08:00
simonzhangsz 251bdb99ba tasks 2023-09-21 20:25:06 +08:00
TsMask 9ab51c75b4 fix:获取用户数据异步添加到数据库 2023-09-21 20:13:54 +08:00
TsMask cf2e473bc2 fix: 数据解StaticIp属性 2023-09-21 19:49:00 +08:00
TsMask 716e880791 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-21 19:48:35 +08:00
TsMask a08fc163e7 feat: 网元发送执行UPF pcap抓包 2023-09-21 19:48:32 +08:00
simonzhangsz 0bb1e894a4 d 2023-09-21 11:05:37 +08:00
simonzhangsz 274cce31ca rollback 2023-09-20 20:09:37 +08:00
simonzhangsz 13d33010d5 d 2023-09-20 19:41:44 +08:00
simonzhangsz 90e6906a1d d 2023-09-20 19:05:46 +08:00
simonzhangsz dec03c02f2 ne service and instance 2023-09-20 17:37:18 +08:00
TsMask e44a178b3e fix:获取用户数据异步添加到数据库 2023-09-20 16:39:42 +08:00
simonzhangsz 2d79328e06 trace 2023-09-20 13:58:21 +08:00
simonzhangsz e32812fb96 d 2023-09-20 12:45:58 +08:00
simonzhangsz 2eff291efa d 2023-09-20 12:26:58 +08:00
simonzhangsz 1832178e4b udm user memory to innodb 2023-09-20 11:46:45 +08:00
simonzhangsz 80aa686e84 trace&measure 2023-09-20 11:20:07 +08:00
simonzhangsz b42821f47f Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-20 10:41:39 +08:00
simonzhangsz d0f90f4a50 restart ne 2023-09-20 10:41:36 +08:00
TsMask 8ac95891d0 fix: 信令抓包返回执行命令 2023-09-20 10:39:51 +08:00
TsMask 21a4f123b3 fix: udm用户异步导入 2023-09-20 09:30:50 +08:00
simonzhangsz 8b3cca93b7 mml 2023-09-19 17:41:34 +08:00
simonzhangsz a9d74f75b9 d 2023-09-19 16:44:44 +08:00
simonzhangsz 5babf47cce d 2023-09-19 15:41:35 +08:00
simonzhangsz 2ef8b951b2 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-19 15:32:35 +08:00
simonzhangsz aff9476288 d 2023-09-19 15:32:32 +08:00
TsMask 3308b0e9df fix: UDM鉴权用户去除Msisdn字段 2023-09-19 15:30:48 +08:00
simonzhangsz ab1c93fee2 d 2023-09-19 11:32:13 +08:00
simonzhangsz ca7c54ea54 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-19 10:46:33 +08:00
simonzhangsz 302a93b199 d 2023-09-19 10:46:32 +08:00
TsMask 702dc63fd2 fix: UDM签约修改字段补充 2023-09-19 10:06:21 +08:00
simonzhangsz bc50f10c24 d 2023-09-18 21:05:18 +08:00
simonzhangsz 71099844b6 d 2023-09-18 19:45:29 +08:00
simonzhangsz 133342bd00 d 2023-09-18 19:20:36 +08:00
simonzhangsz 4f5d2d2d0b d 2023-09-18 19:10:00 +08:00
simonzhangsz e0d3e8d878 f 2023-09-18 18:20:12 +08:00
simonzhangsz 3d27ba8dac d 2023-09-18 16:36:05 +08:00
simonzhangsz e74b2f9b8a d 2023-09-18 16:22:11 +08:00
simonzhangsz 98fcdff349 d 2023-09-18 15:56:53 +08:00
simonzhangsz fa587e8f4a 1 2023-09-18 15:17:29 +08:00
simonzhangsz 9e74df8220 d 2023-09-18 14:38:16 +08:00
simonzhangsz fdae8dfd11 rpm&deb 2023-09-18 14:33:20 +08:00
simonzhangsz a9ea3791cc d 2023-09-18 11:56:05 +08:00
simonzhangsz cc02aea95d d 2023-09-18 11:36:13 +08:00
simonzhangsz f037dc94ab d 2023-09-18 09:10:42 +08:00
TsMask 2bdc67c626 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-16 20:45:31 +08:00
TsMask 9bdbaeb8c3 fix: 接口需要登录认证 2023-09-16 20:45:27 +08:00
simonzhangsz 2715fd5be0 d 2023-09-16 20:27:50 +08:00
simonzhangsz 6b3effc51e d 2023-09-16 20:19:41 +08:00
simonzhangsz 446764194d d 2023-09-16 20:09:18 +08:00
simonzhangsz 97cca20b51 d 2023-09-16 20:08:56 +08:00
simonzhangsz ee9592c9d1 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-16 19:59:43 +08:00
simonzhangsz 37e3f7d6d0 d 2023-09-16 19:59:39 +08:00
TsMask efa3e99999 fix: redis连接失败停止循环连接 2023-09-16 19:39:05 +08:00
simonzhangsz de9189bd32 d 2023-09-16 19:23:11 +08:00
TsMask 9c8b4d8dc8 fix: UDM读取数据redis指定库 2023-09-16 17:54:42 +08:00
TsMask 03c73db8c2 fix: redis多数据源 2023-09-16 17:54:19 +08:00
simonzhangsz 3bf1ce62ca Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-16 16:11:55 +08:00
simonzhangsz 2e9f179e0b d 2023-09-16 16:11:51 +08:00
TsMask a1e0cf47b6 feat: PCAP捕获 2023-09-16 14:51:56 +08:00
TsMask e98562783e fix 远程网元scp复制文件 2023-09-16 14:51:26 +08:00
simonzhangsz 4cc49bc7b5 d 2023-09-16 14:35:55 +08:00
simonzhangsz a7ac440aae d 2023-09-16 13:56:50 +08:00
simonzhangsz 06eeac501b d 2023-09-16 13:53:53 +08:00
simonzhangsz a57871ead4 d 2023-09-16 13:48:29 +08:00
simonzhangsz b59e090112 makefile 2023-09-16 13:37:27 +08:00
simonzhangsz 713816e4c0 trace 2023-09-16 11:31:15 +08:00
simonzhangsz fe11771358 trace 2023-09-15 20:46:22 +08:00
simonzhangsz 2f3488c838 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-15 19:57:24 +08:00
simonzhangsz e4255767c0 data2html 2023-09-15 19:57:22 +08:00
TsMask ddd8aeaa28 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-15 18:25:11 +08:00
TsMask 5d00ba223c feat: csv和txt读写工具 2023-09-15 18:25:06 +08:00
TsMask 9e0ff2733a fix: UDM导出csv和txt支持 2023-09-15 18:23:24 +08:00
TsMask 3b761cd3f3 fix: mml指令响应判断ok 2023-09-15 18:02:09 +08:00
TsMask 289e892254 fix: UDM导入txt支持 2023-09-15 18:01:43 +08:00
simonzhangsz 682b161f14 d 2023-09-15 16:17:47 +08:00
simonzhangsz 53308ed019 d 2023-09-15 16:16:14 +08:00
simonzhangsz fb4ec50b3b d 2023-09-15 16:07:10 +08:00
simonzhangsz 014dc2efe5 d 2023-09-15 16:05:58 +08:00
simonzhangsz 822c2cf533 i 2023-09-15 16:04:14 +08:00
simonzhangsz 70a21e60f7 f 2023-09-15 16:00:18 +08:00
simonzhangsz 9d5bea316f Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-15 15:59:39 +08:00
simonzhangsz 7ca1830129 d 2023-09-15 15:59:38 +08:00
TsMask c6f277f0e9 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-15 15:59:19 +08:00
TsMask ceebe89f6d feat: UDM查询sub模糊查询 2023-09-15 15:59:13 +08:00
simonzhangsz 33234e05ef d 2023-09-15 15:58:52 +08:00
simonzhangsz 4053394cb0 d 2023-09-15 15:58:20 +08:00
simonzhangsz 9a76954151 d 2023-09-15 15:56:22 +08:00
simonzhangsz 27ba6fa08c d 2023-09-15 15:53:15 +08:00
simonzhangsz d70efdb08f date 2023-09-15 15:51:44 +08:00
simonzhangsz 4cb934e880 d 2023-09-15 15:49:16 +08:00
simonzhangsz 983c4c1543 d 2023-09-15 15:46:39 +08:00
simonzhangsz 9aec6f170f d 2023-09-15 15:45:10 +08:00
simonzhangsz 1ff4eb2cf1 d 2023-09-15 15:30:36 +08:00
simonzhangsz 318b7e8a0a software 2023-09-15 14:11:08 +08:00
TsMask 9d63b7630f feat: UDM查询接口开启登录认证 2023-09-14 21:43:58 +08:00
TsMask 71793dd94c feat: UDM查询接口排序imsi 2023-09-14 19:18:11 +08:00
simonzhangsz 35b7ed587b trace data decode 2023-09-14 17:56:07 +08:00
simonzhangsz 7efc467499 udm upgrade 2023-09-14 16:20:53 +08:00
simonzhangsz d13fa63916 d 2023-09-14 13:51:29 +08:00
simonzhangsz 51f3363b8e d 2023-09-14 11:55:54 +08:00
simonzhangsz d47191d5d0 d 2023-09-14 11:44:37 +08:00
simonzhangsz 7a1fed8680 d 2023-09-14 11:40:54 +08:00
simonzhangsz 0acd409110 test 2023-09-14 11:38:23 +08:00
simonzhangsz 6bf7620359 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-14 11:16:59 +08:00
simonzhangsz 3a443659ad d 2023-09-14 11:16:56 +08:00
TsMask 5600a2c0f7 操作日志的IP获取客户端的请求IP 2023-09-14 11:14:35 +08:00
simonzhangsz 5c2aa9d6fa d 2023-09-14 10:55:33 +08:00
simonzhangsz 02fa622635 d 2023-09-14 10:40:55 +08:00
simonzhangsz d1c3873269 dd 2023-09-14 10:33:29 +08:00
simonzhangsz 04db88723f d 2023-09-13 21:18:25 +08:00
simonzhangsz 76e74390db d 2023-09-13 21:09:34 +08:00
simonzhangsz f2cdd41123 d 2023-09-13 21:04:58 +08:00
simonzhangsz 43eef200db ne_info 2023-09-13 20:17:07 +08:00
simonzhangsz a2684bd571 d 2023-09-13 17:58:44 +08:00
simonzhangsz f6b5f021be Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-13 16:32:43 +08:00
simonzhangsz 4d0391e7f7 nssf 2023-09-13 16:32:41 +08:00
TsMask f74f9419da feat: cmd命令封装 2023-09-13 15:38:19 +08:00
TsMask 60764ebcc2 feat: cmd命令封装 2023-09-13 15:37:07 +08:00
TsMask 7f31f1ad6d Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-13 15:30:26 +08:00
TsMask cae9451dea feat: cmd命令封装 2023-09-13 15:30:21 +08:00
TsMask b9383e2f74 feat: 防火墙查询 2023-09-13 14:48:47 +08:00
TsMask 1da27ba522 fix: UDM响应ok默认成功 2023-09-13 14:48:12 +08:00
TsMask e1923ee683 fix: UDM导入文件成功相应原始文本 2023-09-13 14:35:10 +08:00
TsMask 757f2f09a8 fix: UDM导入文件路径缺失 2023-09-13 12:59:33 +08:00
TsMask 0c7de5fac9 fix: UDM导入文件后缀 2023-09-13 11:56:35 +08:00
TsMask 4561270a1e fix: 取消UDM查询接口neID和导出status字段 2023-09-13 11:22:44 +08:00
TsMask 273c6c2bbb fix: UDM不区分NeID 2023-09-12 20:11:19 +08:00
TsMask ea01504e6c fix: UDM签约设置static_ip字段 2023-09-12 18:01:46 +08:00
TsMask d4cfb6297a fix: UDM网元信息获取为nil异常 2023-09-12 17:36:54 +08:00
TsMask 7527e90af0 fix: UDM用户删除引用表错误 2023-09-12 17:25:07 +08:00
simonzhangsz bb7d03bff9 d 2023-09-12 16:43:27 +08:00
simonzhangsz 2cf2dddf66 d 2023-09-12 16:41:13 +08:00
simonzhangsz db359bc0e9 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-12 16:37:12 +08:00
simonzhangsz fe3f1544c0 d 2023-09-12 16:37:10 +08:00
TsMask a7a4819a0f fix: UDM用户获取sql查询问题 2023-09-12 16:13:04 +08:00
simonzhangsz eb18ea22a4 mml upload dir 2023-09-12 16:02:17 +08:00
simonzhangsz a8aed0d96e remove RJ 2023-09-12 15:55:07 +08:00
TsMask fc8f63fca6 feat 签约用户4G接口 2023-09-12 11:11:27 +08:00
simonzhangsz df5cc36de4 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-12 09:46:26 +08:00
simonzhangsz 8c08210256 D 2023-09-12 09:35:56 +08:00
simonzhangsz 4cf60ff24e UE 2023-09-12 09:34:12 +08:00
TsMask 344ff25aea fix发送MML数据格式解析 2023-09-11 21:04:17 +08:00
TsMask f9596f6363 读取CSV文件,转换map数据。文件上传scp 2023-09-11 21:03:53 +08:00
TsMask 614e792670 新增补充UDM用户数据接口 2023-09-11 21:02:56 +08:00
TsMask 449d81c950 UDM签约用户redis数据字段解析 2023-09-11 21:02:18 +08:00
TsMask b625536d9c UDM签约用户实体字段修改 2023-09-11 21:01:32 +08:00
simonzhangsz 81362ba590 ueinfo 2023-09-11 18:50:28 +08:00
simonzhangsz 37d20b9e70 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-11 14:45:35 +08:00
simonzhangsz 22bfd015ce neinfo recover 2023-09-11 14:45:32 +08:00
TsMask 7568b0435a 调整UDM用户函数导出CSV文件 2023-09-08 21:54:47 +08:00
TsMask d870920485 跨域响应头补充 2023-09-08 21:09:18 +08:00
TsMask 6fdc40eb5d 新增解析签约用户格式 2023-09-08 19:01:23 +08:00
TsMask 05c3bfb768 优化用户信息接口和新增neId字段 2023-09-08 17:36:22 +08:00
TsMask be001bf890 封装发送MML 2023-09-08 17:35:51 +08:00
TsMask d703d15220 默认分页0,10 2023-09-08 11:15:23 +08:00
TsMask a4459cd61b UDM 用户信息接口补充读取数据库 2023-09-08 11:15:11 +08:00
simonzhangsz 8e9cfd28f8 redis 2023-09-08 10:16:23 +08:00
simonzhangsz c6736cb59f d 2023-09-08 09:52:57 +08:00
simonzhangsz 972182b4d2 update ruijie 2023-09-08 09:45:46 +08:00
simonzhangsz 3887015727 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-08 09:38:40 +08:00
simonzhangsz fa8bc75ffb dd 2023-09-08 09:38:39 +08:00
TsMask 4f3878e4a2 feat: 跨域中间件 2023-09-07 21:04:29 +08:00
TsMask 7b243bf0dd UDM 用户信息接口添加到路由 2023-09-07 19:15:25 +08:00
TsMask 36549c89d4 网元实体接受json格式 2023-09-07 19:13:35 +08:00
TsMask f1a0c9555b feat加入redis工具包 2023-09-07 19:13:09 +08:00
simonzhangsz 09c7b751fc permission 2023-09-07 17:50:26 +08:00
simonzhangsz 36918bd4fa d 2023-09-07 17:27:29 +08:00
simonzhangsz 920726e25b d 2023-09-07 14:00:26 +08:00
simonzhangsz 31eaf7dd3e d 2023-09-07 13:59:55 +08:00
simonzhangsz 431a35aba7 alarm 2023-09-06 18:02:52 +08:00
simonzhangsz 300a2d7784 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-06 17:22:00 +08:00
simonzhangsz 4c29fb455e d 2023-09-06 17:21:58 +08:00
TsMask 4d72bfd832 数据库URL查询参数定义totalSQL和rowsSQL 2023-09-06 17:17:41 +08:00
TsMask ccc0df1ae8 数据库URL查询参数定义totalSQL和rowsSQL 2023-09-06 17:04:10 +08:00
simonzhangsz 1a315d5613 dict 2023-09-06 16:51:20 +08:00
simonzhangsz 996e6ca872 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-06 16:20:07 +08:00
simonzhangsz f4af5d2c21 pre 2023-09-06 16:20:05 +08:00
TsMask 3bb6aa9239 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-06 15:12:56 +08:00
TsMask 741a5d4bc6 系统登录和验证码开关 2023-09-06 15:12:51 +08:00
simonzhangsz 11712d856b threshold 2023-09-06 14:25:04 +08:00
simonzhangsz 1eed96e9b0 alarm_id 2023-09-06 11:23:09 +08:00
simonzhangsz f8b25ef39a Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-06 10:59:15 +08:00
simonzhangsz f4216a6e76 alarm 2023-09-06 10:59:13 +08:00
TsMask 5079a1b782 add 字典管理 2023-09-06 10:47:16 +08:00
TsMask 3f35f2bc96 参数配置插入结果返回记录ID 2023-09-06 10:46:50 +08:00
TsMask 7c07d9b803 将缓存key含*号的截取 2023-09-06 10:46:28 +08:00
TsMask d782595d8c fix数据插入更新获取返回id和影响数 2023-09-05 19:25:39 +08:00
TsMask ffe4545386 参数配置信息接口添加到路由 2023-09-05 19:04:38 +08:00
TsMask 2ab01037d8 add 获取指定前缀的所有键 2023-09-05 19:04:08 +08:00
TsMask 8edc9f4cc3 add 缓存的key常量 2023-09-05 19:03:51 +08:00
TsMask 9a65ee4f5d fix 树结构label 2023-09-05 17:14:45 +08:00
TsMask c0f0ed0a37 fix: 菜单角色用户名称模糊查询 2023-09-05 17:14:18 +08:00
TsMask 0f12279099 add 登录用户信息 2023-09-05 17:13:46 +08:00
simonzhangsz 7882c44eb6 d 2023-09-05 15:34:43 +08:00
simonzhangsz 0b0cd3deea d 2023-09-05 15:30:37 +08:00
simonzhangsz 5511201789 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-05 15:30:00 +08:00
simonzhangsz 76306523d1 d 2023-09-05 15:29:58 +08:00
TsMask e2ecd48485 feat: 系统备份接口声明 2023-09-05 14:11:10 +08:00
simonzhangsz a3eb2f7abb ver 2023-09-05 09:29:47 +08:00
simonzhangsz a2efac05fd d 2023-09-04 19:33:47 +08:00
simonzhangsz f68b78749e d 2023-09-04 18:34:30 +08:00
simonzhangsz 85ce521918 db tcp 2023-09-04 18:23:57 +08:00
simonzhangsz 6229ffca94 d 2023-09-04 17:02:33 +08:00
simonzhangsz b853f6e43e d 2023-09-04 16:18:03 +08:00
simonzhangsz 3f578977fb d 2023-09-04 16:13:28 +08:00
simonzhangsz 4e76fd7750 d 2023-09-04 16:09:48 +08:00
simonzhangsz 3d227a8cb4 d 2023-09-04 15:50:16 +08:00
simonzhangsz 0fe445cc28 release 2023-09-04 15:40:44 +08:00
simonzhangsz 6df61ce8d5 menu 2023-09-04 15:32:36 +08:00
simonzhangsz ceaf9d80d0 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-04 14:52:08 +08:00
simonzhangsz 48a683eaef d 2023-09-04 14:52:05 +08:00
TsMask e43122300d Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-04 14:44:49 +08:00
TsMask e95679ea4b feat: 数据库直连操作权限 2023-09-04 14:44:44 +08:00
simonzhangsz ad58cb087d user 2023-09-04 14:31:29 +08:00
simonzhangsz c6eed87f40 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-04 14:21:29 +08:00
simonzhangsz be443a1914 user 2023-09-04 14:21:23 +08:00
TsMask 502c32f6d3 用户角色菜单接口取消对权限标识的判断 2023-09-01 17:33:03 +08:00
simonzhangsz 8c5500d5f3 d 2023-09-01 15:24:49 +08:00
simonzhangsz 0b696a86a1 d 2023-09-01 14:22:43 +08:00
simonzhangsz 55f1f87edf tables 2023-09-01 13:42:38 +08:00
simonzhangsz 031323b681 d 2023-09-01 13:33:53 +08:00
simonzhangsz 6d162e0332 d 2023-09-01 13:31:37 +08:00
simonzhangsz d9b63fce09 d 2023-09-01 13:29:27 +08:00
simonzhangsz 9129bdebd6 del 2023-09-01 13:23:43 +08:00
simonzhangsz 44447d89ae Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-01 13:15:21 +08:00
simonzhangsz 4cee57083e d 2023-09-01 13:15:20 +08:00
TsMask 39696c6300 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-09-01 13:10:58 +08:00
TsMask 35826d6f34 存在菜单子节点数量与状态 2023-09-01 13:10:52 +08:00
simonzhangsz 3ee4d1b102 d 2023-09-01 12:13:38 +08:00
simonzhangsz 93f3b1c4a4 d 2023-09-01 12:11:05 +08:00
simonzhangsz a3d771fd64 version 2023-09-01 12:01:22 +08:00
simonzhangsz a066a86859 d 2023-09-01 11:58:23 +08:00
simonzhangsz d3d07f7ed3 1 2023-09-01 11:44:26 +08:00
simonzhangsz 9b7c73a84f new 2023-09-01 11:31:17 +08:00
simonzhangsz f896cf9147 mk 2023-09-01 11:25:23 +08:00
simonzhangsz ddcc356d08 captrace checkin 2023-09-01 11:25:15 +08:00
TsMask 95591c1753 登录检查user空的情况 2023-09-01 10:29:52 +08:00
TsMask 582a97673d Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-31 19:01:31 +08:00
TsMask 765896956b 删除角色与菜单关联 2023-08-31 19:01:27 +08:00
simonzhangsz f279635e08 d 2023-08-31 17:39:10 +08:00
simonzhangsz c0c4d333da trace 2023-08-31 17:35:43 +08:00
TsMask 4adba55e88 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-31 16:50:51 +08:00
TsMask 291c251fd7 取插入ID 2023-08-31 16:50:44 +08:00
simonzhangsz b0ad4f0a19 trace 2023-08-31 16:27:32 +08:00
simonzhangsz a15d5568ef Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-31 15:15:15 +08:00
simonzhangsz a12f7fce47 trace decode 2023-08-31 15:15:14 +08:00
TsMask bb7fee6c20 改路由地址 /menus/treeSelect 2023-08-31 15:04:15 +08:00
simonzhangsz ced887825d trace 2023-08-31 11:35:30 +08:00
simonzhangsz 22450cfc78 裁剪北向接口 2023-08-30 18:46:59 +08:00
simonzhangsz 968e3537b6 wasm change 2023-08-30 16:58:26 +08:00
TsMask b8d5c7c2f8 菜单接口调整 2023-08-30 16:11:25 +08:00
TsMask 4fe33b2bc5 角色接口调整 2023-08-30 16:10:14 +08:00
TsMask b6431d514e 用户接口调整 2023-08-30 16:03:03 +08:00
TsMask 81747291bf 用户表关联角色 2023-08-30 15:47:28 +08:00
TsMask 775883d859 分页值 2023-08-30 15:46:59 +08:00
TsMask abd8db4522 删除输出println 2023-08-30 15:46:48 +08:00
TsMask ab60354ddb 用户模型参数调整 2023-08-30 15:39:01 +08:00
TsMask d302d45131 用户接口调整 2023-08-30 15:38:29 +08:00
TsMask 29e3df8132 引用logger错误改log 2023-08-30 15:37:42 +08:00
simonzhangsz f418b52a71 for new 5gc 2023-08-30 09:56:33 +08:00
simonzhangsz cbbfdbc499 d 2023-08-30 09:51:39 +08:00
TsMask c560b8ac42 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-29 19:23:08 +08:00
TsMask 6701d66951 JSON跨域响应头 2023-08-29 19:23:03 +08:00
simonzhangsz abe89d7832 d 2023-08-29 19:11:20 +08:00
simonzhangsz 6c8b71e575 n 2023-08-29 19:09:44 +08:00
simonzhangsz d1590ac9c2 new 2023-08-29 19:02:56 +08:00
simonzhangsz 1fe4020049 new for 5GC 2023-08-29 18:44:15 +08:00
simonzhangsz 1bccead591 new 2023-08-29 18:32:20 +08:00
TsMask ef40998139 调整Perms字段 2023-08-29 17:23:20 +08:00
TsMask 90602eb831 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-29 16:25:34 +08:00
TsMask f7336ceaec 登录用户路由信息 2023-08-29 16:15:29 +08:00
TsMask c8d28d7297 角色接口 2023-08-29 16:15:03 +08:00
TsMask 005b12e60f 菜单接口 2023-08-29 16:14:48 +08:00
TsMask 70250ce6e6 用户信息接口 2023-08-29 16:14:36 +08:00
TsMask cc169804cf 角色与菜单关联表 2023-08-29 16:14:08 +08:00
TsMask 5c84dd8090 用户与角色关联表 2023-08-29 16:14:01 +08:00
TsMask 8fed79c007 登录用户信息和树结构 2023-08-29 16:13:48 +08:00
TsMask 4bab3b4952 缓存用户信息管理 2023-08-29 16:13:22 +08:00
TsMask 40bc098910 本地缓存工具 2023-08-29 16:13:02 +08:00
TsMask 5f33e26036 路由上下文参数解析 2023-08-29 16:12:47 +08:00
TsMask b248828a63 密码加密工具 2023-08-29 16:12:24 +08:00
TsMask bb343355bd 检查session是否存在返回信息 2023-08-29 16:12:04 +08:00
TsMask 3f33f7a825 中间用户身份授权认证校验 2023-08-29 16:11:18 +08:00
TsMask 40d3d05126 使用viper读取配置 2023-08-29 16:10:57 +08:00
TsMask d5f4483fe9 路由项和登录返回权限标识角色 2023-08-29 16:10:27 +08:00
TsMask a2527eec9c 路由单独中间件 2023-08-29 16:09:54 +08:00
simonzhangsz 38fa03f1c4 deb make 2023-08-29 16:09:11 +08:00
simonzhangsz 589577b718 config for scheme and subrouter 2023-08-29 10:53:43 +08:00
simonzhangsz 5550bb996d d 2023-08-27 17:31:27 +08:00
TsMask 2a8a2b5d25 改用core核心库包 2023-08-26 17:02:58 +08:00
TsMask 26b55965da 新增core模块核心库 2023-08-26 17:01:49 +08:00
TsMask 9a6684b257 加开关中间件网关登录策略-IP限制 2023-08-26 17:01:08 +08:00
TsMask 8b300036cd 中间件网关登录策略-IP限制 2023-08-26 15:13:07 +08:00
simonzhangsz 3bba4bb21e d 2023-08-26 10:42:04 +08:00
TsMask e805ade542 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-25 17:47:56 +08:00
TsMask 25f4baf672 登录失败多次等待60秒 2023-08-25 17:47:31 +08:00
TsMask 7a2a342f40 中间件-登录策略限制登录时间和访问ip范围 2023-08-25 17:40:52 +08:00
simonzhangsz d47bb2aa38 web 2023-08-25 17:17:53 +08:00
simonzhangsz 8ce5e60b0f d 2023-08-25 17:01:07 +08:00
simonzhangsz 366f14522e d 2023-08-25 16:54:45 +08:00
simonzhangsz 84cf2c8824 web 2023-08-25 15:06:46 +08:00
simonzhangsz 993b893be4 d 2023-08-25 10:58:42 +08:00
simonzhangsz 5340a01701 pm 2023-08-25 09:58:24 +08:00
simonzhangsz 4f48fc1211 pm 2023-08-25 09:51:54 +08:00
simonzhangsz 07804d627b cm 2023-08-24 23:21:15 +08:00
simonzhangsz 40705d8309 d 2023-08-24 22:36:08 +08:00
simonzhangsz 5456eb0045 cm 2023-08-24 22:34:50 +08:00
simonzhangsz 486f1163e8 cm 2023-08-24 21:23:55 +08:00
simonzhangsz 8ac572b215 cm 2023-08-24 10:52:26 +08:00
simonzhangsz d56c4f76b5 d 2023-08-24 10:19:42 +08:00
simonzhangsz a715828a2a rbac 2023-08-24 10:00:27 +08:00
zhangsz 254bf9dbdb bin 2023-08-24 09:27:59 +08:00
TsMask e8ee577b97 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-23 22:19:27 +08:00
simonzhangsz e4d1c63b9c d 2023-08-24 21:06:19 +08:00
simonzhangsz e3136399b7 d 2023-08-24 21:02:28 +08:00
simonzhangsz 462de3500e Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-24 20:57:34 +08:00
simonzhangsz 9907941516 d 2023-08-24 20:57:15 +08:00
simonzhangsz b3d55ba47c d 2023-08-24 10:57:00 +08:00
simonzhangsz a66f3d4129 d 2023-08-24 10:34:38 +08:00
simonzhangsz d7d0b3c2c0 certs 2023-08-24 10:17:09 +08:00
TsMask 8f7ae6813a 登录次数超3次锁定 2023-08-23 22:19:23 +08:00
TsMask d06c956fa1 移除缓存包 2023-08-23 20:56:11 +08:00
TsMask 24995331e0 系统备份路由 2023-08-23 20:47:28 +08:00
simonzhangsz 474cc0188a ca 2023-08-23 17:52:13 +08:00
simonzhangsz bda2a9f5e6 d 2023-08-23 17:19:01 +08:00
simonzhangsz 3b6b2929a2 d 2023-08-23 17:00:27 +08:00
simonzhangsz cbc33fc928 d 2023-08-23 16:33:53 +08:00
simonzhangsz 055ed5eb69 https 2023-08-23 14:38:52 +08:00
simonzhangsz 2a9ea8dc80 s 2023-08-23 13:21:57 +08:00
simonzhangsz 7bed672080 d 2023-08-23 13:19:22 +08:00
simonzhangsz ee670ccac2 d 2023-08-23 13:06:14 +08:00
simonzhangsz 8348bc0155 d 2023-08-23 13:00:17 +08:00
simonzhangsz a534de00bd d 2023-08-22 09:39:00 +08:00
simonzhangsz 1ee5b734ce t 2023-08-21 18:29:56 +08:00
simonzhangsz 78b950af6d d 2023-08-21 18:25:41 +08:00
simonzhangsz 54dff5d6ad d 2023-08-21 13:04:12 +08:00
simonzhangsz ccb002a945 d 2023-08-21 12:59:50 +08:00
simonzhangsz e4a6af33a1 log 2023-08-21 11:55:20 +08:00
simonzhangsz ddd0b05eb9 s 2023-08-20 21:58:35 +08:00
simonzhangsz 7c32ff33b8 d 2023-08-20 18:35:46 +08:00
simonzhangsz 950182d87a d 2023-08-20 18:32:34 +08:00
simonzhangsz 6b6737d458 d 2023-08-20 18:27:35 +08:00
simonzhangsz e8104ba4cf d 2023-08-20 18:23:20 +08:00
simonzhangsz 1067a9ea6d d 2023-08-20 18:19:21 +08:00
simonzhangsz 36b705cf11 s 2023-08-20 17:58:19 +08:00
simonzhangsz 454e66f0c7 d 2023-08-20 17:47:34 +08:00
simonzhangsz c1509b71a3 d 2023-08-20 17:36:03 +08:00
simonzhangsz 385cd4b182 sign 2023-08-20 17:31:57 +08:00
simonzhangsz dd86a61c26 d 2023-08-20 17:12:18 +08:00
simonzhangsz 569f0ab563 d 2023-08-20 17:05:39 +08:00
simonzhangsz 02d4d95681 sign 2023-08-20 16:54:24 +08:00
simonzhangsz a2e1407da4 sign 2023-08-20 16:31:33 +08:00
simonzhangsz e4fe101e4d mml 2023-08-20 14:42:46 +08:00
simonzhangsz dcd961ee86 D 2023-08-20 09:55:01 +08:00
simonzhangsz 2ae03fbed4 config 2023-08-19 14:25:49 +08:00
simonzhangsz a2fbb6113b etc 2023-08-19 14:21:32 +08:00
simonzhangsz dc2b3c27c4 etc default 2023-08-19 11:36:53 +08:00
simonzhangsz 59ae74828e Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-19 11:08:32 +08:00
zhangsz 7450499f78 d 2023-08-19 11:03:54 +08:00
zhangsz 098eb1250c d 2023-08-19 11:03:51 +08:00
zhangsz f0611d6b84 d 2023-08-19 11:03:47 +08:00
zhangsz bd99fccdff 删除 crontask/export/smf-sz_01-etc-20230612001500.zip 2023-08-19 11:03:43 +08:00
zhangsz 780b5031e8 d 2023-08-19 11:03:40 +08:00
zhangsz a15c90959a d 2023-08-19 11:03:26 +08:00
zhangsz fecf4d1a36 d 2023-08-19 11:03:09 +08:00
zhangsz 5aea14fc67 d 2023-08-19 11:03:04 +08:00
zhangsz bbf063d48a d 2023-08-19 11:02:55 +08:00
zhangsz a6ed941db5 d 2023-08-19 11:02:51 +08:00
zhangsz 307f9d0798 bin 2023-08-19 11:02:46 +08:00
zhangsz dae0e4e43b d 2023-08-19 11:02:41 +08:00
zhangsz c275238dea bin 2023-08-19 11:02:36 +08:00
zhangsz 2f5799324b 删除 crontask/ftp/cm/20230806/CM-HX-UPF-16.1.1-20230806180000.xml
d
2023-08-19 11:02:26 +08:00
zhangsz 2db0b23576 删除 crontask/ftp/cm/20230806/CM-HX-UPF-16.1.1-20230806120000.xml
d
2023-08-19 11:02:22 +08:00
zhangsz 15df6a1bea 删除 crontask/ftp/cm/20230806/CM-HX-UPF-16.1.1-20230806060000.xml
d
2023-08-19 11:02:18 +08:00
zhangsz 6622fbfda9 删除 crontask/ftp/cm/20230806/CM-HX-UPF-16.1.1-20230806000000.xml
d
2023-08-19 11:02:14 +08:00
zhangsz 32cf1894d8 删除 crontask/ftp/cm/20230806/CM-HX-UDM-16.1.1-20230806180000.xml
d
2023-08-19 11:02:10 +08:00
zhangsz 709d25235b 删除 crontask/ftp/cm/20230806/CM-HX-UDM-16.1.1-20230806120000.xml
d
2023-08-19 11:02:06 +08:00
zhangsz dd2c7b547d 删除 crontask/ftp/cm/20230806/CM-HX-UDM-16.1.1-20230806060000.xml
d
2023-08-19 11:02:01 +08:00
zhangsz 50dd19144f 删除 crontask/ftp/cm/20230806/CM-HX-UDM-16.1.1-20230806000000.xml
d
2023-08-19 11:01:51 +08:00
zhangsz a52ffb9297 删除 crontask/ftp/cm/20230806/CM-HX-SMF-16.1.1-20230806180000.xml
d
2023-08-19 11:01:46 +08:00
zhangsz 7d1be0a56a 删除 crontask/ftp/cm/20230806/CM-HX-SMF-16.1.1-20230806120000.xml
d
2023-08-19 11:01:42 +08:00
zhangsz 21cc362060 删除 crontask/ftp/cm/20230806/CM-HX-SMF-16.1.1-20230806060000.xml 2023-08-19 11:01:37 +08:00
zhangsz 60b5bc521a 删除 crontask/ftp/cm/20230806/CM-HX-SMF-16.1.1-20230806000000.xml
d
2023-08-19 11:01:33 +08:00
zhangsz 6238ad200b 删除 crontask/ftp/cm/20230806/CM-HX-AUSF-16.1.1-20230806180000.xml
d
2023-08-19 11:01:27 +08:00
zhangsz f72ee768f3 删除 crontask/ftp/cm/20230806/CM-HX-AUSF-16.1.1-20230806120000.xml 2023-08-19 11:00:54 +08:00
zhangsz b51c47ed4a 删除 crontask/ftp/cm/20230806/CM-HX-AUSF-16.1.1-20230806060000.xml
d
2023-08-19 11:00:46 +08:00
zhangsz 8eeef48ae1 删除 crontask/ftp/cm/20230806/CM-HX-AUSF-16.1.1-20230806000000.xml
d
2023-08-19 11:00:39 +08:00
zhangsz 840d1d3257 删除 crontask/ftp/cm/20230806/CM-HX-AMF-16.1.1-20230806180000.xml
d
2023-08-19 11:00:31 +08:00
zhangsz 404452cc57 删除 crontask/ftp/cm/20230806/CM-HX-AMF-16.1.1-20230806120000.xml 2023-08-19 11:00:26 +08:00
zhangsz c7e8e901ee 删除 crontask/ftp/cm/20230806/CM-HX-AMF-16.1.1-20230806060000.xml
d
2023-08-19 11:00:22 +08:00
zhangsz 69129e05a3 删除 crontask/ftp/cm/20230806/CM-HX-AMF-16.1.1-20230806000000.xml
xml
2023-08-19 10:59:55 +08:00
simonzhangsz 8215bf3237 s 2023-08-18 21:09:30 +08:00
simonzhangsz b0e551ab18 d 2023-08-18 20:42:38 +08:00
simonzhangsz c9fbeaf1a1 d 2023-08-18 18:35:49 +08:00
simonzhangsz 2039c729e5 log 2023-08-18 18:13:13 +08:00
simonzhangsz 38147d0ae7 t 2023-08-18 17:19:21 +08:00
simonzhangsz 23967c1a79 mm 2023-08-18 17:10:08 +08:00
simonzhangsz 19f973c115 d 2023-08-18 14:10:34 +08:00
simonzhangsz 6e3408bb5f m 2023-08-18 13:57:55 +08:00
simonzhangsz 882baa2e0b mml 2023-08-18 13:57:36 +08:00
simonzhangsz 3e726ddd99 dd 2023-08-18 13:27:22 +08:00
simonzhangsz d399a31c72 m 2023-08-18 12:47:51 +08:00
simonzhangsz f4092ef016 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-18 12:44:34 +08:00
simonzhangsz caeee2c0e5 git 2023-08-18 12:44:33 +08:00
zhangsz a3ff453542 bin 2023-08-18 12:43:07 +08:00
zhangsz 6d41d75daa bin 2023-08-18 12:41:25 +08:00
simonzhangsz 48851f447a m 2023-08-18 12:39:01 +08:00
simonzhangsz fa67bc8c81 main 2023-08-18 12:38:03 +08:00
simonzhangsz bc8ec3b4c5 m 2023-08-18 12:36:47 +08:00
simonzhangsz 799ef8bde5 m 2023-08-18 12:35:42 +08:00
simonzhangsz abeaca30b7 m 2023-08-18 12:34:31 +08:00
simonzhangsz beeca26863 m 2023-08-18 12:32:50 +08:00
simonzhangsz 998eaa96fe Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-18 11:53:44 +08:00
simonzhangsz 57b87746ab mml 2023-08-18 11:53:32 +08:00
TsMask 15b324a436 检查ip端口请求 2023-08-18 11:01:35 +08:00
TsMask ab4f3b1691 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-18 09:53:31 +08:00
TsMask de86011436 IP地址 2023-08-18 09:53:27 +08:00
simonzhangsz d9fb8be74d dd 2023-08-18 09:50:51 +08:00
simonzhangsz 904c00f6d2 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-18 09:40:07 +08:00
simonzhangsz f17afdf408 MML 2023-08-18 09:40:01 +08:00
TsMask c9a39a348b IP地址 2023-08-18 09:38:07 +08:00
simonzhangsz cffafecbf8 dd 2023-08-17 20:04:48 +08:00
simonzhangsz d611be7d0e be 2023-08-17 18:45:08 +08:00
TsMask 123d4c4b62 新增数据库和config日志变更 2023-08-17 18:30:50 +08:00
simonzhangsz 51f11b2284 log backup 2023-08-17 14:08:10 +08:00
simonzhangsz 96b399c31b Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-17 12:42:49 +08:00
simonzhangsz 449f471c06 config 2023-08-17 12:42:41 +08:00
TsMask 7083f0fe13 取消挂起判断 2023-08-17 11:34:40 +08:00
TsMask 3985b37946 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-17 10:40:15 +08:00
TsMask 03562a711d mod新增spf13/afero 2023-08-17 10:39:47 +08:00
TsMask 4b9ed98ff8 文件下载缺少文件名 2023-08-17 10:39:21 +08:00
TsMask 138ba823fa 文件资源+数据库连接情况 2023-08-17 10:38:59 +08:00
TsMask f20a8ed79b 格式文件大小单位 2023-08-17 10:38:44 +08:00
TsMask 18149365ab 载入监控定时采集 2023-08-17 10:38:32 +08:00
TsMask 55ccfa8133 数据库连接情况 2023-08-17 10:37:36 +08:00
TsMask 548f5f7ad9 获取磁盘列表和全路径文件下载 2023-08-17 10:37:18 +08:00
simonzhangsz 875a4981a0 ignore 2023-08-17 00:18:42 +08:00
simonzhangsz d864ff7fa0 clear 2023-08-17 00:18:03 +08:00
simonzhangsz 7de3416d85 mml 2023-08-17 00:16:31 +08:00
simonzhangsz 53d21860c1 backup and alarm 2023-08-17 00:16:03 +08:00
simonzhangsz 240e956376 local 2023-08-16 17:16:15 +08:00
simonzhangsz 12f1a3712f permission 2023-08-16 17:15:22 +08:00
simonzhangsz 8953356c47 sql 2023-08-16 14:08:55 +08:00
simonzhangsz 70d98d97f0 make 2023-08-16 00:04:10 +08:00
simonzhangsz 1b77fc6611 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-15 23:00:40 +08:00
simonzhangsz e1a78c7937 alarm 2023-08-15 23:00:27 +08:00
TsMask 362ed5a968 开启监控采集 2023-08-15 21:38:52 +08:00
TsMask ccc302566a 新增路由进程网络和主机CPU内存监控 2023-08-15 21:38:33 +08:00
TsMask bfd3be9f03 监控CPU磁盘网络数据库 2023-08-15 21:38:05 +08:00
TsMask 3672b73683 监控进程和网络 2023-08-15 21:37:17 +08:00
TsMask fea161f4aa 平替ShouldBindJSON 2023-08-15 21:36:30 +08:00
TsMask 14520f404c 新增XormGetConfig获取配置表记录 2023-08-15 21:35:56 +08:00
TsMask 8e0d32f05d Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-15 15:10:20 +08:00
TsMask 9e0aa88af6 del 2023-08-15 15:09:52 +08:00
simonzhangsz 3dcced62f5 alarm 2023-08-15 15:08:46 +08:00
simonzhangsz ec7fff9af5 alarm 2023-08-15 15:07:45 +08:00
simonzhangsz 0915f52533 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-15 15:05:16 +08:00
simonzhangsz 78b2458c00 dd 2023-08-15 14:55:20 +08:00
simonzhangsz d107773f48 modify build 2023-08-15 12:00:57 +08:00
TsMask 1c434af607 Merge branch 'main' of http://192.168.0.229:3180/OMC/ems_backend 2023-08-15 11:18:21 +08:00
TsMask 48bef3ef6c feat: 密码有效期提示读取配置信息 2023-08-15 11:18:17 +08:00
simonzhangsz a7db8510b7 dd 2023-08-15 10:12:09 +08:00
simonzhangsz f74db3760b dd 2023-08-15 00:30:09 +08:00
simonzhangsz a5d24a014d alarm seq 2023-08-15 00:28:10 +08:00
simonzhangsz ed86428207 mod 2023-08-15 00:03:42 +08:00
simonzhangsz f056c8d7f8 alarm sequence 2023-08-14 23:52:44 +08:00
simonzhangsz 2cce814ceb update by simon
Signed-off-by: simonzhangsz <simonzhangsz@outlook.com>
2023-08-14 22:48:46 +08:00
simonzhangsz 44e8cbee2c update at 2023/08/14 2023-08-14 21:41:37 +08:00
TsMask a039a664f1 fix: 补充登录用户状态错误提示 2023-08-14 21:13:55 +08:00
lichang 5ac2e981ea add: 提交 2023-08-14 17:02:50 +08:00
agtuser 897d45d443 Initial commit 2023-08-14 15:36:48 +08:00
446 changed files with 61831 additions and 2 deletions

No files matched your search

+47
View File
@@ -0,0 +1,47 @@
# ---> VisualStudioCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Run temp file and dir
crontask/log/
crontask/ftp/
crontask/database/
crontask/export/
crontask/temp
crontask/crontask
restagent/backup/
restagent/log/
restagent/upload/
restagent/software/
restagent/database/
restagent/license/
restagent/restagent
sshsvc/sshsvc
sshsvc/mmllog/
sshsvc/mmlhome/
sshsvc/log/
captrace/captrace
captrace/log/
tools/loadmconf/loadmconf
tools/loadpconf/loadpconf
vendor
# Built Visual Studio Code Extensions
*.vsix
*.log
*.log-*
*.bak
__debug_bin*.exe
+3
View File
@@ -0,0 +1,3 @@
{
"recommendations": []
}
+41
View File
@@ -0,0 +1,41 @@
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "调试模式",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "./restagent/restagent.go",
"console": "integratedTerminal"
},
{
"name": "DEBUG restagent",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/ems.agt/restagent/restagent.go",
"console": "integratedTerminal"
},
{
"name": "debug sshsvc",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/ems.agt/sshsvc/sshsvc.go",
"console": "integratedTerminal"
},
{
"name": "debug loadpconf",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "d:/local.git/ems.agt/tools/loadpconf",
"args": ["-p","../../config/param/upf_param_config.yaml"],
"console": "integratedTerminal"
}
]
}
+11
View File
@@ -0,0 +1,11 @@
{
"go.toolsEnvVars": {
"GOARCH": "amd64",
"GOOS": "windows"
},
"go.testEnvVars": {
"GOARCH": "wasm",
"GOOS": "js"
},
"commentTranslate.hover.enabled": true
}
+2 -2
View File
@@ -1,3 +1,3 @@
# be.ems
# ems_backend
OMC 后端
后端
Binary file not shown.
+636
View File
@@ -0,0 +1,636 @@
package main
import (
"encoding/binary"
"encoding/hex"
"fmt"
"net"
"os"
"os/exec"
"strings"
"sync"
"ems.agt/captrace/config"
"ems.agt/lib/dborm"
"ems.agt/lib/global"
"ems.agt/lib/log"
_ "github.com/go-sql-driver/mysql"
"golang.org/x/net/http/httpguts"
"golang.org/x/net/http2/hpack"
)
// goroutine
var limitChan = make(chan bool, 1024)
const (
GTPU_V1_VERSION = 1 << 5
GTPU_VER_MASK = 7 << 5
GTPU_PT_GTP = 1 << 4
GTPU_HEADER_LEN = 12
GTPU_E_S_PB_BIT = 7
GTPU_E_BI = 1 << 2
)
const (
GTPU_HEADER_VERSION_INDEX = 0
GTPU_HEADER_MSG_TYPE_INDEX = 1
GTPU_HEADER_LENGTH_INDEX = 2
GTPU_HEADER_TEID_INDEX = 4
)
type ExtHeader struct {
TaskId uint32
IMSI string
IfType byte
MsgType byte
MsgDirect byte // 0-recv,1-send
TimeStamp int64
SrcIP string
DstIP string
SrcPort uint16
DstPort uint16
Proto int
PPI int // only for SCTP
DataLen uint16
DataInfo []byte
}
type MsgInfo struct {
TaskId uint32
TimeStamp int64
IfType byte
MsgType byte
MsgDirect byte
SrcAddr string // IP:Port
DstAddr string // IP:Port
}
// func (fr *Framer) ReadFrame() (Frame, error)
// ReadMetaHeaders *hpack.Decoder
func validWireHeaderFieldName(v string) bool {
if len(v) == 0 {
return false
}
for _, r := range v {
if !httpguts.IsTokenRune(r) {
return false
}
if 'A' <= r && r <= 'Z' {
return false
}
}
return true
}
// tshark -r gtp.pcap -T json -d tcp.port==8080,http2 -Y "http2"
// -T pdml: Packet Details Markup Language
// -T psml: Packet Summary Markup Language
func execTshark(filename string, proto string) {
pcapPath := filename
tshark := exec.Command("tshark", "-r"+pcapPath,
"-Y"+proto,
"-T", "pdml")
out, err := tshark.CombinedOutput()
if err != nil {
log.Errorf("Failed to exec tshark:", err)
} else {
log.Debug("combined out:", string(out))
}
}
const magicMicroseconds = 0xa1b2c3d4
const versionMajor = 2
const versionMinor = 4
func WriteEmptyPcap(filename string, timestamp int64, length int, data []byte) error {
var cooked = [...]byte{0x00, 0x00, 0x03, 0x04, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00}
var buf []byte
//24+16+16 = 56
buf = make([]byte, 56+length)
binary.LittleEndian.PutUint32(buf[0:4], magicMicroseconds)
binary.LittleEndian.PutUint16(buf[4:6], versionMajor)
binary.LittleEndian.PutUint16(buf[6:8], versionMinor)
// bytes 8:12 stay 0 (timezone = UTC)
// bytes 12:16 stay 0 (sigfigs is always set to zero, according to
// http://wiki.wireshark.org/Development/LibpcapFileFormat
binary.LittleEndian.PutUint32(buf[16:20], 0x00040000)
binary.LittleEndian.PutUint32(buf[20:24], 0x00000071)
// Packet Header
binary.LittleEndian.PutUint64(buf[24:32], uint64(timestamp))
binary.LittleEndian.PutUint32(buf[32:36], uint32(length+16))
binary.LittleEndian.PutUint32(buf[36:40], uint32(length+16))
copy(buf[40:], cooked[:])
copy(buf[56:], data[:])
err := os.WriteFile(filename, buf[:], 0644)
//log.Debugf("CAP: %v\n", buf)
return err
}
func ngapDataHandle(emsg []byte, timestamp int64, data []byte) int {
filePath := fmt.Sprintf("/tmp/ng%d.pcap", timestamp)
err := WriteEmptyPcap(filePath, timestamp, len(data), data)
if err != nil {
log.Error("Failed to tshark:", err)
return -1
} else {
execTshark(filePath, "ngap")
}
return 0
}
func pfcpDataHandle(emsg []byte, timestamp int64, data []byte) int {
filePath := fmt.Sprintf("/tmp/pf%d.pcap", timestamp)
err := WriteEmptyPcap(filePath, timestamp, len(data), data)
if err != nil {
log.Error("Failed to tshark:", err)
} else {
execTshark(filePath, "pfcp")
}
return 0
}
func httpDataHandle(emsg []byte, timestamp int64, data []byte) int {
filePath := fmt.Sprintf("/tmp/sb%d.pcap", timestamp)
err := WriteEmptyPcap(filePath, timestamp, len(data), data)
if err != nil {
log.Error("Failed to tshark:", err)
} else {
execTshark(filePath, "http2")
}
return 0
}
func httpHeaderDataHandle(emsg []byte, header []byte, data []byte) int {
var remainSize = uint32(16 << 20)
var sawRegular bool
var invalid bool // pseudo header field errors
var Fields []hpack.HeaderField
invalid = false
hdec := hpack.NewDecoder(4096, nil)
hdec.SetEmitEnabled(true)
hdec.SetMaxStringLength(int(16 << 20))
hdec.SetEmitFunc(func(hf hpack.HeaderField) {
if !httpguts.ValidHeaderFieldValue(hf.Value) {
// Don't include the value in the error, because it may be sensitive.
invalid = true
}
isPseudo := strings.HasPrefix(hf.Name, ":")
if isPseudo {
if sawRegular {
invalid = true
}
} else {
sawRegular = true
if !validWireHeaderFieldName(hf.Name) {
invalid = true
}
}
if invalid == true {
hdec.SetEmitEnabled(false)
return
}
size := hf.Size()
if size > remainSize {
hdec.SetEmitEnabled(false)
//mh.Truncated = true
return
}
remainSize -= size
Fields = append(Fields, hf)
})
// defer hdec.SetEmitFunc(func(hf hpack.HeaderField) {})
frag := header
if _, err := hdec.Write(frag); err != nil {
return -1
}
if err := hdec.Close(); err != nil {
return -1
}
hdec.SetEmitFunc(func(hf hpack.HeaderField) {})
var headers []byte
var line string
for i := range Fields {
line = fmt.Sprintf("\"%s\":\"%s\",", Fields[i].Name, Fields[i].Value)
headers = append(headers, []byte(line)...)
}
if data != nil && len(data) > 0 {
encode := fmt.Sprintf("%s \"content\":%s\n", string(headers), string(data))
emsg = append(emsg, []byte(encode)...)
log.Debug("encode:", string(encode))
} else {
log.Debug("headers:", string(headers))
emsg = append(emsg, []byte(headers)...)
}
return 0
}
func gtpuHandler(rvMsg []byte, rvLen int) {
var extHdr ExtHeader
var tr dborm.TraceData
var off, ret int
msg := rvMsg
verFlags := msg[GTPU_HEADER_VERSION_INDEX]
gtpuHdrLen := GTPU_HEADER_LEN
localTeid := binary.BigEndian.Uint32(msg[GTPU_HEADER_TEID_INDEX:])
extHdr.TaskId = localTeid
if (verFlags & GTPU_E_S_PB_BIT) != 0 {
if (verFlags & GTPU_E_BI) != 0 {
extTypeIndex := GTPU_HEADER_LEN - 1
extType := msg[extTypeIndex]
if extType == 0xFE {
extHdr.IMSI = string(msg[extTypeIndex+2 : extTypeIndex+17])
extHdr.IfType = msg[extTypeIndex+17]
extHdr.MsgType = msg[extTypeIndex+18]
extHdr.MsgDirect = msg[extTypeIndex+19]
extHdr.TimeStamp = int64(binary.BigEndian.Uint64(msg[extTypeIndex+19:]))
log.Debugf("ext info %v %s %d %d %d", msg[(extTypeIndex+2):(extTypeIndex+20)], extHdr.IMSI, extHdr.IfType, extHdr.MsgType, extHdr.MsgDirect)
// set offset of IP Packet
off = 40 + 4
//src ip: msg+40+12
extHdr.SrcIP = fmt.Sprintf("%d.%d.%d.%d", msg[off+12], msg[off+13], msg[off+14], msg[off+15])
//dst ip: msg+40+12+4
extHdr.DstIP = fmt.Sprintf("%d.%d.%d.%d", msg[off+16], msg[off+17], msg[off+18], msg[off+19])
extHdr.SrcPort = uint16(binary.BigEndian.Uint16(msg[off+20:]))
extHdr.DstPort = uint16(binary.BigEndian.Uint16(msg[off+22:]))
log.Debugf("info %s:%d %s:%d", extHdr.SrcIP, extHdr.SrcPort, extHdr.DstIP, extHdr.DstPort)
// ip header start msg+40
tr.TaskID = int(extHdr.TaskId)
tr.Timestamp = extHdr.TimeStamp
tr.Imsi = extHdr.IMSI
tr.IfType = int(extHdr.IfType)
tr.SrcAddr = fmt.Sprintf("%s:%d", extHdr.SrcIP, extHdr.SrcPort)
tr.DstAddr = fmt.Sprintf("%s:%d", extHdr.DstIP, extHdr.DstPort)
tr.MsgType = int(extHdr.MsgType)
tr.MsgDirect = int(extHdr.MsgDirect)
tr.RawMsg = make([]byte, int(rvLen-off))
copy(tr.RawMsg, []byte(msg[off:]))
extHdr.Proto = int(msg[off+9])
if extHdr.Proto == 132 { //SCTP
extHdr.PPI = int(msg[off+47])
extHdr.DataLen = uint16(binary.BigEndian.Uint16(msg[(off+34):]) - 16)
log.Debugf("dat len %d %d", extHdr.DataLen, extHdr.PPI)
if extHdr.PPI == 60 { // NGAP
extHdr.DataInfo = make([]byte, extHdr.DataLen)
copy(extHdr.DataInfo, msg[(off+48):])
//append(extHdr.DataInfo, msg[88:]...)
log.Debugf("dataInfo %v", extHdr.DataInfo)
ret = ngapDataHandle([]byte(tr.DecMsg), tr.Timestamp, tr.RawMsg)
}
} else if extHdr.Proto == 6 { // TCP
iplen := uint16(binary.BigEndian.Uint16(msg[off+2:]))
tcplen := uint16(iplen - 32 - 20)
hdrlen := uint16(binary.BigEndian.Uint16(msg[off+20+32+1:]))
offset := uint16(off + 52)
log.Debugf("HTTP %d %d %d\n", iplen, tcplen, hdrlen)
extHdr.DataLen = tcplen
extHdr.DataInfo = make([]byte, extHdr.DataLen)
copy(extHdr.DataInfo, msg[offset:])
//ret = httpDataHandle(tr.DecodedMsg, tr.Timestamp, tr.RawMsg)
if tcplen > (hdrlen + 9) { // has data
doffset := uint16(offset + hdrlen + 9)
datlen := uint16(binary.BigEndian.Uint16(msg[doffset+1:]))
log.Debugf("HTTP datlen %d", datlen)
ret = httpHeaderDataHandle([]byte(tr.DecMsg), msg[offset+9:offset+9+hdrlen], msg[doffset+9:doffset+datlen+9])
} else {
ret = httpHeaderDataHandle([]byte(tr.DecMsg), msg[offset+9:hdrlen], nil)
}
} else if extHdr.Proto == 17 { // UDP
ilen := uint16(binary.BigEndian.Uint16(msg[off+2:]))
udplen := uint16(ilen - 20)
extHdr.DataLen = udplen - 8
extHdr.DataInfo = make([]byte, extHdr.DataLen)
copy(extHdr.DataInfo, msg[off+27:])
ret = pfcpDataHandle([]byte(tr.DecMsg), tr.Timestamp, tr.RawMsg)
}
if ret < 0 {
log.Error("Decode message error")
} else {
PutTraceRecordToDB(&tr)
}
}
for extType != 0 && extTypeIndex < rvLen {
extLen := msg[extTypeIndex+1] << 2
if extLen == 0 {
log.Error("error, extLen is zero")
return
}
gtpuHdrLen += int(extLen)
extTypeIndex += int(extLen)
extType = msg[extTypeIndex]
}
}
} else {
gtpuHdrLen -= 4
}
}
func udpProcess(conn *net.UDPConn) {
data := make([]byte, 2048)
n, _, err := conn.ReadFromUDP(data)
if err != nil {
log.Error("failed read udp msg, error: " + err.Error())
}
gtpuHandler(data, n)
//str := string(data[:n])
//log.Error("receive from client, data:" + str)
<-limitChan
}
func udpServer(address string) {
udpAddr, err := net.ResolveUDPAddr("udp", address)
if err != nil {
log.Error("Failed to ResolveUDPAddr:", err)
os.Exit(1)
}
conn, err := net.ListenUDP("udp", udpAddr)
if err != nil {
log.Error("read from connect failed, err:", err)
os.Exit(1)
}
defer conn.Close()
for {
limitChan <- true
go udpProcess(conn)
}
}
//SCTP OFFSET = 48
//HTTP2 OFFSET = 52
//UDP OFFSET = 28
func PutTraceRecordToDB(tr *dborm.TraceData) error {
var offset, ret int
if tr.IfType == 1 || tr.IfType == 2 { // SCTP
offset = 48
ret = ngapDataHandle([]byte(tr.DecMsg), tr.Timestamp, tr.RawMsg[offset:])
} else if tr.IfType == 4 { // UDP
offset = 28
ret = pfcpDataHandle([]byte(tr.DecMsg), tr.Timestamp, tr.RawMsg[offset:])
} else { // HTTP2
iplen := uint16(binary.BigEndian.Uint16(tr.RawMsg[2:]))
tcplen := uint16(iplen - 32 - 20)
hdrlen := uint16(binary.BigEndian.Uint16(tr.RawMsg[20+32+1:]))
offset = 52
if tcplen > (hdrlen + 9) { // has data
doffset := uint16(uint16(offset) + hdrlen + 9)
datlen := uint16(binary.BigEndian.Uint16(tr.RawMsg[doffset+1:]))
log.Debugf("HTTP datlen %d\n", datlen)
ret = httpHeaderDataHandle([]byte(tr.DecMsg), tr.RawMsg[offset+9:offset+9+int(hdrlen)], tr.RawMsg[doffset+9:doffset+datlen+9])
} else {
ret = httpHeaderDataHandle([]byte(tr.DecMsg), tr.RawMsg[offset+9:hdrlen], nil)
}
}
if ret == 0 {
_, err := dborm.XormInsertTraceData(tr)
if err != nil {
log.Error("Failed to dborm.XormInsertTraceData:", err)
return err
}
}
return nil
}
// ////////////////
// var rdb *redis.Client
// var redisOn bool
// var rurl string
//
// func RdbInitClient(Url string) (err error) {
// rurl = Url
// rdb = redis.NewClient(&redis.Options{
// Addr: rurl,
// Password: "", // no password set
// DB: 0, // use default
// })
//
// ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
// defer cancel()
//
// _, err = rdb.Ping(ctx).Result()
// if err != nil {
// log.Debugf("db connect failed\n")
// return err
// }
// return nil
// }
//
// func RdbKeys(filter string) (vals []string, err error) {
// ctx := context.Background()
//
// vals, err = rdb.Keys(ctx, filter).Result()
//
// if err != nil {
// log.Error("db: Keys ", err.Error())
// return nil, err
// }
//
// return vals, nil
// }
//
// func RdbHGetAll(key string) (kvs map[string]string, err error) {
// ctx := context.Background()
// kvs, err = rdb.HGetAll(ctx, key).Result()
//
// if err != nil {
// log.Error("db: HGetAll ", err.Error())
// return nil, err
// }
//
// return kvs, nil
// }
//
// func RdbHMSet(key string, kvs map[string]interface{}) (err error) {
// ctx := context.Background()
// err = rdb.HMSet(ctx, key, kvs).Err()
//
// if err != nil {
// log.Error("db: HMSet ", err.Error())
// return err
// }
//
// return nil
// }
//
// func RdbDel(key string) (err error) {
// ctx := context.Background()
// err = rdb.Del(ctx, key).Err()
//
// if err != nil {
// log.Error("db: Del ", err.Error())
// return err
// }
//
// return nil
// }
//
// func rdbClient(url string) {
// var err error
// var kvs map[string]string
// var vals []string
// var tr TraceRecord
//
// err = RdbInitClient(url)
//
// if err != nil {
// log.Debugf("db: RdbInitClient err\n")
// os.Exit(2)
// }
//
// for {
// vals, err = RdbKeys("tsk*") // (vals []string, err error)
// if err == nil {
// for i := range vals {
// kvs, err = RdbHGetAll(vals[i]) //(kvs map[string]string, err error)
// if err == nil {
// //tsk-1:1682764180993584177:460000100000001:8
// log.Debugf("%d: %s %s %s %v\n", i, vals[i], kvs["srcip"], kvs["dstip"], []byte(kvs["ipdat"]))
// arr := strings.Split(vals[i], ":")
// if arr != nil && len(arr) == 4 {
// tr.Taskid, _ = strconv.Atoi(arr[0][4:])
// tr.Timestamp, _ = strconv.ParseInt(arr[1], 10, 64)
//
// tr.Imsi = arr[2]
// tr.IfType, _ = strconv.Atoi(arr[3])
//
// }
// tr.SrcAddr = fmt.Sprintf("%s:d", kvs["srcip"], kvs["srcport"])
// tr.DstAddr = fmt.Sprintf("%s:d", kvs["dstip"], kvs["dstport"])
// tr.MsgType, _ = strconv.Atoi(kvs["msgtp"])
// tr.MsgDirect, _ = strconv.Atoi(kvs["direct"])
// rawlen, _ := strconv.Atoi(kvs["datlen"])
// tr.RawMsg = make([]byte, rawlen)
// copy(tr.RawMsg, []byte(kvs["ipdat"]))
// //tr.DecodedMsg
// PutTraceRecordToDB(&tr)
//
// //RdbDel(vals[i])
// }
//
// }
// }
// time.Sleep(time.Second * 5)
// }
// }
// DataBase Connnection
//func QueryMultiRowDemo() {
// //InitMysql()
// sqlStr := "SELECT id,sname,age FROM student WHERE id = ?"
// rows, err := dbc.Query(sqlStr, 1)
// if err != nil {
// log.Debugf("query failed, err:%v\n", err)
// return
// }
// // 非常重要:关闭rows释放持有的数据库链接
// defer rows.Close()
//
// // 循环读取结果集中的数据
// for rows.Next() {
// var u User
// err := rows.Scan(&u.id, &u.name, &u.age)
// if err != nil {
// log.Debugf("scan failed, err:%v\n", err)
// return
// }
// //log.Debugf("id:%d name:%s age:%d\n", u.id, u.name, u.age)
// }
//}
func ToHtml(path string, timestamp string, port string, ipDaTA []byte) {
log.Trace("byte数据:", ipDaTA)
encodedStr := hex.EncodeToString(ipDaTA)
// [72 101 108 108 111]
log.Trace(encodedStr)
command := fmt.Sprintf("/usr/local/bin/data2html -f %s -t %s -i %s -d %s", path, timestamp, port, encodedStr)
log.Trace("commm:", command)
cmd := exec.Command("sh", "-c", command)
_, err := cmd.CombinedOutput()
if err != nil {
log.Error("Error:can not obtain stdout pipe for command:", err)
return
}
//执行命令
}
func main() {
conf := config.GetYamlConfig()
log.InitLogger(conf.Logger.File, conf.Logger.Duration, conf.Logger.Count, "omc:captrace", config.GetLogLevel())
log.Debugf("OMC captrace version: %s\n", global.Version)
log.Infof("========================= OMC captrace startup =========================")
log.Infof("OMC captrace version: %s %s %s", global.Version, global.BuildTime, global.GoVer)
err := dborm.InitDbClient(conf.Database.Type, conf.Database.User, conf.Database.Password,
conf.Database.Host, conf.Database.Port, conf.Database.Name)
if err != nil {
fmt.Println("dborm.initDbClient err:", err)
os.Exit(2)
}
var wg sync.WaitGroup
wg.Add(1)
udpServer(conf.Gtp.Addr)
wg.Wait()
}
+112
View File
@@ -0,0 +1,112 @@
package config
import (
"flag"
"fmt"
"os"
"strings"
"ems.agt/lib/global"
"ems.agt/lib/log"
"gopkg.in/yaml.v3"
)
// Yaml struct of config
type YamlConfig struct {
Logger struct {
File string `yaml:"file"`
Level string `yaml:"level"`
Duration int `yaml:"duration"`
Count int `yaml:"count"`
} `yaml:"logger"`
Gtp struct {
Addr string `yaml:"addr"`
} `yaml:"gtp"`
Database struct {
Type string `yaml:"type"`
User string `yaml:"user"`
Password string `yaml:"password"`
Host string `yaml:"host"`
Port string `yaml:"port"`
Name string `yaml:"name"`
} `yaml:"database"`
}
var YamlConf YamlConfig
func ReadConfig(configFile string) {
yamlFile, err := os.ReadFile(configFile)
if err != nil {
fmt.Println("Read yaml config file error:", err)
os.Exit(2)
}
// fmt.Println("yamlfile:", string(yamlFile))
err = yaml.Unmarshal(yamlFile, &YamlConf)
if err != nil {
fmt.Println("Unmarshal error:", err)
os.Exit(3)
}
}
func WriteYamlConfig(newConfigData YamlConfig, configFile string) {
// 将配置转换回YAML数据
newYamlData, err := yaml.Marshal(&newConfigData)
if err != nil {
log.Errorf("Failed to marshal YAML: %v", err)
}
// 将新的YAML数据写入文件
err = os.WriteFile(configFile, newYamlData, 0644)
if err != nil {
log.Errorf("Failed to write YAML file: %v", err)
}
}
func GetYamlConfig() *YamlConfig {
return &YamlConf
}
func GetLogLevel() log.LogLevel {
var logLevel log.LogLevel
switch strings.ToLower(YamlConf.Logger.Level) {
case "trace":
logLevel = log.LOG_TRACE
case "info":
logLevel = log.LOG_INFO
case "debug":
logLevel = log.LOG_DEBUG
case "warn":
logLevel = log.LOG_WARN
case "error":
logLevel = log.LOG_ERROR
case "fatal":
logLevel = log.LOG_FATAL
case "off":
logLevel = log.LOG_OFF
default:
logLevel = log.LOG_DEBUG
}
return logLevel
}
const defaultConfigFile = "./etc/capconf.yaml"
func init() {
cfile := flag.String("c", defaultConfigFile, "config file")
pv := flag.Bool("version", false, "print version")
ph := flag.Bool("help", false, "print help")
flag.Parse()
if *pv {
fmt.Printf("OMC captrace version: %s\n%s\n%s\n\n", global.Version, global.BuildTime, global.GoVer)
os.Exit(0)
}
if *ph {
flag.Usage()
os.Exit(0)
}
ReadConfig(*cfile)
}
+21
View File
@@ -0,0 +1,21 @@
# file: log file name
# level: /trace/debug/info/error/warn/error/fatal, default: debug
# duration: saved days, default is 30 days
logger:
file: d:/local.git/ems.agt/captrace/log/captrace.log
level: trace
duration: 24
count: 10
gtp:
addr: :2152
database:
type: mysql
user: root
password: 1000omc@kp!
host: 172.25.97.150
port: 33066
name: omc_db
+26
View File
@@ -0,0 +1,26 @@
# Makefile for rest agent project
PROJECT = OMC
VERSION = 1.6.2
PLATFORM = amd64
ARMPLATFORM = aarch64
BUILDDIR = ../../build
DEBBUILDDIR = ../../debbuild
RPMBUILDDIR = $(HOME)/goprojects/rpmbuild
INSTALLDIR = /usr/local/omc
RELEASEDIR = ../../release
LIBDIR = ems.agt/lib
BINNAME = captrace
.PHONY: build $(BINNAME)
build $(BINNAME):
go build -o $(BINNAME) -v -ldflags "-X '$(LIBDIR)/global.Version=$(VERSION)' \
-X '$(LIBDIR)/global.BuildTime=`date`' \
-X '$(LIBDIR)/global.GoVer=`go version`'"
run: $(BINNAME)
./$(BINNAME)
clean:
rm ./$(BINNAME)
+38
View File
@@ -0,0 +1,38 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
NhAAAAAwEAAQAAAYEAo8xNDB8tD9rEJhtTirwK8CxM0e+wcMT6fuDfTSgc/JRMjXIeM6B7
6Cw2lCSjwTME60nGZ8Yb0STXXuoc+WdEFcWaJVSlfeXzH4G/WCAsw3zxdwaYWnuavzwWFC
TX6wvUgI0Hh1eAgjusZOi1fDvzX8PLml8Lbjd8n6VFneZkVijHNxh1eL8Xq3yqCEGTenrS
4SBGImwIQidtT9LqFs2Ze3Hi5pBvuqq0Um8gtGwp6zd/sIzeG8LX5axBSZN10BrkW1bGC8
7sfpjJvadtvgiz0ZfxVDxd8eP8CgrKq+yQ0scfNB0j4ZOIP9Zwk6Q0fYQHxegPcMNr2v5P
IzHmDwTvDsHu3qyxGc74OVkAEd1o9OXiaSQ/fQXgvdUuSlugBUA3wx8Vlqa0om3fyY/XbX
LdqStmcVtKYfTiePX7UYc09YlYuFJycJxuf6i38Jek58fqp0NSH//ZWP/fXqwkwE8xUzEi
Jiq0c+wp7j5XMPFpMwmKViintJCS5C9nEQ+UIuMpAAAFiMzUaEPM1GhDAAAAB3NzaC1yc2
EAAAGBAKPMTQwfLQ/axCYbU4q8CvAsTNHvsHDE+n7g300oHPyUTI1yHjOge+gsNpQko8Ez
BOtJxmfGG9Ek117qHPlnRBXFmiVUpX3l8x+Bv1ggLMN88XcGmFp7mr88FhQk1+sL1ICNB4
dXgII7rGTotXw781/Dy5pfC243fJ+lRZ3mZFYoxzcYdXi/F6t8qghBk3p60uEgRiJsCEIn
bU/S6hbNmXtx4uaQb7qqtFJvILRsKes3f7CM3hvC1+WsQUmTddAa5FtWxgvO7H6Yyb2nbb
4Is9GX8VQ8XfHj/AoKyqvskNLHHzQdI+GTiD/WcJOkNH2EB8XoD3DDa9r+TyMx5g8E7w7B
7t6ssRnO+DlZABHdaPTl4mkkP30F4L3VLkpboAVAN8MfFZamtKJt38mP121y3akrZnFbSm
H04nj1+1GHNPWJWLhScnCcbn+ot/CXpOfH6qdDUh//2Vj/316sJMBPMVMxIiYqtHPsKe4+
VzDxaTMJilYop7SQkuQvZxEPlCLjKQAAAAMBAAEAAAGATRJTapG8zUn9o4SWIaBrcSkXGG
0000sMJuk+iPqH8R0CjEeXCGnKA6vSHpDC8KRF+0QidC/WZOl14XY9HelGMwxghJI4sG2j
oT6WvyuchHtkzsGurFyeqr7mEKJpanKNkdNKKJe2oxDbBDwvMP6wfG4PflqccUbwf9nvUO
XYbmYPntAGbkNUKt+kze+1Khti4IUkGwxEMoSEvdubRBGH13r17dEmkWnDIUqi0+JVMxVR
IsyVsfBTUAFmUu1ssPgFnD81z9G9OTic2A5zd+QDfXlJWbjJACtuM/4IotkZZ/M6rsVlYn
AY8Vqfs/8C53giSF5R4iiR29FIU3Luts9dJJQyQ94rXunK00iifyh18qisBKwh9rjxYn3J
wFeZeXzKRg/cLuY1Z74QBWjWzukadvu7dC9bWFZ2k3zKBPTodcpXr1QDwFT4mgEYAFXbQN
8RjFGZrhr2jbsnoM71QlcGv9RjxMPNep+BwnYvPSZ1Piu3nmQqNtysg6ur3ZEHJeLVAAAA
wHZ5m4TECDOgkL138faHQycfd9Yi/Yj1akSwVvtGpiPd35ir1bOp52H/Ea3ymDwh6PvOSk
NjpvwqCXSX5nIQWrQQiDHMKA4pCfAtzbJ68fhWmfzWUaWGIcrnhnoxXzMYgXS/Gp6fwqOf
5JH4jm3uM5knXLTz0E0WofYnLgDo6CAuANl9bSQDfPYh8tuNndoQd9190r+15uLhv/pIM7
MsZzifBrE2cgSBIunIERdQbD9JwNCeDPIrV8aQbOJDyuJDbwAAAMEA1nYx8GVZM/0cSZqG
V9C4i6debJEep2k91z7XvjFRZJrTYYZavWJPEUmmqNjsJg0Bdad4g3SdK2iJ4W5CHzDm2S
Zn08j7on/ybcD2c1ZnXbwKrzPXRymc62xxwSDD95m/R5cSvN/Pmy57QfymQNPaNXMkhKq1
nzF56bljW0FHVFnrgUHpbLUOEc0QHXO4d2PaUNptLVxquOJI/VDW2GKKQWaIsdYKPJEDO9
GBe/LaUDzodd1s1isly86DLEgT2HwbAAAAwQDDhgO/kOI1N0jMOpE5gotcrhQc353jrP16
mKOdcp9MVHiioRybsyRdnbDIYKXbQz2ZRwmz2RBh55uPQjLcfi82GlIm2rdTL8KzP9vLpc
WAbZ7dcbv1lLyIlr4Yf33LgAChxJQTGNad771cwYFrtwTYk16O0Mdv302L0DgDTJUvhzJb
0ZuIk2nmzumSH1pOYmZl8Oa+UM7YSZNCWEpM7/S5laNISQ6dF/yy6Del2sQk/1/JCMUK0d
GLCkyCiaW9igsAAAASc2ltb25Ac2ltb256aGFuZ3N6AQ==
-----END OPENSSH PRIVATE KEY-----
+1
View File
@@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCjzE0MHy0P2sQmG1OKvArwLEzR77BwxPp+4N9NKBz8lEyNch4zoHvoLDaUJKPBMwTrScZnxhvRJNde6hz5Z0QVxZolVKV95fMfgb9YICzDfPF3Bphae5q/PBYUJNfrC9SAjQeHV4CCO6xk6LV8O/Nfw8uaXwtuN3yfpUWd5mRWKMc3GHV4vxerfKoIQZN6etLhIEYibAhCJ21P0uoWzZl7ceLmkG+6qrRSbyC0bCnrN3+wjN4bwtflrEFJk3XQGuRbVsYLzux+mMm9p22+CLPRl/FUPF3x4/wKCsqr7JDSxx80HSPhk4g/1nCTpDR9hAfF6A9ww2va/k8jMeYPBO8Owe7erLEZzvg5WQAR3Wj05eJpJD99BeC91S5KW6AFQDfDHxWWprSibd/Jj9dtct2pK2ZxW0ph9OJ49ftRhzT1iVi4UnJwnG5/qLfwl6Tnx+qnQ1If/9lY/99erCTATzFTMSImKrRz7CnuPlcw8WkzCYpWKKe0kJLkL2cRD5Qi4yk= simon@simonzhangsz
+38
View File
@@ -0,0 +1,38 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
NhAAAAAwEAAQAAAYEAo8xNDB8tD9rEJhtTirwK8CxM0e+wcMT6fuDfTSgc/JRMjXIeM6B7
6Cw2lCSjwTME60nGZ8Yb0STXXuoc+WdEFcWaJVSlfeXzH4G/WCAsw3zxdwaYWnuavzwWFC
TX6wvUgI0Hh1eAgjusZOi1fDvzX8PLml8Lbjd8n6VFneZkVijHNxh1eL8Xq3yqCEGTenrS
4SBGImwIQidtT9LqFs2Ze3Hi5pBvuqq0Um8gtGwp6zd/sIzeG8LX5axBSZN10BrkW1bGC8
7sfpjJvadtvgiz0ZfxVDxd8eP8CgrKq+yQ0scfNB0j4ZOIP9Zwk6Q0fYQHxegPcMNr2v5P
IzHmDwTvDsHu3qyxGc74OVkAEd1o9OXiaSQ/fQXgvdUuSlugBUA3wx8Vlqa0om3fyY/XbX
LdqStmcVtKYfTiePX7UYc09YlYuFJycJxuf6i38Jek58fqp0NSH//ZWP/fXqwkwE8xUzEi
Jiq0c+wp7j5XMPFpMwmKViintJCS5C9nEQ+UIuMpAAAFiMzUaEPM1GhDAAAAB3NzaC1yc2
EAAAGBAKPMTQwfLQ/axCYbU4q8CvAsTNHvsHDE+n7g300oHPyUTI1yHjOge+gsNpQko8Ez
BOtJxmfGG9Ek117qHPlnRBXFmiVUpX3l8x+Bv1ggLMN88XcGmFp7mr88FhQk1+sL1ICNB4
dXgII7rGTotXw781/Dy5pfC243fJ+lRZ3mZFYoxzcYdXi/F6t8qghBk3p60uEgRiJsCEIn
bU/S6hbNmXtx4uaQb7qqtFJvILRsKes3f7CM3hvC1+WsQUmTddAa5FtWxgvO7H6Yyb2nbb
4Is9GX8VQ8XfHj/AoKyqvskNLHHzQdI+GTiD/WcJOkNH2EB8XoD3DDa9r+TyMx5g8E7w7B
7t6ssRnO+DlZABHdaPTl4mkkP30F4L3VLkpboAVAN8MfFZamtKJt38mP121y3akrZnFbSm
H04nj1+1GHNPWJWLhScnCcbn+ot/CXpOfH6qdDUh//2Vj/316sJMBPMVMxIiYqtHPsKe4+
VzDxaTMJilYop7SQkuQvZxEPlCLjKQAAAAMBAAEAAAGATRJTapG8zUn9o4SWIaBrcSkXGG
0000sMJuk+iPqH8R0CjEeXCGnKA6vSHpDC8KRF+0QidC/WZOl14XY9HelGMwxghJI4sG2j
oT6WvyuchHtkzsGurFyeqr7mEKJpanKNkdNKKJe2oxDbBDwvMP6wfG4PflqccUbwf9nvUO
XYbmYPntAGbkNUKt+kze+1Khti4IUkGwxEMoSEvdubRBGH13r17dEmkWnDIUqi0+JVMxVR
IsyVsfBTUAFmUu1ssPgFnD81z9G9OTic2A5zd+QDfXlJWbjJACtuM/4IotkZZ/M6rsVlYn
AY8Vqfs/8C53giSF5R4iiR29FIU3Luts9dJJQyQ94rXunK00iifyh18qisBKwh9rjxYn3J
wFeZeXzKRg/cLuY1Z74QBWjWzukadvu7dC9bWFZ2k3zKBPTodcpXr1QDwFT4mgEYAFXbQN
8RjFGZrhr2jbsnoM71QlcGv9RjxMPNep+BwnYvPSZ1Piu3nmQqNtysg6ur3ZEHJeLVAAAA
wHZ5m4TECDOgkL138faHQycfd9Yi/Yj1akSwVvtGpiPd35ir1bOp52H/Ea3ymDwh6PvOSk
NjpvwqCXSX5nIQWrQQiDHMKA4pCfAtzbJ68fhWmfzWUaWGIcrnhnoxXzMYgXS/Gp6fwqOf
5JH4jm3uM5knXLTz0E0WofYnLgDo6CAuANl9bSQDfPYh8tuNndoQd9190r+15uLhv/pIM7
MsZzifBrE2cgSBIunIERdQbD9JwNCeDPIrV8aQbOJDyuJDbwAAAMEA1nYx8GVZM/0cSZqG
V9C4i6debJEep2k91z7XvjFRZJrTYYZavWJPEUmmqNjsJg0Bdad4g3SdK2iJ4W5CHzDm2S
Zn08j7on/ybcD2c1ZnXbwKrzPXRymc62xxwSDD95m/R5cSvN/Pmy57QfymQNPaNXMkhKq1
nzF56bljW0FHVFnrgUHpbLUOEc0QHXO4d2PaUNptLVxquOJI/VDW2GKKQWaIsdYKPJEDO9
GBe/LaUDzodd1s1isly86DLEgT2HwbAAAAwQDDhgO/kOI1N0jMOpE5gotcrhQc353jrP16
mKOdcp9MVHiioRybsyRdnbDIYKXbQz2ZRwmz2RBh55uPQjLcfi82GlIm2rdTL8KzP9vLpc
WAbZ7dcbv1lLyIlr4Yf33LgAChxJQTGNad771cwYFrtwTYk16O0Mdv302L0DgDTJUvhzJb
0ZuIk2nmzumSH1pOYmZl8Oa+UM7YSZNCWEpM7/S5laNISQ6dF/yy6Del2sQk/1/JCMUK0d
GLCkyCiaW9igsAAAASc2ltb25Ac2ltb256aGFuZ3N6AQ==
-----END OPENSSH PRIVATE KEY-----
+651
View File
@@ -0,0 +1,651 @@
omc:
systemManagement:
display: "System Management"
mml:
- operation: "dsp"
object: "sysInfo"
display: "Display NE System Information"
params:
- name: "neType"
alias: ""
type: "string"
optional: "false"
apostr: "false"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: ""
type: "string"
optional: "false"
filter: ""
display: "NE ID"
comment: ""
- operation: "dsp"
object: "licenseInfo"
display: "Display NE License Information"
params:
- name: "neType"
alias: ""
type: "string"
optional: "false"
apostr: "false"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: ""
type: "string"
optional: "false"
filter: ""
display: "NE ID"
comment: ""
neManagement:
display: "Network Element Management"
mml:
- operation: "lst"
object: "neInfo"
display: "List NE Information"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "NE ID"
comment: ""
- name: "rmUID"
alias: "rm_uid"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "Resource Management UID"
comment: ""
- operation: "lst"
object: "meMap"
display: "List Managed Element Map"
params:
- name: "rmUID"
alias: "rm_uid"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "Resource Management UID"
comment: ""
- operation: "add"
object: "neInfo"
display: "Add Network Element"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "NE ID"
comment: ""
- name: "rmUID"
alias: "rm_uid"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Resource Management UID"
comment: ""
- name: "ip"
alias: "ip"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "IP Address"
comment: ""
- name: "port"
alias: "port"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Port"
comment: ""
- name: "neName"
alias: "ne_name"
type: "string"
optional: "true"
apostr: "false"
loc: "false"
filter: ""
display: "NE name"
comment: ""
- name: "pvFlag"
alias: "pv_flag"
type: "string"
optional: "true"
apostr: "false"
loc: "false"
filter: ""
display: "Phisical/Virtual flag"
comment: ""
- operation: "mod"
object: "neInfo"
display: "Modify Network Element"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE ID"
comment: ""
- name: "rmUID"
alias: "rm_uid"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Resource Management UID"
comment: ""
- name: "ip"
alias: "ip"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "IP Address"
comment: ""
- name: "port"
alias: "port"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Port"
comment: ""
- name: "neName"
alias: "ne_name"
type: "string"
optional: "true"
apostr: "false"
loc: "false"
filter: ""
display: "NE name"
comment: ""
- name: "pvFlag"
alias: "pv_flag"
type: "string"
optional: "true"
apostr: "false"
loc: "false"
filter: ""
display: "Phisical/Virtual flag"
comment: ""
- operation: "del"
object: "neInfo"
display: "Delete Network Element"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "NE ID"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "NE ID"
comment: ""
faultManagement:
display: "Fault Management"
mml:
- operation: "dsp"
object: "alarms"
display: "Display Alarms Information"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE UID"
comment: ""
- name: "neName"
alias: "ne_name"
type: "int"
optional: "false"
apostr: "true"
filter: ""
display: "NE name"
comment: ""
- name: "alarmCode"
type: "int"
optional: "false"
apostr: "true"
filter: ""
display: "Alarm Code"
comment: ""
- name: "origSeverity"
type: "enum"
optional: "false"
apostr: "true"
filter: '{"Critical","Major","Minor","Warning","Event"}'
display: "Original Severity"
comment: ""
- name: "pvFlag"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "PV Flag"
comment: ""
- name: "startTime"
alias: "event_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Alarm Event Start Time"
comment: ""
- name: "endTime"
alias: "event_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Alarm Event End Time"
comment: ""
- name: "alarmType"
alias: "alarm_type"
type: "enum"
optional: "false"
apostr: "true"
filter: '{"CommunicationAlarm","EquipmentAlarm","ProcessingFailure","EnvironmentalAlarm","QualityOfServiceAlarm"}'
display: "Alarm Type"
comment: ""
- name: "alarmStatus"
alias: "alarm_status"
type: "int"
optional: "false"
apostr: "true"
filter: ""
display: "Alarm Status"
comment: ""
pmTaskManagement:
display: "Performance Measure Task Management"
mml:
- operation: "lst"
object: "measureTask"
display: "List Performance Measure Task"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "granulOption"
alias: "granul_option"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "Time Granularity"
comment: ""
- operation: "add"
object: "measureTask"
display: "Add Performance Measure Task"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "NE Type"
comment: ""
- name: "neIds"
alias: "ne_ids"
type: "array"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "NE ID Set"
comment: ""
- name: "kpiSet"
alias: "kpi_set"
type: "json"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "KPI Set"
comment: ""
- name: "startTime"
alias: "start_time"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Measure Task Start Time"
comment: ""
- name: "endTime"
alias: "end_time"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Measure Task End Time"
comment: ""
- operation: "mod"
object: "measureTask"
display: "Modify Performance Measure Task"
params:
- name: "Id"
alias: "id"
type: "string"
optional: "false"
apostr: "false"
loc: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "kpiSet"
alias: "kpi_set"
type: "json"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "KPI Set"
comment: ""
- name: "startTime"
alias: "start_time"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Measure Task Start Time"
comment: ""
- name: "endTime"
alias: "end_time"
type: "string"
optional: "false"
apostr: "false"
loc: "false"
filter: ""
display: "Measure Task End Time"
comment: ""
- name: "granulOption"
alias: "granul_option"
type: "string"
optional: "true"
apostr: "true"
loc: "false"
filter: ""
display: "Time Granularity"
comment: ""
pmDataManagement:
display: "Performance Data Management"
mml:
- operation: "lst"
object: "measureData"
display: "List Performance Data"
params:
- name: "ID"
alias: "id"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "Task ID"
comment: ""
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "startTime"
alias: "start_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Measure Period Start Time More Than"
comment: ""
- name: "endTime"
alias: "start_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Measure Period Start Time Less Than"
comment: ""
logManagement:
display: "Log Management"
mml:
- operation: "lst"
object: "systemLog"
display: "List System Log"
params:
- name: "processType"
alias: "process_type"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "Process Type"
comment: ""
- name: "startTime"
alias: "log_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time More Than"
comment: ""
- name: "endTime"
alias: "log_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time Less Than"
comment: ""
- operation: "lst"
object: "operationLog"
display: "List Operation Log"
params:
- name: "accountID"
alias: "account_name"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "Account ID"
comment: ""
- name: "startTime"
alias: "log_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time More Than"
comment: ""
- name: "endTime"
alias: "log_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time Less Than"
comment: ""
- operation: "lst"
object: "securityLog"
display: "List Security Log"
params:
- name: "accountID"
alias: "account_name"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "Account ID"
comment: ""
- name: "startTime"
alias: "op_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time More Than"
comment: ""
- name: "endTime"
alias: "op_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time Less Than"
comment: ""
- operation: "lst"
object: "alarmLog"
display: "List Alarm Log"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "true"
apostr: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "startTime"
alias: "op_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time More Than"
comment: ""
- name: "endTime"
alias: "op_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time Less Than"
comment: ""
- operation: "lst"
object: "eventlog"
display: "List NE Event Log"
params:
- name: "neType"
alias: "ne_type"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE Type"
comment: ""
- name: "neId"
alias: "ne_id"
type: "string"
optional: "false"
apostr: "true"
loc: "true"
filter: ""
display: "NE ID"
comment: ""
- name: "startTime"
alias: "log_time>="
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time More Than"
comment: ""
- name: "endTime"
alias: "log_time<"
type: "string"
optional: "false"
apostr: "true"
filter: ""
display: "Log Time Less Than"
comment: ""
+644
View File
@@ -0,0 +1,644 @@
{
"udm": {
"system": {
"display": "System",
"list": [
{
"name": "serviceIP",
"type": "ipv4",
"value": "172.16.5.140",
"access": "read-write",
"filter": "",
"display": "Service IP",
"comment": ""
},
{
"name": "servicePort",
"type": "int",
"value": "8080",
"access": "read-write",
"filter": "0~65535",
"display": "Service Port",
"comment": "0~65535"
},
{
"name": "nrfUri",
"type": "string",
"value": "http://172.16.5.180:8080",
"access": "read-write",
"filter": "",
"display": "NRF URI",
"comment": ""
},
{
"name": "ausfIP",
"type": "ipv4",
"value": "172.16.5.130",
"access": "read-write",
"filter": "",
"display": "AUSF IP",
"comment": ""
},
{
"name": "fqdn",
"type": "string",
"value": "agt.com",
"access": "read-write",
"filter": "",
"display": "fqdn",
"comment": ""
},
{
"name": "priority",
"type": "int",
"value": "1",
"access": "read-write",
"filter": "0~4095",
"display": "Priority",
"comment": "0~4095"
},
{
"name": "capacity",
"type": "int",
"value": "4096",
"access": "read-write",
"filter": "0~65535",
"display": "Capacity",
"comment": "0~65535"
},
{
"name": "groupId",
"type": "string",
"value": "0",
"access": "read-write",
"filter": "",
"display": "Group Id",
"comment": "0~31"
},
{
"name": "supiRanges",
"type": "regex",
"value": "imsi-001010100080000~imsi-001010100080099",
"access": "read-write",
"filter": "^imsi-\\d{15}~imsi-\\d{15}$",
"display": "SUPI Ranges",
"comment": ""
},
{
"name": "gpsiRanges",
"type": "regex",
"value": "msisdn-69072000~msisdn-69072099",
"access": "read-write",
"filter": "^msisdn-\\d{2,15}~msisdn-\\d{2,15}$",
"display": "GPSI Ranges",
"comment": ""
},
{
"name": "scheme",
"type": "enum",
"value": "http",
"access": "read-write",
"filter": "{\"0\":\"http\", \"1\":\"https\"}",
"display": "scheme",
"comment": ""
},
{
"name": "op0",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op0",
"comment": ""
},
{
"name": "op1",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op1",
"comment": ""
},
{
"name": "op2",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op2",
"comment": ""
},
{
"name": "op3",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op3",
"comment": ""
},
{
"name": "rlist0",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist0",
"comment": ""
},
{
"name": "rlist1",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist1",
"comment": ""
},
{
"name": "rlist2",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist2",
"comment": ""
},
{
"name": "rlist3",
"type": "regex",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist3",
"comment": ""
}
]
},
"subsUEAmbr": {
"display": "Subs UE AMBR",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "^\\d{1,2}$",
"display": "Index",
"comment": "1~16"
},
{
"name": "name",
"type": "string",
"value": "def_ambr",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "1~32"
},
{
"name": "uplink",
"type": "string",
"value": "1Gbps",
"access": "read-write",
"filter": "^\\d+(\\.\\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$",
"display": "Uplink",
"comment": ""
},
{
"name": "downlink",
"type": "string",
"value": "2Gbps",
"access": "read-write",
"filter": "^\\d+(\\.\\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$",
"display": "Downlink",
"comment": ""
}
]
},
"subsNssais": {
"display": "Subs Nssais",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "^\\d{1,2}$",
"display": "Index",
"comment": "1~16"
},
{
"name": "name",
"type": "string",
"value": "def_nssai",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "1~32"
},
{
"name": "supportedFeatures",
"type": "string",
"value": "1",
"access": "read-write",
"filter": "8~8",
"display": "Supported Features",
"comment": "8~8"
},
{
"name": "defaultSingleNSSAIs",
"type": "string",
"value": "1-000001",
"access": "read-write",
"filter": "",
"display": "Default Single NSSAIs",
"comment": "0~128"
},
{
"name": "singleNssais",
"type": "string",
"value": "1-000002",
"access": "read-write",
"filter": "",
"display": "Single Nssais",
"comment": "0~128"
}
]
},
"forbiddenAreas": {
"display": "Forbidden Areas",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "^\\d{1,2}$",
"display": "Index",
"comment": "1~16"
},
{
"name": "name",
"type": "string",
"value": "def_ambr",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "1~32"
},
{
"name": "tacs",
"type": "string",
"value": "123",
"access": "read-write",
"filter": "",
"display": "TACs",
"comment": "0~128"
},
{
"name": "areaCodes",
"type": "string",
"value": "123456",
"access": "read-write",
"filter": "",
"display": "AreaCodes",
"comment": "0~128"
}
]
},
"serviceAreaRestriction": {
"display": "Service Area Restriction",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "^\\d{1,2}$",
"display": "Index",
"comment": "1~16"
},
{
"name": "name",
"type": "string",
"value": "def_ambr",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "1~32"
},
{
"name": "restrictionType",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"allowedAreas\", \"1\":\"notAllowedAreas\"}",
"display": "Restriction Type",
"comment": "0~128"
},
{
"name": "tacs",
"type": "string",
"value": "123",
"access": "read-write",
"filter": "",
"display": "TACs",
"comment": "0~128"
},
{
"name": "areaCodes",
"type": "string",
"value": "123456",
"access": "read-write",
"filter": "",
"display": "AreaCodes",
"comment": "0~128"
},
{
"name": "maxTAs",
"type": "int",
"value": "1",
"access": "read-write",
"filter": "^\\d{1,2}$",
"display": "Max TAs",
"comment": "0~32"
}
]
},
"smfSelection": {
"display": "Subs Smf Selection",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "1~16",
"display": "Index",
"comment": "1~16"
},
{
"name": "name",
"type": "string",
"value": "def_snssai",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "0~32"
},
{
"name": "snssai",
"type": "string",
"value": "1-000001",
"access": "read-write",
"filter": "^\\d{1,3}[A-Fa-f0-9]{6}$",
"display": "Snssai",
"comment": ""
},
{
"name": "dnnList",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "1~4",
"display": "Dnn List",
"comment": "",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "1~4",
"display": "index",
"comment": "1~4"
},
{
"name": "dnn",
"type": "string",
"value": "cmnet",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Dnn",
"comment": "0~32"
},
{
"name": "defaultDnnInd",
"type": "bool",
"value": "true",
"access": "read-write",
"filter": "false;true;",
"display": "default Dnn Indicator",
"comment": ""
},
{
"name": "lboRoamingAllowed",
"type": "bool",
"value": "false",
"access": "read-write",
"filter": "false;true;",
"display": "LBO Roaming Allowed",
"comment": "LBO Roaming Allowed"
},
{
"name": "iwkEpsInd",
"type": "bool",
"value": "false",
"access": "read-write",
"filter": "false;true;",
"display": "Iwk EPS Ind",
"comment": "Iwk EPS Ind"
},
{
"name": "ladnIndicator",
"type": "bool",
"value": "false",
"access": "read-write",
"filter": "false;true;",
"display": "LADN Indicator",
"comment": "LADN Indicator"
}
]
}
]
},
"dnn": {
"display": "Dnn Conf",
"array": [
{
"name": "index",
"type": "int",
"value": "1",
"access": "read-only",
"filter": "^\\d{1,2}$",
"display": "Index",
"comment": "1~16"
},
{
"name": "name",
"type": "string",
"value": "def_nssai",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "1~32"
},
{
"name": "defaultPDUSessionType",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"ipv4\",\"1\":\"ipv6\",\"2\":\"ipv4v6\",\"3\":\"ethernet\",\"4\":\"unstruction\"}",
"display": "Default PDU Session Type",
"comment": ""
},
{
"name": "allowedPDUSessionTypes",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"ipv4\",\"1\":\"ipv6\",\"2\":\"ipv4v6\",\"3\":\"ethernet\",\"4\":\"unstruction\",\"5\":\"ipv4andipv6\",\"6\":\"ipv4andipv4v6\",\"7\":\"ipv6andipv4v6\",\"8\":\"ipv4andipv6andipv4v6\"}",
"display": "Allowed PDU Session Types",
"comment": ""
},
{
"name": "defaultSSCmode",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"sscMode1\",\"1\":\"sscMode2\",\"2\":\"sscMode3\"}",
"display": "Default SSC Mode",
"comment": "1~16"
},
{
"name": "allowedSSCmodes",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"sscMode1\",\"1\":\"sscMode2\",\"2\":\"sscMode3\",\"3\":\"sscMode1sscMode2\",\"4\":\"sscMode1sscMode3\",\"5\":\"sscMode2sscMode3\",\"6\":\"sscMode1sscMode2sscMode3\"}",
"display": "Allowed SSC Modes",
"comment": "1~16"
},
{
"name": "interworkingEPSIndicator",
"type": "bool",
"value": "1",
"access": "read-write",
"filter": "",
"display": "Interworking EPS Indicator",
"comment": ""
},
{
"name": "ladnIndicator",
"type": "bool",
"value": "1",
"access": "read-write",
"filter": "",
"display": "LADN Indicator",
"comment": ""
},
{
"name": "chargingCharacteristics",
"type": "string",
"value": "0001",
"access": "read-write",
"filter": "4~4",
"display": "Charging Characteristics",
"comment": "4~4"
},
{
"name": "subscribedSessionAmbrUL",
"type": "regex",
"value": "1Gbps",
"access": "read-write",
"filter": "^\\d+(\\.\\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$",
"display": "Subscribed Session Ambr UL",
"comment": ""
},
{
"name": "subscribedSessionAmbrDL",
"type": "regex",
"value": "2Gbps",
"access": "read-write",
"filter": "^\\d+(\\.\\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$",
"display": "Subscribed Session Ambr DL",
"comment": ""
},
{
"name": "staticIPAddress",
"type": "ipv4",
"value": "192.168.1.100",
"access": "read-write",
"filter": "",
"display": "Static IP Address",
"comment": ""
},
{
"name": "userPlaneIntegrity",
"type": "enum",
"value": "3",
"access": "read-write",
"filter": "{\"0\":\"null\",\"1\":\"required\",\"2\":\"preferred\",\"3\":\"notNeeded\"}",
"display": "User Plane Integrity",
"comment": ""
},
{
"name": "userPlaneConfidentiality",
"type": "enum",
"value": "3",
"access": "read-write",
"filter": "{\"0\":\"null\",\"1\":\"required\",\"2\":\"preferred\",\"3\":\"notNeeded\"}",
"display": "User Plane Confidentiality",
"comment": ""
},
{
"name": "5qi",
"type": "int",
"value": "9",
"access": "read-write",
"filter": "0~255",
"display": "5qi",
"comment": ""
},
{
"name": "priorityLevel",
"type": "int",
"value": "9",
"access": "read-write",
"filter": "1~127",
"display": "Priority Level",
"comment": ""
},
{
"name": "arpPriorityLevel",
"type": "int",
"value": "6",
"access": "read-write",
"filter": "0~255",
"display": "ARP Priority Level",
"comment": ""
},
{
"name": "arpPreemptCap",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"notPreempt\",\"1\":\"mayPreempt\"}",
"display": "ARP PreemptCap",
"comment": ""
},
{
"name": "arpPreemptVuln",
"type": "enum",
"value": "0",
"access": "read-write",
"filter": "{\"0\":\"notPreemptable\",\"1\":\"preemptable\"}",
"display": "ARP PreemptVuln",
"comment": ""
}
]
}
}
}
@@ -0,0 +1,96 @@
{
"array": [
{
"name": "index",
"type": "int",
"value": "0",
"access": "read-write",
"filter": "0~15",
"display": "Index",
"comment": "0~15"
},
{
"name": "name",
"type": "string",
"value": "def_ambr",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "0~32"
},
{
"name": "snssai",
"type": "string",
"value": "1-000001",
"access": "read-write",
"filter": "^\\d{1,3}[A-Fa-f0-9]{6}$",
"display": "Snssai",
"comment": ""
},
{
"name": "dnnList",
"type": "int",
"value": "0",
"access": "read-write",
"filter": "0~3",
"display": "Dnn List",
"comment": "",
"array": [
{
"name": "index",
"type": "int",
"value": "0",
"access": "read-write",
"filter": "0~15",
"display": "index",
"comment": "0~15"
},
{
"name": "dnn",
"type": "string",
"value": "cmnet",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Dnn",
"comment": "0~32"
},
{
"name": "defaultDnnInd",
"type": "bool",
"value": "true",
"access": "read-write",
"filter": "false;true;",
"display": "default Dnn Indicator",
"comment": ""
},
{
"name": "lboRoamingAllowed",
"type": "bool",
"value": "false",
"access": "read-write",
"filter": "{0\": \"false\", \"1\": \"true\"}",
"display": "LBO Roaming Allowed",
"comment": "LBO Roaming Allowed"
},
{
"name": "iwkEpsInd",
"type": "bool",
"value": "false",
"access": "read-write",
"filter": "{\"0\": \"false\", \"1\": \"true\"}",
"display": "Iwk EPS Ind",
"comment": "Iwk EPS Ind"
},
{
"name": "ladnIndicator",
"type": "bool",
"value": "false",
"access": "read-write",
"filter": "{\"0\": \"false\", \"1\": \"true\"}",
"display": "LADN Indicator",
"comment": "LADN Indicator"
}
]
}
]
}
@@ -0,0 +1,40 @@
{
"array": [
{
"name": "index",
"type": "int",
"value": "0",
"access": "read-write",
"filter": "0~15",
"display": "Index",
"comment": "0~15"
},
{
"name": "name",
"type": "string",
"value": "def_ambr",
"access": "read-write",
"filter": "^.{1,32}$",
"display": "Name",
"comment": "1~32"
},
{
"name": "uplink",
"type": "string",
"value": "1Gbps",
"access": "read-write",
"filter": "^\\d+(\\.\\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$",
"display": "Uplink",
"comment": ""
},
{
"name": "downlink",
"type": "string",
"value": "2Gbps",
"access": "read-write",
"filter": "^\\d+(\\.\\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$",
"display": "Downlink",
"comment": ""
}
]
}
+175
View File
@@ -0,0 +1,175 @@
{
"list": [
{
"name": "serviceIP",
"type": "ipv4",
"value": "172.16.5.140",
"access": "read-write",
"filter": "",
"display": "Service IP",
"comment": ""
},
{
"name": "servicePort",
"type": "int",
"value": "8080",
"access": "read-write",
"filter": "0~65535",
"display": "Service Port",
"comment": "0~65535"
},
{
"name": "nrfUri",
"type": "regex",
"value": "http://172.16.5.180:8080",
"access": "read-write",
"filter": "^http(s?)\\:\\/\\/(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\:([0-9]|[1-9]\\d|[1-9]\\d{2}|[1-9]\\d{3}|[1-5]\\d{4}|6[0-4]\\d{3}|65[0-4]\\d{2}|655[0-2]\\d|6553[0-5])$",
"display": "NRF URI",
"comment": ""
},
{
"name": "ausfIP",
"type": "ipv4",
"value": "172.16.5.130",
"access": "read-write",
"filter": "",
"display": "AUSF IP",
"comment": ""
},
{
"name": "fqdn",
"type": "regex",
"value": "agt.com",
"access": "read-write",
"filter": "^([0-9A-Za-z]([-0-9A-Za-z]{0,61}[0-9A-Za-z])?\\.)+[A-Za-z]{2,63}\\.?$",
"display": "fqdn",
"comment": ""
},
{
"name": "priority",
"type": "int",
"value": "1",
"access": "read-write",
"filter": "0~4095",
"display": "Priority",
"comment": "0~4095"
},
{
"name": "capacity",
"type": "int",
"value": "4096",
"access": "read-write",
"filter": "0~65535",
"display": "Capacity",
"comment": "0~65535"
},
{
"name": "groupId",
"type": "int",
"value": "0",
"access": "read-write",
"filter": "0~31",
"display": "Group Id",
"comment": "0~31"
},
{
"name": "supiRanges",
"type": "regex",
"value": "imsi-001010100080000~imsi-001010100080099",
"access": "read-write",
"filter": "^imsi-\\d{15}~imsi-\\d{15}$",
"display": "SUPI Ranges",
"comment": ""
},
{
"name": "gpsiRanges",
"type": "string",
"value": "msisdn-69072000~msisdn-69072099",
"access": "read-write",
"filter": "^msisdn-\\d{2,15}~msisdn-\\d{2,15}$",
"display": "GPSI Ranges",
"comment": ""
},
{
"name": "scheme",
"type": "enum",
"value": 0,
"access": "read-write",
"filter": "{\"0\": \"http\", \"1\": \"https\"}",
"display": "scheme",
"comment": ""
},
{
"name": "op0",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op0",
"comment": ""
},
{
"name": "op1",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op1",
"comment": ""
},
{
"name": "op2",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op2",
"comment": ""
},
{
"name": "op3",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "32~32",
"display": "op3",
"comment": ""
},
{
"name": "rlist0",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist0",
"comment": ""
},
{
"name": "rlist1",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist1",
"comment": ""
},
{
"name": "rlist2",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist2",
"comment": ""
},
{
"name": "rlist3",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist3",
"comment": ""
}
]
}
@@ -0,0 +1,175 @@
{
"system": [
{
"name": "serviceIP",
"type": "ipv4",
"value": "172.16.5.140",
"access": "read-write",
"filter": "",
"display": "Service IP",
"comment": ""
},
{
"name": "servicePort",
"type": "int",
"value": "8080",
"access": "read-write",
"filter": "0~65535",
"display": "Service Port",
"comment": "0~65535"
},
{
"name": "nrfUri",
"type": "regex",
"value": "http://172.16.5.180:8080",
"access": "read-write",
"filter": "^http(s?)\\:\\/\\/(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\:([0-9]|[1-9]\\d|[1-9]\\d{2}|[1-9]\\d{3}|[1-5]\\d{4}|6[0-4]\\d{3}|65[0-4]\\d{2}|655[0-2]\\d|6553[0-5])$",
"display": "NRF URI",
"comment": ""
},
{
"name": "ausfIP",
"type": "ipv4",
"value": "172.16.5.130",
"access": "read-write",
"filter": "",
"display": "AUSF IP",
"comment": ""
},
{
"name": "fqdn",
"type": "regex",
"value": "agt.com",
"access": "read-write",
"filter": "^([0-9A-Za-z]([-0-9A-Za-z]{0,61}[0-9A-Za-z])?\\.)+[A-Za-z]{2,63}\\.?$",
"display": "fqdn",
"comment": ""
},
{
"name": "priority",
"type": "int",
"value": "1",
"access": "read-write",
"filter": "0~4095",
"display": "Priority",
"comment": "0~4095"
},
{
"name": "capacity",
"type": "int",
"value": "4096",
"access": "read-write",
"filter": "0~65535",
"display": "Capacity",
"comment": "0~65535"
},
{
"name": "groupId",
"type": "int",
"value": "0",
"access": "read-write",
"filter": "0~31",
"display": "Group Id",
"comment": "0~31"
},
{
"name": "supiRanges",
"type": "string",
"value": "imsi-001010100080000~imsi-001010100080099",
"access": "read-write",
"filter": "^imsi-\\d{15}~imsi-\\d{15}$",
"display": "SUPI Ranges",
"comment": ""
},
{
"name": "gpsiRanges",
"type": "string",
"value": "msisdn-69072000~msisdn-69072099",
"access": "read-write",
"filter": "^msisdn-\\d{2,15}~msisdn-\\d{2,15}$",
"display": "GPSI Ranges",
"comment": ""
},
{
"name": "scheme",
"type": "enum",
"value": 0,
"access": "read-write",
"filter": '{"0": "http", "1": "https"}',
"display": "scheme",
"comment": ""
},
{
"name": "op0",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op0",
"comment": ""
},
{
"name": "op1",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op1",
"comment": ""
},
{
"name": "op2",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{32}$",
"display": "op2",
"comment": ""
},
{
"name": "op3",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "32~32",
"display": "op3",
"comment": ""
},
{
"name": "rlist0",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist0",
"comment": ""
},
{
"name": "rlist1",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist1",
"comment": ""
},
{
"name": "rlist2",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist2",
"comment": ""
},
{
"name": "rlist3",
"type": "string",
"value": "7983658960860C9E56732E0B307E693B",
"access": "read-write",
"filter": "^[A-Fa-f0-9]{10}$",
"display": "rlist3",
"comment": ""
}
]
}
+49
View File
@@ -0,0 +1,49 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
AmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
AmfGuamiList: ""
SnssaiList: ""
MaxUser: ""
RelativeCapacity: ""
MaxGnbNum: ""
EpRpDynN8Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN11Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN12Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
+48
View File
@@ -0,0 +1,48 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
SmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
MaxPduSessions: ""
MaxQfi: ""
UpfList: ""
AddrPool:
Id: ""
UserLabel: ""
AddrType: "Static"
IpVersion: ""
AddrSegList: ""
EpRpDynN7Smf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN10Smf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
+39
View File
@@ -0,0 +1,39 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
UdmFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
UdrFunction:
Id: ""
UserLabel: ""
AddrType: "Static"
IpVersion: ""
AddrSegList: ""
AusfFunction:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
+141
View File
@@ -0,0 +1,141 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
InventoryUnitRack:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
MaxPduSessions: ""
MaxQfi: ""
UpfList: ""
InventoryUnitShelf:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
RackPosition: ""
InventoryUnitPack:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
PortsInformation: ""
PackPosition: ""
SlotsOccupied: ""
InventoryUnitHost:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
HostPosition: ""
NumberOfCpu: ""
MemSize: ""
HardDiskSize: ""
InventoryUnitAccessory:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
AccessoryPosition: ""
AccessoryType: ""
AddtionalInformation: ""
UpfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
MaxQosFlows: ""
MaxThroughput: ""
EpRpDynN9Upf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN3Upf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
AmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
UdrFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
AusfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+18
View File
@@ -0,0 +1,18 @@
-----BEGIN CERTIFICATE-----
MIIC4jCCAcqgAwIBAgICB+cwDQYJKoZIhvcNAQELBQAwEjEQMA4GA1UEAxMHUm9v
dCBDQTAeFw0yMzA4MTIxODA5MzZaFw0zMzA4MTIxODA5MzZaMBIxEDAOBgNVBAMT
B1Jvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCUTcFiT1GT
Zq9ROKTuWm6IfFthO6ysthEKevwkgJGDRCwF+K6rx3j7izTDfLkXum5OPbcd/yiE
B40Yrq9X2ckX260xG9PjDmGUaq8q5sza85Gg2hrW6wiLF9y8yYK3/v7716d0y6st
jt71pH554R98m0zHkbkmrFEagWR5cEoVM6MPZp2wdDnOFBBRiB1BrbHMpAFiKJ6s
oqm1yhUwCeeR/Hs09JF8KfOFhV4qAEVvE1cviHucCEvLBaG6xBzbKvYV2iOPu6u2
o818wphqmSZYoj3/O4/EyVgvj1VdSqmkTSudiiIhLAa8/2JKrW1v7wFQjRkwNwdf
h6UR5liIUwk7AgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTAD
AQH/MB0GA1UdDgQWBBRtEF/Jyw6Zz3v0K5uA6aMOr9LXRTANBgkqhkiG9w0BAQsF
AAOCAQEAErmFo6JjEoFZv8R2gwNUq7ln+YEh2hX4myLlNDfTpYeGnn2Ge70Kmb0o
dkSyanDd9tGImcbEOttWAYve3vetvN3g+GONbf5pV7ClIbVV5MsjN/aGwj/TQWhu
ttmfu9IV2b5HyFEM61eoHVrNoWiNpbNHTu5D/XF8sg5JkseTnJF06foykzAx28i6
JcttunYn5SoWTIS9Ydu07X7uBcTeFBcKfH0xg4QlsNppiM5lIxBbp0WjQ8jyWw+b
Lyef4N6hmiaOf6P6qwaVZkEBhK6MVf1zadURuUSWAkhwGFjA7IbjbJ7OfYLXkYp3
mIrXQzjxz6AfyOcY/FsgcaDLf5xbYw==
-----END CERTIFICATE-----
+27
View File
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAlE3BYk9Rk2avUTik7lpuiHxbYTusrLYRCnr8JICRg0QsBfiu
q8d4+4s0w3y5F7puTj23Hf8ohAeNGK6vV9nJF9utMRvT4w5hlGqvKubM2vORoNoa
1usIixfcvMmCt/7++9endMurLY7e9aR+eeEffJtMx5G5JqxRGoFkeXBKFTOjD2ad
sHQ5zhQQUYgdQa2xzKQBYiierKKptcoVMAnnkfx7NPSRfCnzhYVeKgBFbxNXL4h7
nAhLywWhusQc2yr2Fdojj7urtqPNfMKYapkmWKI9/zuPxMlYL49VXUqppE0rnYoi
ISwGvP9iSq1tb+8BUI0ZMDcHX4elEeZYiFMJOwIDAQABAoIBAFVJVhIsXVRwdBg4
hBkS5ogVRBPp1obIeYpWadSwH36m4M5aUlE1eKzoRGK7wlIUA8V5FmroxysOkKUG
KI5UD6Jp0fLw9uyX46QPqkb4zgyIkFI5u7+nEJW1Flt3Y3Ze7dJ1FbdEPWAIzs3j
WFzNC2eEhCYs9pZ3+HhOuzJfUitYU6ts83tazSms+7E027e/v2ubtYOzluEoj4YK
MM+ocqJOlXUOhyTATDaLs4fM567bwwFeriODQqmMIhXLf3HiBPfPYhoAlwPUV51L
bAjIPwG2/jy0yXPenYOUqSMP1i+XkyTL4eVqOLLQUI+BsEaToS8M7Lf4KRQE0vQm
uAkEA9ECgYEAxCsKXtkYXrma8UziSJgQBj88TfACyuYZBPkpBFJhffPVOreYzqmn
gsE38oHlLhCrezsxvScivS/Cwt7kgBTE9r6xmH8y2f0P3PNmtazQCqovG1gsNZ1t
9PZQmxbVUfx/7KRJ1Q5zX3x5C0P2c6XYv/1h/SQQ8PYXDhRxWZFVSikCgYEAwYlt
AoP8j6yHDMk10vJd0fKT1lztcHcQLvH3HQn2kHci2GCxySvcac49hpXTDeNdUzcQ
I9UWo1MggNojME3WHUTiZD5DYUzuNUBTkc0kMHWy79/YNAzvF9312MSyJ0NlytBQ
ISh0z0sPSxDjW+XCi/8LGu1rrremBqvh0rNIrMMCgYEAt+C8VNHcZRZHpX3y8icP
hjuKFGgwxe3Pb/j5uKJb3ktMCUEFjFo8uXTSM5AMuhRIGTgQVIS1rG5zemSh/Wj6
g2uWXyKEEQ+D6hGBqjP1wrlpdJE+x3btFdw5DFbn2HT9mF0bFAn6nXu4npWzEw5X
UQd67WT8OFIEpF8HLPTs5JkCgYBQlL6dmITU8Vm9mh1d+mnT23NwgnqeJATJ9xcT
sS1HE0Of4grEHw4Dw8pcOg+JLcyStE91C+kEEb1ryOdz2kS3JRI5+K6nWZeo9mKV
R1u1DZx2QbZMXcJDJriRC7y9mlNMsZVbaPPRx4fTknGHts9c6NEf4hC+y1pGVtSM
nPc6bwKBgQCrtb6srow9o0acH7mMmieDuqvT8DQ6rHWoizgneZTuvIo6SPO6nRnR
jfgfQkqr9IiLh9awSblQEN9fnddog7a1yS4cUZueiP5dmtFvp4B9Scnt+BoHpOLk
rrU2i7grAye4Cd003+pqhSERGCKSzb3fTSYiMypKsxeH2bs8nrRu2A==
-----END RSA PRIVATE KEY-----
+8
View File
@@ -0,0 +1,8 @@
-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAlE3BYk9Rk2avUTik7lpuiHxbYTusrLYRCnr8JICRg0QsBfiuq8d4
+4s0w3y5F7puTj23Hf8ohAeNGK6vV9nJF9utMRvT4w5hlGqvKubM2vORoNoa1usI
ixfcvMmCt/7++9endMurLY7e9aR+eeEffJtMx5G5JqxRGoFkeXBKFTOjD2adsHQ5
zhQQUYgdQa2xzKQBYiierKKptcoVMAnnkfx7NPSRfCnzhYVeKgBFbxNXL4h7nAhL
ywWhusQc2yr2Fdojj7urtqPNfMKYapkmWKI9/zuPxMlYL49VXUqppE0rnYoiISwG
vP9iSq1tb+8BUI0ZMDcHX4elEeZYiFMJOwIDAQAB
-----END RSA PUBLIC KEY-----
+30
View File
@@ -0,0 +1,30 @@
-----BEGIN CERTIFICATE-----
MIIFKTCCAxGgAwIBAgIUIN48tRvspOjaIxbavyrZ/M7IvacwDQYJKoZIhvcNAQEL
BQAwHjELMAkGA1UEBhMCQ04xDzANBgNVBAMMBlJvb3RDQTAgFw0yMzA4MjIwMzQw
MDVaGA8yMTIzMDcyOTAzNDAwNVowHjELMAkGA1UEBhMCQ04xDzANBgNVBAMMBlJv
b3RDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBALzyKbRc0hIDXsnI
Yo0DLjfGexwFmhgE6jFR6EWc4V2jVenkTrEahzpKYkhf2SrnEZuuZN/XU0JDAzUE
k8sNF6AUQOAQ6rwaHLB8ZZVEbl8F49F376RGAicg/AzIPytL1ebT1WR8YxoQgd6i
+B7H+6zcKDS8RREwpuVngNdVJ7/mUsxDFPVGpOsQQUsEdkZb/S7txRktHYBAXmiX
fZFC6aL/L9tXKJDcDiTQTyRuA08+uzFxgCF6/8XL8PD8+i8FzZLl0enadDy4ZiLA
pk+vrFmre+ETHHPf4lI1Ptz3fPNsvCS1HO73SJTgpGK0zpcvB32EqPuhPEKy33C0
dsY+CQcuACvhEk1EQjsSXkuoaPCV/aCmBhS3AMMRuD+73rs9G2DbJQc2KTkyiqM6
FO9MNGKUHDIEE9O8iBqagBZ7XXqwcf0zr+YdjT47RAM31uROKBECipc0BOSEHJ3w
sjMjLvqDHpP5NeoTnAIVt6djGQK8AWRKuICCtJ59llSmAMWjvsT4VD6ooVRln6ye
j6tLzlnmZvtxEmdOXL/Y7A/HnEb+uAtifsOvZUw/CQpdHRsrUdNUSOozTW/uXgp3
5lHx9B6HWuxOGagxaaLhD8W5TsqjdSc2BqX23Up/p84RaLrwHjXaesTq7Y/Ckd8T
wIfUc2HtdtFt7YrBr3pkJeI/HjcNAgMBAAGjXTBbMB0GA1UdDgQWBBSr39jHWOmo
14F/m0G/Irn6oVwNTzAfBgNVHSMEGDAWgBSr39jHWOmo14F/m0G/Irn6oVwNTzAM
BgNVHRMEBTADAQH/MAsGA1UdDwQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAE+Br
fsui1ac9meqmgTPnwG91GhqITmVBKwLpwJ3vNHqU/6SOlsw31GZ689kxpOYsMh19
PwYQ9OYQmz2LGbiVgf3m/mG9S4dnGQecqEAt0WBgYOOJ+tWwmtaDa1y1KEKJIGx2
R4NYmlihSqobgl3f7/WWtwZM9BZCFAubh757gOiDFDgTukbJxfFVIRy8MVWg5Voz
KZK1toIVI617SignK65L4JbdEPgnD803vYsmn+Mk5PvKLVd1jB/M/Sqxd1W7gqr5
nIT+WRJIs4SONQkxEP3e5aO2OQyify37a9P1IW8bPOtvZeQKnTSMIwVVyQV+Y6Az
4+a74ngLRAgk4ek9wycIHtv9ZzN0o6vwWBQ73DqyLLY2IVX/8LtrNO6LE9TpoMCa
tGVLZ1M5d1/eVYZC60y/lst/MRUyGgvB9tjiaNxo0Ni9quFifPAq/zx9AWo+7nIP
0RAahOvRZE5NM5LmgaVvMTXYflkfBXChDwL0gXa6rBt5y3/htZ8Cw1Tqi1v3Kv1s
hnD+zMD/Okrp76ZA/N2wib0p1Is1t+CFGdcmFOVEzkxXK37RreWay3cmdlTrzF5P
8kGivh2WApouy97rrhJo7R8rpUplD37Z5SiqtlOfBUaGIzpVapz19UTN5OTq10xo
yBSUGoQ/AGchVrHobdLPTgJNWU/L4QEPloEOGxg=
-----END CERTIFICATE-----
+30
View File
@@ -0,0 +1,30 @@
-----BEGIN CERTIFICATE-----
MIIFKTCCAxGgAwIBAgIUIN48tRvspOjaIxbavyrZ/M7IvacwDQYJKoZIhvcNAQEL
BQAwHjELMAkGA1UEBhMCQ04xDzANBgNVBAMMBlJvb3RDQTAgFw0yMzA4MjIwMzQw
MDVaGA8yMTIzMDcyOTAzNDAwNVowHjELMAkGA1UEBhMCQ04xDzANBgNVBAMMBlJv
b3RDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBALzyKbRc0hIDXsnI
Yo0DLjfGexwFmhgE6jFR6EWc4V2jVenkTrEahzpKYkhf2SrnEZuuZN/XU0JDAzUE
k8sNF6AUQOAQ6rwaHLB8ZZVEbl8F49F376RGAicg/AzIPytL1ebT1WR8YxoQgd6i
+B7H+6zcKDS8RREwpuVngNdVJ7/mUsxDFPVGpOsQQUsEdkZb/S7txRktHYBAXmiX
fZFC6aL/L9tXKJDcDiTQTyRuA08+uzFxgCF6/8XL8PD8+i8FzZLl0enadDy4ZiLA
pk+vrFmre+ETHHPf4lI1Ptz3fPNsvCS1HO73SJTgpGK0zpcvB32EqPuhPEKy33C0
dsY+CQcuACvhEk1EQjsSXkuoaPCV/aCmBhS3AMMRuD+73rs9G2DbJQc2KTkyiqM6
FO9MNGKUHDIEE9O8iBqagBZ7XXqwcf0zr+YdjT47RAM31uROKBECipc0BOSEHJ3w
sjMjLvqDHpP5NeoTnAIVt6djGQK8AWRKuICCtJ59llSmAMWjvsT4VD6ooVRln6ye
j6tLzlnmZvtxEmdOXL/Y7A/HnEb+uAtifsOvZUw/CQpdHRsrUdNUSOozTW/uXgp3
5lHx9B6HWuxOGagxaaLhD8W5TsqjdSc2BqX23Up/p84RaLrwHjXaesTq7Y/Ckd8T
wIfUc2HtdtFt7YrBr3pkJeI/HjcNAgMBAAGjXTBbMB0GA1UdDgQWBBSr39jHWOmo
14F/m0G/Irn6oVwNTzAfBgNVHSMEGDAWgBSr39jHWOmo14F/m0G/Irn6oVwNTzAM
BgNVHRMEBTADAQH/MAsGA1UdDwQEAwIBBjANBgkqhkiG9w0BAQsFAAOCAgEAE+Br
fsui1ac9meqmgTPnwG91GhqITmVBKwLpwJ3vNHqU/6SOlsw31GZ689kxpOYsMh19
PwYQ9OYQmz2LGbiVgf3m/mG9S4dnGQecqEAt0WBgYOOJ+tWwmtaDa1y1KEKJIGx2
R4NYmlihSqobgl3f7/WWtwZM9BZCFAubh757gOiDFDgTukbJxfFVIRy8MVWg5Voz
KZK1toIVI617SignK65L4JbdEPgnD803vYsmn+Mk5PvKLVd1jB/M/Sqxd1W7gqr5
nIT+WRJIs4SONQkxEP3e5aO2OQyify37a9P1IW8bPOtvZeQKnTSMIwVVyQV+Y6Az
4+a74ngLRAgk4ek9wycIHtv9ZzN0o6vwWBQ73DqyLLY2IVX/8LtrNO6LE9TpoMCa
tGVLZ1M5d1/eVYZC60y/lst/MRUyGgvB9tjiaNxo0Ni9quFifPAq/zx9AWo+7nIP
0RAahOvRZE5NM5LmgaVvMTXYflkfBXChDwL0gXa6rBt5y3/htZ8Cw1Tqi1v3Kv1s
hnD+zMD/Okrp76ZA/N2wib0p1Is1t+CFGdcmFOVEzkxXK37RreWay3cmdlTrzF5P
8kGivh2WApouy97rrhJo7R8rpUplD37Z5SiqtlOfBUaGIzpVapz19UTN5OTq10xo
yBSUGoQ/AGchVrHobdLPTgJNWU/L4QEPloEOGxg=
-----END CERTIFICATE-----
+26
View File
@@ -0,0 +1,26 @@
-----BEGIN CERTIFICATE-----
MIIEYDCCAkigAwIBAgIUGZ67LDulO9kcRtwAwQGEC1oV5NUwDQYJKoZIhvcNAQEL
BQAwHjELMAkGA1UEBhMCQ04xDzANBgNVBAMMBlJvb3RDQTAeFw0yMzA4MjIwMzQw
MjVaFw0yMzA4MjMwMzQwMjVaMDwxCzAJBgNVBAYTAkNOMQ0wCwYDVQQKDARUZXN0
MR4wHAYDVQQDDBVUaW1lc3RhbXAgQ2VydGlmaWNhdGUwggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQC1vnKPYHUYPQSvGmfgSxZQley/hvJZyY9dun3hYv1P
h5PydHqkwM6t6wS+f9WTm2RyCvfRJrwn356gKm3DoDePs7T2kIEwnljMFRT8HDEC
SujKz2MBBW/b9eU6Bz9sQ4XHmSTVE/mJF4DiMRxmflUPZ+Mis80XbpFO91tdhDHZ
f0RX5D9ihaS/WTnkOV+ISMxxK1PB/zITlxAk15irYsMM8dCq0iUy/B3+bcGH1YzL
aKqbFw+nrm6NTxYLo4q3ERtLl49l9UXXcoNMvB70fk6i4kXrn7+AEdb3SPCFX0hb
qxUbCrLLDWf5x5JM9+49tkyQ7N36TSj92Q+05jp/f1MdAgMBAAGjeDB2MB0GA1Ud
DgQWBBRghFzHbuyke/ayjjVJuSgPKzwfRTAfBgNVHSMEGDAWgBSr39jHWOmo14F/
m0G/Irn6oVwNTzAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIGwDAWBgNVHSUB
Af8EDDAKBggrBgEFBQcDCDANBgkqhkiG9w0BAQsFAAOCAgEAAvKfbV0s2AGHKgEX
X33/N5nV8v109fjmQ0tzN1UvnamxYQLpgCLILN0yeWP4E5LKmzPWnTXG10woEasp
pAtXqYtgZZbvfqlkaryS5IJ73F6uO0hJK7iUswnpGxm9fxS04hhvsx3YRQnaaJ0m
Ek5JpXNsdQVN87iyGtnzp1uHY2csdyw9XDCQxDDXJ3hvLBthHAADeX+h8JX7G3xc
u85ON+w/rVIJIMpPQKg5gvNVzA/krebToSmOS6+f2O1UUj4PxwPPfBHugepzZYpF
grWy1vzz2DAZdNQs39c10a5/C5VrH77V++SoQBfYzCAI7YhA/L6ONIKW4nP3zFX3
zMmevHYR/WzQlN8twJhyAx7Y6AEjZNnfS2CvZj6UWvVUFbcVD5N9qgLuZxdDezQt
RAsVcSN5q5FURl99oi3X9sGoq/rI47MEU96hSG4pfiBTlt6VbYyWvBLeRWLccLPi
KtvV3wd6F8bqp+U2d/XQFTyQ5jfZcrCVvIesv4euTq+kTypjjjLadgzsy56ivoAx
UvjcJFZ2HVoKpv1SusOMsgg5nZf4lhE5zxYQOtEwzhOXv4U81ctIVHOKYZdDefWm
wC7dTtH9NxaWQZu07Y27wihkBARdnW1azgWorwzKYcGFT+pwrAPRUScj/vqsJkUH
KagSCD6B6qh4zSj0UANX3V6QcfQ=
-----END CERTIFICATE-----
+26
View File
@@ -0,0 +1,26 @@
-----BEGIN CERTIFICATE-----
MIIEYDCCAkigAwIBAgIUGZ67LDulO9kcRtwAwQGEC1oV5NUwDQYJKoZIhvcNAQEL
BQAwHjELMAkGA1UEBhMCQ04xDzANBgNVBAMMBlJvb3RDQTAeFw0yMzA4MjIwMzQw
MjVaFw0yMzA4MjMwMzQwMjVaMDwxCzAJBgNVBAYTAkNOMQ0wCwYDVQQKDARUZXN0
MR4wHAYDVQQDDBVUaW1lc3RhbXAgQ2VydGlmaWNhdGUwggEiMA0GCSqGSIb3DQEB
AQUAA4IBDwAwggEKAoIBAQC1vnKPYHUYPQSvGmfgSxZQley/hvJZyY9dun3hYv1P
h5PydHqkwM6t6wS+f9WTm2RyCvfRJrwn356gKm3DoDePs7T2kIEwnljMFRT8HDEC
SujKz2MBBW/b9eU6Bz9sQ4XHmSTVE/mJF4DiMRxmflUPZ+Mis80XbpFO91tdhDHZ
f0RX5D9ihaS/WTnkOV+ISMxxK1PB/zITlxAk15irYsMM8dCq0iUy/B3+bcGH1YzL
aKqbFw+nrm6NTxYLo4q3ERtLl49l9UXXcoNMvB70fk6i4kXrn7+AEdb3SPCFX0hb
qxUbCrLLDWf5x5JM9+49tkyQ7N36TSj92Q+05jp/f1MdAgMBAAGjeDB2MB0GA1Ud
DgQWBBRghFzHbuyke/ayjjVJuSgPKzwfRTAfBgNVHSMEGDAWgBSr39jHWOmo14F/
m0G/Irn6oVwNTzAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIGwDAWBgNVHSUB
Af8EDDAKBggrBgEFBQcDCDANBgkqhkiG9w0BAQsFAAOCAgEAAvKfbV0s2AGHKgEX
X33/N5nV8v109fjmQ0tzN1UvnamxYQLpgCLILN0yeWP4E5LKmzPWnTXG10woEasp
pAtXqYtgZZbvfqlkaryS5IJ73F6uO0hJK7iUswnpGxm9fxS04hhvsx3YRQnaaJ0m
Ek5JpXNsdQVN87iyGtnzp1uHY2csdyw9XDCQxDDXJ3hvLBthHAADeX+h8JX7G3xc
u85ON+w/rVIJIMpPQKg5gvNVzA/krebToSmOS6+f2O1UUj4PxwPPfBHugepzZYpF
grWy1vzz2DAZdNQs39c10a5/C5VrH77V++SoQBfYzCAI7YhA/L6ONIKW4nP3zFX3
zMmevHYR/WzQlN8twJhyAx7Y6AEjZNnfS2CvZj6UWvVUFbcVD5N9qgLuZxdDezQt
RAsVcSN5q5FURl99oi3X9sGoq/rI47MEU96hSG4pfiBTlt6VbYyWvBLeRWLccLPi
KtvV3wd6F8bqp+U2d/XQFTyQ5jfZcrCVvIesv4euTq+kTypjjjLadgzsy56ivoAx
UvjcJFZ2HVoKpv1SusOMsgg5nZf4lhE5zxYQOtEwzhOXv4U81ctIVHOKYZdDefWm
wC7dTtH9NxaWQZu07Y27wihkBARdnW1azgWorwzKYcGFT+pwrAPRUScj/vqsJkUH
KagSCD6B6qh4zSj0UANX3V6QcfQ=
-----END CERTIFICATE-----
+27
View File
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAtb5yj2B1GD0Erxpn4EsWUJXsv4byWcmPXbp94WL9T4eT8nR6
pMDOresEvn/Vk5tkcgr30Sa8J9+eoCptw6A3j7O09pCBMJ5YzBUU/BwxAkroys9j
AQVv2/XlOgc/bEOFx5kk1RP5iReA4jEcZn5VD2fjIrPNF26RTvdbXYQx2X9EV+Q/
YoWkv1k55DlfiEjMcStTwf8yE5cQJNeYq2LDDPHQqtIlMvwd/m3Bh9WMy2iqmxcP
p65ujU8WC6OKtxEbS5ePZfVF13KDTLwe9H5OouJF65+/gBHW90jwhV9IW6sVGwqy
yw1n+ceSTPfuPbZMkOzd+k0o/dkPtOY6f39THQIDAQABAoIBADgq2YDSEJ4jDXWI
NZ4t1oGlM/ulGvUAw9v1rL2hOCQCBIkj0ltkcvtw7JBrNXhex9Yu6ZOr4u53v7BE
LJQOyd0RbtXcpvB9n3fC9C9ODx9kQzmaikBgi8dw4Rzj7Ifq/kdHXwizGaVyrBQ7
lUlfta4DL0EkTDf3pdS/wW7PUhCjLPEPH6GqkDilsIGGudDT5pqUVB/fkLq4rPl4
QhQixDCwTtesPMeMMCy+bjB5hojRzENZ9ste4eSpF0BJQyUjKLWkyCPjFZKtM1l8
C+fZT/tVeyMkGpOXywhtuYSaAeoeaqrPjvMzN1H3slx0i9J6lIS/T+94jXuA5Zbw
iXR6GAkCgYEA4D6K02Nnu1vk/NnhqK8AiP9gWUxArGaQ8BKkhAXEi7/oLhRfnJE0
eNgmZLKk4pMZmC9tf5WiBXdcHDZwjxequi02AtdU4p0emStJ7L/if3YLdWKCOdjw
3jkMdtHmQRT3bUFppKkH4n+EAg08QOT1HLoFVmcfKkjZQ9igbfFoAx8CgYEAz3sn
G6ZpF7wbxdWyPxuko9O8r9V6xFa6pWpuy5X1rVXUEy4u7pwn3D7xgOT3v83HdkIG
aRlIR8YbEcekpO+hqRPljvm3zYDsEXs4I1fBmnxSrO9aX0IImEabTCTuRAUZRGMe
Vzrk2rqCmuO0zDmBN+/uxqlK5us3wAguO+vbPkMCgYAgSIC9/BKkA4/M4yU8nq0q
C/H4CSVKbJ2zIkvzAc2Q/PjVIXO+W509RIkKeDmKsPi/UxylgIpJ1Sw6l4/O2e5n
TTj4Yb3DvjD4hiXnYpyeEwWFScBLybKrm3Ty6jcG6ZjRbthhr0AGWKtNjFA/W3b6
QsGf9cqj0McOoHJAQb/iqwKBgH9c0+bvQjflqw7IXUDMEUbX5U3yuAfqTWzZZuXm
Sgd7VlHn2btzdCyJHurGoybEhRqc8R52/J3CiD9j1DfDOfN2WUZpGGE4MLGSeCWJ
6ziP9Jhf3ZP4DxqazR3y1ag/kQEf7zIQ3wc90oqOGR/8dMwHpwWgSnByF6jz3J2/
7LfNAoGBAMJsi2nJF3jzWwZLY9pQQ2/Icdojk0yUE0a9skdh5R6MjpzwQ3FydbB0
PxUxfJlAjS06kV/URo11AdQZXm/QKyb8uJPyRppJ7DZ0vsiDWysElqUHX/E/H6kI
QaQvePQ59HcgkJVh9wFI5blHtTyMrGR76kmZN5ClL05ITkqdnWJp
-----END RSA PRIVATE KEY-----
+27
View File
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAtb5yj2B1GD0Erxpn4EsWUJXsv4byWcmPXbp94WL9T4eT8nR6
pMDOresEvn/Vk5tkcgr30Sa8J9+eoCptw6A3j7O09pCBMJ5YzBUU/BwxAkroys9j
AQVv2/XlOgc/bEOFx5kk1RP5iReA4jEcZn5VD2fjIrPNF26RTvdbXYQx2X9EV+Q/
YoWkv1k55DlfiEjMcStTwf8yE5cQJNeYq2LDDPHQqtIlMvwd/m3Bh9WMy2iqmxcP
p65ujU8WC6OKtxEbS5ePZfVF13KDTLwe9H5OouJF65+/gBHW90jwhV9IW6sVGwqy
yw1n+ceSTPfuPbZMkOzd+k0o/dkPtOY6f39THQIDAQABAoIBADgq2YDSEJ4jDXWI
NZ4t1oGlM/ulGvUAw9v1rL2hOCQCBIkj0ltkcvtw7JBrNXhex9Yu6ZOr4u53v7BE
LJQOyd0RbtXcpvB9n3fC9C9ODx9kQzmaikBgi8dw4Rzj7Ifq/kdHXwizGaVyrBQ7
lUlfta4DL0EkTDf3pdS/wW7PUhCjLPEPH6GqkDilsIGGudDT5pqUVB/fkLq4rPl4
QhQixDCwTtesPMeMMCy+bjB5hojRzENZ9ste4eSpF0BJQyUjKLWkyCPjFZKtM1l8
C+fZT/tVeyMkGpOXywhtuYSaAeoeaqrPjvMzN1H3slx0i9J6lIS/T+94jXuA5Zbw
iXR6GAkCgYEA4D6K02Nnu1vk/NnhqK8AiP9gWUxArGaQ8BKkhAXEi7/oLhRfnJE0
eNgmZLKk4pMZmC9tf5WiBXdcHDZwjxequi02AtdU4p0emStJ7L/if3YLdWKCOdjw
3jkMdtHmQRT3bUFppKkH4n+EAg08QOT1HLoFVmcfKkjZQ9igbfFoAx8CgYEAz3sn
G6ZpF7wbxdWyPxuko9O8r9V6xFa6pWpuy5X1rVXUEy4u7pwn3D7xgOT3v83HdkIG
aRlIR8YbEcekpO+hqRPljvm3zYDsEXs4I1fBmnxSrO9aX0IImEabTCTuRAUZRGMe
Vzrk2rqCmuO0zDmBN+/uxqlK5us3wAguO+vbPkMCgYAgSIC9/BKkA4/M4yU8nq0q
C/H4CSVKbJ2zIkvzAc2Q/PjVIXO+W509RIkKeDmKsPi/UxylgIpJ1Sw6l4/O2e5n
TTj4Yb3DvjD4hiXnYpyeEwWFScBLybKrm3Ty6jcG6ZjRbthhr0AGWKtNjFA/W3b6
QsGf9cqj0McOoHJAQb/iqwKBgH9c0+bvQjflqw7IXUDMEUbX5U3yuAfqTWzZZuXm
Sgd7VlHn2btzdCyJHurGoybEhRqc8R52/J3CiD9j1DfDOfN2WUZpGGE4MLGSeCWJ
6ziP9Jhf3ZP4DxqazR3y1ag/kQEf7zIQ3wc90oqOGR/8dMwHpwWgSnByF6jz3J2/
7LfNAoGBAMJsi2nJF3jzWwZLY9pQQ2/Icdojk0yUE0a9skdh5R6MjpzwQ3FydbB0
PxUxfJlAjS06kV/URo11AdQZXm/QKyb8uJPyRppJ7DZ0vsiDWysElqUHX/E/H6kI
QaQvePQ59HcgkJVh9wFI5blHtTyMrGR76kmZN5ClL05ITkqdnWJp
-----END RSA PRIVATE KEY-----
+49
View File
@@ -0,0 +1,49 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
AmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
AmfGuamiList: ""
SnssaiList: ""
MaxUser: ""
RelativeCapacity: ""
MaxGnbNum: ""
EpRpDynN8Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN11Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN12Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
+48
View File
@@ -0,0 +1,48 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
SmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
MaxPduSessions: ""
MaxQfi: ""
UpfList: ""
AddrPool:
Id: ""
UserLabel: ""
AddrType: "Static"
IpVersion: ""
AddrSegList: ""
EpRpDynN7Smf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN10Smf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
+39
View File
@@ -0,0 +1,39 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
UdmFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
UdrFunction:
Id: ""
UserLabel: ""
AddrType: "Static"
IpVersion: ""
AddrSegList: ""
AusfFunction:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
+141
View File
@@ -0,0 +1,141 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
InventoryUnitRack:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
MaxPduSessions: ""
MaxQfi: ""
UpfList: ""
InventoryUnitShelf:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
RackPosition: ""
InventoryUnitPack:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
PortsInformation: ""
PackPosition: ""
SlotsOccupied: ""
InventoryUnitHost:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
HostPosition: ""
NumberOfCpu: ""
MemSize: ""
HardDiskSize: ""
InventoryUnitAccessory:
Id: ""
UserLabel: ""
VendorUnitFamilyType: ""
VendorUnitTypeNumber: ""
VendorName: ""
SerialNumber: ""
VersionNumber: ""
DateOfManufacture: ""
DateOfLastService: ""
ManufacturerData: ""
AccessoryPosition: ""
AccessoryType: ""
AddtionalInformation: ""
UpfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
MaxQosFlows: ""
MaxThroughput: ""
EpRpDynN9Upf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN3Upf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
AmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
UdrFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
AusfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
+21
View File
@@ -0,0 +1,21 @@
# file: log file name
# level: /trace/debug/info/error/warn/error/fatal, default: debug
# duration: saved days, default is 30 days
logger:
file: /usr/local/omc/log/captrace.log
level: trace
duration: 24
count: 10
gtp:
addr: :2152
database:
type: mysql
user: root
password: 1000omc@kp!
host: 127.0.0.1
port: 33066
name: omc_db
+44
View File
@@ -0,0 +1,44 @@
# file: log file name
# level: /trace/debug/info/warn/error/fatal, default: debug
# duration: saved days, default is 30 days
logger:
file: /usr/local/omc/log/crontask.log
level: trace
duration: 24
count: 90
omc:
name: OMC01
hosturi: http://127.0.0.1:3030
hostno: A001
province: GD
netabbr: HX
vendor: ""
tasks:
file: /usr/local/omc/etc/tasks.yaml
database:
type: mysql
user: root
password: 1000omc@kp!
host: 127.0.0.1
port: 33066
name: omc_db
backup: /usr/local/omc/database
# northbound interface, cm/pm
# duration(day): saved days
# zipPeriods(day): periods of zip pm data file
nbi:
cm:
cfgfiledir: /usr/local/omc/etc/cm
xmlfiledir: /opt/omc/ftp
version: V1.0.1
duration: 30
pm:
cfgfiledir: /usr/local/omc/etc/pm
xmlfiledir: /opt/omc/ftp
version: V1.0.1
duration: 30
zipPeriods: 1
+152
View File
@@ -0,0 +1,152 @@
# file: log file name
# level: /trace/debug/info/warn/error/fatal, default: debug
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
logger:
file: /usr/local/omc/log/restagent.log
level: debug
duration: 24
count: 90
# rest agent listen ipv4/v6 and port, support multiple routines
# ip: 0.0.0.0 or ::0, support IPv4/v6
rest:
- ipv4: 0.0.0.0
ipv6:
port: 3030
- ipv4: 0.0.0.0
ipv6:
port: 4443
schema: https
caFile: /usr/local/omc/etc/certs/rootca.crt
certFile: /usr/local/omc/etc/certs/tsa-omc.crt
keyFile: /usr/local/omc/etc/certs/tsa-omc_pri.key
webServer:
enabled: true
rootDir: /usr/local/omc/htdocs/front
listen:
- addr: :8080
schema: http
- addr: :8443
schema: https
caFile: /usr/local/omc/etc/certs/rootca.crt
certFile: /usr/local/omc/etc/certs/tsa-omc.crt
keyFile: /usr/local/omc/etc/certs/tsa-omc_pri.key
database:
type: mysql
user: root
password: 1000omc@kp!
host: 127.0.0.1
port: 33066
name: omc_db
backup: /usr/local/omc/database
# Redis 缓存数据,数据源声明全小写
redis:
dataSource:
# OMC系统使用库
default:
port: 6379 # Redis port
host: "127.0.0.1" # Redis host
password: ""
db: 10 # Redis db_num
# UDM网元用户库
udmuser:
port: 6379 # Redis port
host: "127.0.0.1"
password: ""
db: 0 # Redis db_num
# 多个数据源时可以用这个指定默认的数据源
defaultDataSourceName: "default"
mml:
port: 4100
sleep: 200
user: admin
password: admin
mmlHome: ./mmlhome
upload: /home/agtuser
ne:
user: root
etcdir: /usr/local/etc
bindir: /usr/local/bin
omcdir: /usr/local/omc
scpdir: /tmp
licensedir: /usr/local/etc/{neType}/license
# chk2ne: true/false, if put OmcNeConfig parameters to NE
omc:
uriPrefix: /api/rest/oam
neType: OMC
neId: 001
rmUID: 4400HX101
neName: OMC
province: GD
vendor: ""
dn: 4600
chk2ne: false
sn: 13750650
checksign: false
backup: /usr/local/omc/backup
upload: /usr/local/omc/upload
frontUpload: /usr/local/omc/htdocs/front/upload
frontTraceDir: /usr/local/omc/htdocs/front/trace
software: /usr/local/omc/software
license: /usr/local/omc/license
gtpUri: gtp:192.168.2.119:2152
checkContentType: false
testMode: false
rbacMode: true
runDir: /usr/local/omc/run
# Alarm module setting
# Forward interface:
# email/sms
alarm:
forwardAlarm: true
email:
smtp: smtp@xxx.com
port: 25
user: smtpuser
password: smtpuser@omc
sms:
apiURL: http://smsc.xxx.com
accessKeyID: xxx
accessKeySecret: xxx
signName: XXX SMSC
templateCode: 1000
#User authorized information
# crypt: mysql/md5/bcrypt
# token: true/false to check accessToken
# expires for session, unit: second
# Support single/multiple session of user
auth:
crypt: bcrypt
token: true
expires: 1800
session: multiple
publicKey: /usr/local/omc/etc/certs/omc
privateKey: /usr/local/omc/etc/certs/omc
# Parameter for limit number
# rmuid_maxnum: the max number of rmUID, default: 50
# alarmid_maxnum: the max number of AlarmID, default: 50
# pmid_maxnum: the max number of pmID, default: 50
# subid_maxnum: the max number of subscription ID, default: 20
# uri_maxlen: the max length of uri, default: 8192
# rmuid_regexp: regexp pattern of rmUID
params:
rmuidmaxnum: 50
alarmidmaxnum: 50
pmidmaxnum: 50
subidmaxnum: 20
urimaxlen: 2100000
rmuidregexp: "[0-9]{4}[A-Z]{2}[A-Z]{2}[0-9A-Z]{1}[0-9A-Z]{3}[0-9A-Z]{1,16}"
testConfig:
enabled: true
file: /usr/local/omc/etc/testconfig.yaml
+51
View File
@@ -0,0 +1,51 @@
# file: log file name
# level: /trace/debug/info/warn/error/fatal, default: debug
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
logger:
file: /usr/local/omc/log/sshsvc.log
level: debug
duration: 24
count: 30
# file: MML log file name
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
# level: cmd/ret log cmd/log cmd & result
logmml:
file: /usr/local/omc/mmllog/omcmml.log
duration: 24
count: 30
level: cmd
# ssh service listen ipv4/v6 and port, support multiple routines
# ip: 0.0.0.0 or ::0, support IPv4/v6
# session: single/multiple session for one user
sshd:
listenAddr: 0.0.0.0
listenPort: 2222
privateKey: /usr/local/omc/.ssh/id_rsa
maxConnNum: 20
timeout: 1800
session: multiple
mmlHome: /usr/local/omc/mmlhome
database:
type: mysql
user: root
password: 1000omc@kp!
host: 127.0.0.1
port: 33066
name: omc_db
omc:
httpUri: http://127.0.0.1:3030
userCrypt: bcrypt
ne:
port: 4100
sleep: 200
user: admin
password: admin
+178
View File
@@ -0,0 +1,178 @@
# example:
# tasks:
# - name: test # task comment
# uri: # restful uri
# params: # params of url
# interval: 30 # do sometion in the interval
# unit: Seconds #Seconds/Minutes/Hours/Days/Weeks, Monday/Tuesday/.../Sunday,
# at: 00:10:00 # do at time such as xx:xx:xx
# do: HelloWorldTask # (Do what: callback function)
#
# Attention: must restart crontask after modified this file
#
tasks:
- name: test # task comment
status: Active #active/inactive
uri: # restful uri
params: # params of http url
body: # body of http request
interval: 60 # do sometion in the interval
unit: Seconds #Seconds/Minutes/Hours/Days/Weeks, Monday/Tuesday/.../Sunday,
at: 00:10:00 # do at time such as xx:xx:xx when unit such as Day/Days/Mondays...
do: TaskHelloWorld # (Do what: callback function)
- name: clear expired history alarm
uri: /api/rest/databaseManagement/v1/omc_db/alarm
params: WHERE=now()+>+ADDDATE(event_time,+interval+(SELECT+`value`+FROM+config+WHERE+config_tag='historyDuration')+day)+and+alarm_status='0'
interval: 1
unit: Days
at: 00:10:00
do: TaskDeleteExpiredRecord
- name: clear expired history gold_kpi
uri: /api/rest/databaseManagement/v1/omc_db/gold_kpi
params: WHERE=now()+>+ADDDATE(`date`,+interval+IFNULL((SELECT+`value`+FROM+config+WHERE+config_tag='goldKpiDuration'),7)+day)
interval: 1
unit: Days
at: 00:12:00
do: TaskDeleteExpiredRecord
- name: clear deleted custom pm kpi
uri: /api/rest/databaseManagement/v1/omc_db/pm_custom_title
params: WHERE=now()+>+ADDDATE(update_time,+interval+(SELECT+`value`+FROM+config+WHERE+config_tag='keepPMCKpi')+day)+and+status='Deleted'
interval: 1
unit: Days
at: 00:15:00
do: TaskDeleteExpiredRecord
- name: update expired user session
uri: /api/rest/databaseManagement/v1/omc_db/session
params: WHERE=NOW()+>+ADDDATE(shake_time,+interval+expires+second)+and+status='online'
body: '{"session":{"status":"offline"}}'
interval: 30
unit: Seconds
at:
do: TaskUpdateTable
- name: clear expired log
uri:
params:
interval: 1
unit: Days
at: 00:50:00
do: TaskDeleteExpiredRecord
- name: Backup measure data
uri: /api/rest/databaseManagement/v1/omc_db/measure_data
params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'id','date','task_id','ne_name','rm_uid','ne_type','granul_option','kpi_code','kpi_id','kpi_ext','start_time','end_time','value','timestamp'+union+select+id,date,task_id,ne_name,rm_uid,ne_type,granul_option,kpi_code,kpi_id,kpi_ext,start_time,end_time,value,timestamp+from+measure_data)+b
interval: 1
unit: Days
at: 00:20:00
do: TaskDBBackupCSVGetBySQL
- name: Backup operation log
uri: /api/rest/databaseManagement/v1/omc_db/operation_log
params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'op_id','account_name','op_ip','subsys_tag','op_type','op_content','op_result','begin_time','end_time','vnf_flag','log_time'+union+select+op_id,account_name,op_ip,subsys_tag,op_type,op_content,op_result,begin_time,end_time,vnf_flag,log_time+from+operation_log)+b
interval: 1
unit: Days
at: 00:26:00
do: TaskDBBackupCSVGetBySQL
- name: Backup security log
uri: /api/rest/databaseManagement/v1/omc_db/security_log
params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'id','account_name','account_type','op_ip','op_type','op_content','op_result','op_time'+union+select+id,account_name,account_type,op_ip,op_type,op_content,op_result,op_time+from+security_log)+b
interval: 1
unit: Days
at: 00:28:00
do: TaskDBBackupCSVGetBySQL
- name: Backup alarm log
uri: /api/rest/databaseManagement/v1/omc_db/alarm_log
params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'id','ne_type','ne_id','alarm_seq','alarm_id','alarm_code','alarm_status','event_time','log_time'+union+select+id,ne_type,ne_id,alarm_seq,alarm_id,alarm_code,alarm_status,event_time,log_time+from+alarm_log)+b
interval: 1
unit: Days
at: 00:30:00
do: TaskDBBackupCSVGetBySQL
- name: handshake to NF
status: Active
uri: /api/rest/systemManagement/v1/elementType/%s/objectType/systemState
params:
interval: 10
unit: Seconds
at:
do: TaskHandShakeToNF
- name: Export CM from NF
uri: /api/rest/systemManagement/v1/elementType/%s/objectType/cm
params: ne_id=%s
interval: 1
unit: Days
at: 00:15
do: TaskExportCmFromNF
- name: Generate NRM xml file
uri:
params:
interval: 1
unit: Day
at: 00:00,06:00,12:00,18:00
do: GenCmXmlFile
- name: Task of Generate measure threshold alarm
status: Active
uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms
params: 10200
interval: 10
unit: Seconds
at:
do: TaskGenMeasureThresholdAlarm
- name: Task of Generate license alarm
status: Inactive
uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms
params: 10100 #alarm_code
interval: 1
unit: Days
at: 00:30
do: TaskGenLicenseAlarm
- name: Task of Generate NE system state alarm
status: Active
uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms
params: 10000
interval: 5
unit: Seconds
at:
do: TaskGenNeStateAlarm
- name: Task of Generate Measure Report Timeout
status: Active
uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms
params: 10201
interval: 10
unit: Seconds
at:
do: TaskGenMeasureReportTimeoutAlarm
- name: Monitor proces list and write system log
uri: /api/rest/databaseManagement/v1/omc_db/system_log
params:
body:
interval: 10
unit: Seconds
at:
do: TaskWriteSystemLog
- name: Copy log to /opt/omc/ftp/log
uri:
params: cp -rf /usr/local/omc/database/*.csv /opt/omc/ftp/log
interval: 10
unit: Minutes
at:
do: TaskRunShellCommand
# - name: Import CM to NF
# uri: /api/rest/systemManagement/v1/elementType/udm/objectType/cm
# params: ne_id=SZ_01
# interval: 15
# unit: Seconds
# at:
# do: TaskImportCmToNF
crontab:
# - name: 每隔1分钟执行
# tab: 0 */1 * * * ? // crontab: rule like linux crontab
# do: CronHelloWorldTask // function name to call
# params:
- name: Generate PM xml file
status: Active
tab: 5,20,35,50 * * * *
do: GenPmXmlFile
uri: this is uri
params: Generating PM xml file
# - name: Import CM to NF
# tab: 0 * * * * *
# do: TaskImportCmToNF
# uri: /api/rest/systemManagement/v1/elementType/udm/objectType/cm
# params: ne_id=SZ_01
+76
View File
@@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="DataFile">
<xs:complexType>
<xs:sequence>
<xs:element name="FileHeader">
<xs:complexType>
<xs:sequence>
<xs:element name="TimeStamp" type="xs:dateTime"/>
<xs:element name="TimeZone" type="xs:string"/>
<xs:element name="VendorName" type="xs:string" minOccurs="0"/>
<xs:element name="ElementType" type="xs:string" minOccurs="0"/>
<xs:element name="CmVersion" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Objects" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ObjectType" type="xs:string"/>
<!--该字段必选-->
<xs:element name="FieldName">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="N">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FieldValue">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="Object">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="V">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="rmUID" type="xs:string" use="required"/>
<xs:attribute name="Dn" type="xs:string"/>
<!-- //无线、核心网专业该字段必选,传输、IP专业、业务系统无该字段-->
<xs:attribute name="UserLabel" type="xs:string"/>
<!-- //无线、核心网专业该字段必选,传输、IP专业、业务系统无该字段-->
<xs:attribute name="PVFlag" type="xs:string" use="required"/>
<!-- //必须-->
<xs:attribute name="VMID" type="xs:string"/>
<!-- //VNF网络或VNF和PNF混合组网:虚拟网元必选,物理网元无该字段-->
<xs:attribute name="VNFInstanceID" type="xs:string"/>
<!-- //VNF网络或VNF和PNF混合组网:虚拟网元必选,物理网元无该字段-->
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
+221
View File
@@ -0,0 +1,221 @@
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- This XSLT will convert a PDML file, saved by Wireshark, into
HTML. The HTML page should look similar to Wireshark. See
https://gitlab.com/wireshark/wireshark/-/wikis/PDML for information
on how to generate such a HTML file from PDML.
For questions contact Dirk Jagdmann (doj@cubic.org).
Version: 2010-06-09
Wireshark - Network traffic analyzer
By Gerald Combs <gerald@wireshark.org>
Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
-->
<!-- set parameters of the HTML output -->
<xsl:output method="html" encoding="UTF-8" omit-xml-declaration="no" standalone="yes" indent="yes"/>
<!-- this matches the "field" tag -->
<xsl:template match="field">
&#160;&#160;&#160; <!-- indent with 3 non-breaking spaces -->
<!-- output either the "showname" or "show" attribute -->
<xsl:choose>
<xsl:when test="string-length(@showname)>0">
<xsl:value-of select="@showname"/><br/>
</xsl:when>
<xsl:otherwise>
<!--<xsl:value-of select="@name"/>:--> <xsl:value-of select="@show"/><br/>
</xsl:otherwise>
</xsl:choose>
<xsl:apply-templates/> <!-- we expect to match "field" tags -->
</xsl:template>
<!-- this matches the "packet" tag -->
<xsl:template match="packet">
<!-- declare some variables for later use -->
<xsl:variable name="frame_num" select="proto[@name='frame']/field[@name='frame.number']/@show"/>
<xsl:variable name="frame_id" select="concat('f',$frame_num)"/>
<xsl:variable name="frame_c" select="concat($frame_id,'c')"/>
<!-- the "title" bar of the frame -->
<div width="100%" id="{$frame_id}">
<a href="javascript:toggle_node('{$frame_c}')">&#8658;</a> <!-- #8658 is a "rArr" (double right arrow) character -->
Frame <xsl:value-of select="$frame_num"/>:
<xsl:for-each select="proto[@name!='geninfo']">
<xsl:value-of select="@name"/>,
</xsl:for-each>
<small><a href="javascript:hide_node('{$frame_id}')">[X]</a></small>
</div>
<!-- the frame contents are stored in a div, so we can toggle it -->
<div width="100%" id="{$frame_c}" style="display:none">
<!-- loop through all proto tags, but skip the "geninfo" one -->
<xsl:for-each select="proto[@name!='geninfo']">
<xsl:variable name="proto" select="concat($frame_id,@name,count(preceding-sibling::proto)+1)"/>
<!-- the "title" bar of the proto -->
<div width="100%" style="background-color:#e5e5e5; margin-bottom: 2px">
&#160;<a href="javascript:toggle_node('{$proto}')">&#8658;</a>&#160;<xsl:value-of select="@showname"/>
<!-- print "proto" details inside another div -->
<div width="100%" id="{$proto}" style="display:none">
<xsl:apply-templates/> <!-- we expect to match "field" tags -->
</div>
</div>
</xsl:for-each>
</div>
<!-- use the javascript function set_node_color() to set the color
of the frame title bar. Defer colorization until the full page has
been loaded. If the browser would support the XPath function
replace() we could simply set the class attribute of the title bar div,
but for now we're stuck with class names from Wireshark's colorfilters
that contain spaces and we can't handle them in CSS. -->
<script type="text/javascript">
dojo.addOnLoad(function(){
set_node_color(
'<xsl:value-of select="$frame_id"/>',
'<xsl:value-of select="proto[@name='frame']/field[@name='frame.coloring_rule.name']/@show"/>'
);
});
</script>
</xsl:template>
<xsl:template match="pdml">
Capture Filename: <b><xsl:value-of select="@capture_file"/></b>
PDML created: <b><xsl:value-of select="@time"/></b>
<tt>
<xsl:apply-templates/> <!-- we expect to match the "packet" nodes -->
</tt>
</xsl:template>
<!-- this block matches the start of the PDML file -->
<xsl:template match="/">
<html>
<head>
<title>poor man's Wireshark</title>
<script src="https://ajax.googleapis.com/ajax/libs/dojo/1.4/dojo/dojo.xd.js" type="text/javascript"></script>
<script type="text/javascript">
function set_node(node, str)
{
if(dojo.isString(node))
node = dojo.byId(node);
if(!node) return;
node.style.display = str;
}
function toggle_node(node)
{
if(dojo.isString(node))
node = dojo.byId(node);
if(!node) return;
set_node(node, (node.style.display != 'none') ? 'none' : 'block');
}
function hide_node(node)
{
set_node(node, 'none');
}
// this function was generated by colorfilters2js.pl
function set_node_color(node,colorname)
{
if(dojo.isString(node))
node = dojo.byId(node);
if(!node) return;
var fg;
var bg;
if(colorname == 'Bad TCP') {
bg='#000000';
fg='#ff5f5f';
}
if(colorname == 'HSRP State Change') {
bg='#000000';
fg='#fff600';
}
if(colorname == 'Spanning Tree Topology Change') {
bg='#000000';
fg='#fff600';
}
if(colorname == 'OSPF State Change') {
bg='#000000';
fg='#fff600';
}
if(colorname == 'ICMP errors') {
bg='#000000';
fg='#00ff0e';
}
if(colorname == 'ARP') {
bg='#d6e8ff';
fg='#000000';
}
if(colorname == 'ICMP') {
bg='#c2c2ff';
fg='#000000';
}
if(colorname == 'TCP RST') {
bg='#900000';
fg='#fff680';
}
if(colorname == 'TTL low or unexpected') {
bg='#900000';
fg='#ffffff';
}
if(colorname == 'Checksum Errors') {
bg='#000000';
fg='#ff5f5f';
}
if(colorname == 'SMB') {
bg='#fffa99';
fg='#000000';
}
if(colorname == 'HTTP') {
bg='#8dff7f';
fg='#000000';
}
if(colorname == 'IPX') {
bg='#ffe3e5';
fg='#000000';
}
if(colorname == 'DCERPC') {
bg='#c797ff';
fg='#000000';
}
if(colorname == 'Routing') {
bg='#fff3d6';
fg='#000000';
}
if(colorname == 'TCP SYN/FIN') {
bg='#a0a0a0';
fg='#000000';
}
if(colorname == 'TCP') {
bg='#e7e6ff';
fg='#000000';
}
if(colorname == 'UDP') {
bg='#70e0ff';
fg='#000000';
}
if(colorname == 'Broadcast') {
bg='#ffffff';
fg='#808080';
}
if(fg.length > 0)
node.style.color = fg;
if(bg.length > 0)
node.style.background = bg;
}
</script>
</head>
<body>
<xsl:apply-templates/> <!-- we expect to match the "pdml" node -->
</body>
</html>
</xsl:template>
</xsl:stylesheet>
+80
View File
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="PmFile">
<xs:complexType>
<xs:sequence>
<xs:element name="FileHeader">
<xs:complexType>
<xs:sequence>
<xs:element name="TimeStamp" type="xs:dateTime" />
<xs:element name="TimeZone" type="xs:string" />
<xs:element name="Period" type="xs:integer" />
<xs:element name="VendorName" type="xs:string" />
<xs:element name="ElementType" type="xs:string" />
<xs:element name="PmVersion" type="xs:string" />
<xs:element name="StartTime" type="xs:dateTime" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Measurements" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ObjectType" type="xs:string" />
<xs:element name="PmName">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="N">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PmData">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="Object">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="V">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="CV">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="SN" type="xs:string" />
<xs:element name="SV" type="xs:string" />
</xs:sequence>
<xs:attribute name="i" type="xs:integer"
use="required" />
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="rmUID" type="xs:string" use="required" />
<xs:attribute name="Dn" type="xs:string" use="required" />
<xs:attribute name="UserLabel" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
+37
View File
@@ -0,0 +1,37 @@
{
"id": 1,
"title": "故障管理",
"icon": "fa fa-telegram",
"href": "",
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "活动告警",
"icon": "fa fa-caret-right",
"href": "page/alarm/alarmListDown.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "历史告警",
"icon": "fa fa-caret-right",
"href": "page/alarm/AlarmListHistory.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 4,
"title": "告警设置",
"icon": "fa fa-caret-right",
"href": "absence/list.html",
"target": null,
"parentId": 1,
"child": null
}
]
}
+46
View File
@@ -0,0 +1,46 @@
{
"id": 1,
"title": "日志管理",
"icon": "fa fa-home",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "操作日志",
"icon": "fa fa-caret-right",
"href": "building/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "安全日志",
"icon": "fa fa-caret-right",
"href": "dormitoryset/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 4,
"title": "告警日志",
"icon": "fa fa-caret-right",
"href": "dormitoryset/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 5,
"title": "日志设置",
"icon": "fa fa-caret-right",
"href": "dormitory/list.html",
"target": null,
"parentId": 1,
"child": null
}
]
}
@@ -0,0 +1,28 @@
{
"id": 1,
"title": "操作维护",
"icon": "fa fa-home",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "参数配置MML",
"icon": "fa fa-caret-right",
"href": "building/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "用户管理MML",
"icon": "fa fa-caret-right",
"href": "dormitoryset/list.html",
"target": null,
"parentId": 1,
"child": null
}
]
}
@@ -0,0 +1,46 @@
{
"id": 1,
"href": null,
"icon": "fa fa-wrench",
"title": "性能管理",
"target": null,
"parentId": 0,
"child": [
{
"id": 1,
"href": "page/task/list.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "任务管理",
"target": null,
"parentId": 1
},
{
"id": 2,
"href": "page/repair/list.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "数据管理",
"target": null,
"parentId": 1
},
{
"id": 3,
"href": "page/gold/list.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "黄金指标",
"target": null,
"parentId": 1
},
{
"id": 4,
"href": "page/task/threshold.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "性能门限",
"target": null,
"parentId": 1
}
]
}
+37
View File
@@ -0,0 +1,37 @@
{
"id": 1,
"href": null,
"icon": "fa fa-users",
"child": [
{
"id": 2,
"href": "page/user/list.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "用户管理",
"target": null,
"parentId": 1
},
{
"id": 3,
"href": "dormitoryset/list.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "群组管理",
"target": null,
"parentId": 1
},
{
"id": 4,
"href": "dormitory/list.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "权限管理",
"target": null,
"parentId": 1
}
],
"title": "安全管理",
"target": null,
"parentId": 0
}
+46
View File
@@ -0,0 +1,46 @@
{
"id": 1,
"title": "配置管理",
"icon": "fa fa-home",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "网元管理",
"icon": "fa fa-caret-right",
"href": "building/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "参数配置",
"icon": "fa fa-caret-right",
"href": "dormitoryset/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 4,
"title": "软件管理",
"icon": "fa fa-caret-right",
"href": "dormitory/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 5 ,
"title": "许可证管理",
"icon": "fa fa-caret-right",
"href": "selection/list.html",
"target": null,
"parentId": 1,
"child": null
}
]
}
+49
View File
@@ -0,0 +1,49 @@
{
"id": 1,
"title": "拓扑管理",
"icon": "fa fa-home",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "系统拓扑",
"icon": "fa fa-caret-right",
"href": "page/user/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "网元状态",
"icon": "fa fa-caret-right",
"href": "page/main.html",
"target": null,
"parentId": 1,
"child": null
}
]
}
{
"id": 1,
"href": null,
"icon": "fa fa-home",
"child": [
{
"id": 3,
"href": "page/main.html",
"icon": "fa fa-caret-right",
"child": null,
"title": "网元状态",
"target": null,
"parentId": 1
}
],
"title": "系统状态",
"target": null,
"parentId": 0
}
+28
View File
@@ -0,0 +1,28 @@
{
"id": 1,
"title": "跟踪管理",
"icon": "fa fa-home",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "任务管理",
"icon": "fa fa-caret-right",
"href": "building/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "信令分析",
"icon": "fa fa-caret-right",
"href": "dormitoryset/list.html",
"target": null,
"parentId": 1,
"child": null
}
]
}
+346
View File
@@ -0,0 +1,346 @@
{
"parent": [
{
"id": 1,
"title": "系统状态",
"icon": "fa fa-cog",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 2,
"title": "AMF",
"icon": "fa fa-caret-right",
"href": "page/user/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 3,
"title": "AUSF",
"icon": "fa fa-caret-right",
"href": "grade/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 4,
"title": "UDM",
"icon": "fa fa-caret-right",
"href": "org/list.html",
"target": null,
"parentId": 1,
"child": null
},
{
"id": 5,
"title": "SMF",
"icon": "fa fa-caret-right",
"href": "student/list.html",
"target": null,
"parentId": 1,
"child": null
}
]
},
{
"id": 7,
"title": "配置管理",
"icon": "fa fa-home",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 8,
"title": "AMF",
"icon": "fa fa-caret-right",
"href": "building/list.html",
"target": null,
"parentId": 7,
"child": null
},
{
"id": 9,
"title": "AUSF",
"icon": "fa fa-caret-right",
"href": "dormitoryset/list.html",
"target": null,
"parentId": 7,
"child": null
},
{
"id": 10,
"title": "UDM",
"icon": "fa fa-caret-right",
"href": "dormitory/list.html",
"target": null,
"parentId": 7,
"child": null
},
{
"id": 11,
"title": "SMF",
"icon": "fa fa-caret-right",
"href": "selection/list.html",
"target": null,
"parentId": 7,
"child": null
}
]
},
{
"id": 12,
"title": "故障管理",
"icon": "fa fa-telegram",
"href": "",
"target": null,
"parentId": 0,
"child": [
{
"id": 13,
"title": "活动告警",
"icon": "fa fa-caret-right",
"href": "page/alarm/alarmListDown.html",
"target": null,
"parentId": 12,
"child": null
},
{
"id": 14,
"title": "历史告警",
"icon": "fa fa-caret-right",
"href": "page/alarm/AlarmListHistory.html",
"target": null,
"parentId": 12,
"child": null
},
{
"id": 15,
"title": "告警设置",
"icon": "fa fa-caret-right",
"href": "absence/list.html",
"target": null,
"parentId": 12,
"child": null
}
]
},
{
"id": 16,
"title": "业务统计",
"icon": "fa fa-wrench",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 17,
"title": "AMF",
"icon": "fa fa-caret-right",
"href": "repair/list.html",
"target": null,
"parentId": 16,
"child": null
},
{
"id": 18,
"title": "UDM",
"icon": "fa fa-caret-right",
"href": "repair/list.html",
"target": null,
"parentId": 16,
"child": null
}
]
},
{
"id": 19,
"title": "日志管理",
"icon": "fa fa-truck",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 20,
"title": "操作日志",
"icon": "fa fa-caret-right",
"href": "page/log/operLogList.html",
"target": null,
"parentId": 19,
"child": null
},
{
"id": 21,
"title": "安全日志",
"icon": "fa fa-caret-right",
"href": "page/log/securityLogList.html",
"target": null,
"parentId": 19,
"child": null
},
{
"id": 22,
"title": "告警入库日志",
"icon": "fa fa-caret-right",
"href": "page/log/alarmLogList.html",
"target": null,
"parentId": 19,
"child": null
}
]
},
{
"id": 23,
"title": "系统维护",
"icon": "fa fa-truck",
"href": null,
"target": null,
"parentId": 0,
"child": [
{
"id": 24,
"title": "设备升级",
"icon": "fa fa-caret-right",
"href": "visit/list.html",
"target": null,
"parentId": 23,
"child": [
{
"id": 26,
"title": "AMF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 23,
"child": null
},
{
"id": 27,
"title": "AUSF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 23,
"child": null
},
{
"id": 28,
"title": "UDM",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 23,
"child": null
},
{
"id": 29,
"title": "SMF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 23,
"child": null
}
]
},
{
"id": 25,
"title": "设备控制",
"icon": "fa fa-caret-right",
"href": "visit/list.html",
"target": null,
"parentId": 22,
"child": [
{
"id": 24,
"title": "AMF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 30,
"child": null
},
{
"id": 31,
"title": "AUSF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 24,
"child": null
},
{
"id": 32,
"title": "UDM",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 24,
"child": null
},
{
"id": 33,
"title": "SMF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 24,
"child": null
}
]
},
{
"id": 25,
"title": "许可证更新",
"icon": "fa fa-caret-right",
"href": "visit/list.html",
"target": null,
"parentId": 22,
"child": [
{
"id": 34,
"title": "AMF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 25,
"child": null
},
{
"id": 35,
"title": "AUSF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 25,
"child": null
},
{
"id": 36,
"title": "UDM",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 25,
"child": null
},
{
"id": 37,
"title": "SMF",
"icon": "fa fa-caret-right",
"href": "user/list.html",
"target": null,
"parentId": 25,
"child": null
}
]
}
]
}
]
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,417 @@
udm:
authdataManagement:
display: "Authentication Data Management"
mml:
- operation: "dsp"
object: "authdat"
display: "Display Auth Data"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- operation: "add"
object: "authdat"
display: "Add Auth Data"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- name: "ki"
type: "int"
optional: "false"
filter: ""
display: "Ki"
comment: ""
- name: "amf"
type: "string"
optional: "false"
filter: ""
display: "AMF"
comment: ""
- name: "algo"
type: "int"
optional: "false"
filter: "0~15"
display: "Algo"
comment: ""
- name: "opc"
type: "string"
optional: "false"
filter: ""
display: "OPC"
comment: ""
- operation: "del"
object: "authdat"
display: "Delete Auth Data"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- operation: "bat"
object: "authdat"
display: "Batch Add Auth Data"
params:
- name: "start_imsi"
type: "string"
optional: "false"
filter: ""
display: "Starting IMSI"
comment: ""
- name: "sub_num"
type: "int"
optional: "false"
filter: ""
display: "auth data number"
comment: ""
- name: "ki"
type: "string"
optional: "false"
filter: ""
display: "Ki"
comment: ""
- name: "amf"
type: "string"
optional: "false"
filter: ""
display: "AMF"
comment: ""
- name: "algo"
type: "int"
optional: "false"
filter: "0~15"
display: "Algo"
comment: ""
- operation: "bde"
object: "authdat"
display: "Batch Delete Auth Data"
params:
- name: "start_imsi"
type: "string"
optional: "false"
filter: ""
display: "Starting IMSI"
comment: ""
- name: "sub_num"
type: "int"
optional: "false"
filter: ""
display: "auth data number"
comment: ""
- operation: "import"
object: "authdat"
display: "Import Auth Data From File"
params:
- name: "file"
type: "string"
optional: "false"
filter: ""
display: "Path file"
comment: ""
- operation: "export"
object: "authdat"
display: "Export Auth Data to File"
params:
- name: "file"
type: "string"
optional: "false"
filter: ""
display: "Path file"
comment: ""
subscriberManagement:
display: "Subcriber Management"
mml:
- operation: "dsp"
object: "udmuser"
display: "Display UDM Subscriber"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- operation: "add"
object: "udmuser"
display: "Add UDM Subscriber"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- name: "msisdn"
type: "string"
optional: "false"
filter: ""
display: "MSISDN"
comment: ""
- name: "ambr"
type: "string"
optional: "false"
filter: ""
display: "AMBR"
comment: ""
- name: "nssai"
type: "string"
optional: "false"
filter: ""
display: "Nssai"
comment: ""
- name: "arfb"
type: "string"
optional: "false"
filter: ""
display: "Arfb"
comment: ""
- name: "sar"
type: "string"
optional: "false"
filter: ""
display: "SAR"
comment: ""
- name: "rat"
type: "string"
optional: "false"
filter: ""
display: "RAT"
comment: ""
- name: "cn"
type: "string"
optional: "false"
filter: ""
display: "CN"
comment: ""
- name: "smf_sel"
type: "string"
optional: "false"
filter: ""
display: "SMF_sel"
comment: ""
- name: "sm_data"
type: "string"
optional: "false"
filter: ""
display: "SM_data"
comment: ""
- operation: "del"
object: "udmuser"
display: "Delete Subscriber Data"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- operation: "mod"
object: "udmuser"
display: "Modify Subscriber Data"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
c1omment: ""
- name: "msisdn"
type: "string"
optional: "true"
filter: ""
display: "MSISDN"
comment: ""
- name: "ambr"
type: "string"
optional: "true"
filter: ""
display: "AMBR"
comment: ""
- name: "nssai"
type: "string"
optional: "true"
filter: ""
display: "Nssai"
comment: ""
- name: "arfb"
type: "string"
optional: "true"
filter: ""
display: "Arfb"
comment: ""
- name: "sar"
type: "string"
optional: "true"
filter: ""
display: "SAR"
comment: ""
- name: "rat"
type: "string"
filter: ""
display: "RAT"
comment: ""
- name: "cn"
type: "string"
optional: "true"
filter: ""
display: "CN"
comment: ""
- name: "smf_sel"
type: "string"
optional: "true"
filter: ""
display: "SMF_sel"
comment: ""
- name: "sm_data"
type: "string"
optional: "true"
filter: ""
display: "SM_data"
comment: ""
- operation: "bat"
object: "udmuser"
display: "Batch Add UDM Subscriber"
params:
- name: "start_imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- name: "start_msisdn"
type: "string"
optional: "false"
filter: ""
display: "MSISDN"
comment: ""
- name: "sub_num"
type: "int"
optional: "false"
filter: ""
display: "subscriber number"
comment: ""
- name: "ambr"
type: "string"
optional: "false"
filter: ""
display: "AMBR"
comment: ""
- name: "nssai"
type: "string"
optional: "false"
filter: ""
display: "Nssai"
comment: ""
- name: "arfb"
type: "string"
optional: "false"
filter: ""
display: "Arfb"
comment: ""
- name: "sar"
type: "string"
optional: "false"
filter: ""
display: "SAR"
comment: ""
- name: "rat"
type: "string"
optional: "false"
filter: ""
display: "RAT"
comment: ""
- name: "cn"
type: "string"
optional: "false"
filter: ""
display: "CN"
comment: ""
- name: "smf_sel"
type: "string"
optional: "false"
filter: ""
display: "SMF_sel"
comment: ""
- name: "sm_data"
type: "string"
optional: "false"
filter: ""
display: "SM_data"
comment: ""
- operation: "bde"
object: "udmuser"
display: "Batch Delete Subscriber Data"
params:
- name: "start_imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- name: "sub_num"
type: "string"
optional: "false"
filter: ""
display: "Subcribers number"
comment: ""
- operation: "bmd"
object: "udmuser"
display: "Batch Modify Subscriber Data"
params:
- name: "start_imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- name: "sub_num"
type: "string"
optional: "false"
filter: ""
display: "Subcribers number"
comment: ""
- name: "sm_data"
type: "string"
optional: "false"
filter: ""
display: "SM_data"
comment: ""
- operation: "import"
object: "udmuser"
display: "Import Subscriber Data From File"
params:
- name: "file"
type: "string"
optional: "false"
filter: ""
display: "Path file"
comment: ""
- operation: "upload"
object: "udmuser"
display: "Upload Subscriber Data"
params:
- name: "file"
type: "string"
optional: "false"
filter: ""
display: "Path file"
comment: ""
- operation: "sync"
object: "start"
display: "Sync UDM Data From Public UDM"
params:
- operation: "sync"
object: "state"
display: "Query State of Sync Task"
params:
+147
View File
@@ -0,0 +1,147 @@
amf:
systemManagement:
display: "System Management"
mml:
- operation: "set"
object: "n8_ip"
display: "Set N8 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- operation: "set"
object: "n11_ip"
display: "Set N11 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- operation: "set"
object: "n12_ip"
display: "Set N12 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- operation: "set"
object: "relative_capacity"
display: "Set Relative Capacity"
params:
- name: "capacity"
type: "int"
optional: "false"
filter: ""
display: "Relative Capacity"
comment: ""
- operation: "set"
object: "n2_ip"
display: "Set N2 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "n2_port"
display: "Set N2 Port"
params:
- name: "port"
type: "int"
optional: "false"
filter: "0~65535"
display: "Port"
comment: ""
- operation: "set"
object: "ntpversion"
display: "Set NTP Version"
params:
- name: "version"
type: "int"
optional: "false"
filter: ""
display: "Version"
comment: ""
- operation: "set"
object: "ntpmaxdiff"
display: "Set NTP Max Diff"
params:
- name: "value"
type: "int"
optional: "false"
filter: "100~2000"
display: "Max Value(ms)"
comment: ""
- operation: "set"
object: "ntpsynctimer"
display: "Set NTP Sync Timer"
params:
- name: "periods"
type: "int"
optional: "false"
filter: ""
display: "Periods(second)"
comment: ""
- operation: "add"
object: "slice"
display: "Add Slice"
params:
- name: "sst"
type: "string"
optional: "false"
filter: ""
display: "SST"
comment: ""
- name: "sd"
type: "string"
optional: "false"
filter: ""
display: "SD"
comment: ""
- operation: "deregister"
object: "imsi"
display: "Deregister IMSI"
params:
- name: "IMSI"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- operation: "exec"
object: "shell"
display: "Execute Shell Command"
params:
- name: "cmd"
type: "string"
optional: "false"
filter: ""
display: "CMD"
comment: ""
- operation: "reload"
object: ""
display: "Reload Config"
params:
subsManagement:
display: "Subscriber Management"
mml:
- operation: "list"
object: "imsi"
display: "List Online IMSI"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: "32"
display: "IMSI"
comment: ""
@@ -0,0 +1,48 @@
ausf:
systemManagement:
display: "System Management"
mml:
- operation: "set"
object: "n12ip"
display: "Set N12 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "n12port"
display: "Set N12 Port"
params:
- name: "port"
type: "int"
optional: "false"
filter: "1~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n12scheme"
display: "Set N12 Scheme"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- operation: "set"
object: "supirange"
display: "Set SUPI Range"
params:
- name: "supirange"
type: "string"
optional: "false"
filter: ""
display: "SUPI Range"
comment: ""
- operation: "reload"
object: ""
display: "Reload Config"
params:
+366
View File
@@ -0,0 +1,366 @@
smf:
systemManagement:
display: "System Management"
mml:
- operation: "set"
object: "n7 server"
display: "Set N7 Server"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- name: "port"
type: "int"
optional: "false"
filter: "0~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n7 client"
display: "Set N7 Client"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- operation: "set"
object: "n10 server"
display: "Set N10 Server"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- name: "port"
type: "int"
optional: "false"
filter: "0~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n10 client"
display: "Set N10 Client"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- operation: "set"
object: "n11 server"
display: "Set N11 Server"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- name: "port"
type: "int"
optional: "false"
filter: "0~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n11 client"
display: "Set N11 Client"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: "0~64"
display: "IP Address"
comment: ""
- operation: "set"
object: "dnn"
display: "Set DNN"
params:
- name: "index"
type: "int"
optional: "false"
filter: ""
display: "Index"
comment: ""
- name: "DNN"
type: "string"
optional: "false"
filter: ""
display: "DNN"
comment: ""
- operation: "set pccrule <index> <precedence> <qosIndex> <filter direction> <filter> <appId>"
object: "pccrule"
display: "Set PCC Rule"
params:
- name: "index"
type: "int"
optional: "false"
filter: "0~65535"
display: "Index"
comment: ""
- name: "precedence"
type: "int"
optional: "false"
filter: ""
display: "Precedence"
comment: ""
- name: "qosIndex"
type: "int"
optional: "false"
filter: ""
display: "QOS Index"
comment: ""
- name: "direction"
type: "int"
optional: "true"
filter: '{"0":"NA", "1":"Uplink", "2":"Downlink", "3":"Bidirectionallink"}'
display: "Filter Direction"
comment: ""
- name: "filter"
type: "string"
optional: "true"
filter: ""
display: "Filter"
comment: ""
- name: "appId"
type: "string"
optional: "true"
filter: ""
display: "Application ID"
comment: ""
- operation: "set"
object: "urr"
display: "Set URR"
params:
- name: "index"
type: "string"
optional: "false"
filter: ""
display: "Index"
comment: ""
- name: "quotavolumetatol"
type: "string"
optional: "false"
filter: ""
display: "SD"
comment: ""
- name: "quotavolumeul"
type: "string"
optional: "false"
filter: ""
display: "quota volume ul"
comment: ""
- name: "quotavolumedl"
type: "string"
optional: "false"
filter: ""
display: "quota volume dl"
comment: ""
- name: "quotatime"
type: "string"
optional: "false"
filter: ""
display: "quota time"
comment: ""
- operation: "set"
object: "qos"
display: "Set Qos"
params:
- name: "index"
type: "string"
optional: "false"
filter: ""
display: "Index"
comment: ""
- name: "5qi"
type: "string"
optional: "false"
filter: ""
display: "SD"
comment: ""
- name: "5qipl"
type: "string"
optional: "false"
filter: ""
display: "5qipl"
comment: ""
- name: "arppl"
type: "string"
optional: "false"
filter: ""
display: "arppl"
comment: ""
- name: "arppci"
type: "string"
optional: "false"
filter: ""
display: "arppci"
comment: ""
- name: "arppvi"
type: "string"
optional: "false"
filter: ""
display: "arppvi"
comment: ""
- name: "mfbrul"
type: "string"
optional: "false"
filter: ""
display: "mfbrul"
comment: ""
- name: "mfbrdl"
type: "string"
optional: "false"
filter: ""
display: "mfbrdl"
comment: ""
- name: "gfbrul"
type: "string"
optional: "false"
filter: ""
display: "gfbrul"
comment: ""
- name: "gfbrdl"
type: "string"
optional: "false"
filter: ""
display: "gfbrdl"
comment: ""
- operation: "set"
object: "snssai"
display: "Set Snssai"
params:
- name: "index"
type: "string"
optional: "false"
filter: ""
display: "Index"
comment: ""
- name: "sst-sd"
type: "string"
optional: "false"
filter: ""
display: "sst-sd"
- operation: "release"
object: "imsi"
display: "Release IMSI"
params:
- name: "imsi"
type: "string"
optional: "false"
filter: ""
display: "IMSI"
comment: ""
- name: "pduSessId"
type: "string"
optional: "false"
filter: ""
display: "PDU Session Id"
- operation: "set"
object: "urr"
display: "Set URR"
params:
- name: "index"
type: "string"
optional: "false"
filter: ""
display: "Index"
comment: ""
- name: "quotavolumetatol"
type: "string"
optional: "false"
filter: ""
display: "Quota Volume Tatol"
comment: ""
- name: "quotavolumeul"
type: "string"
optional: "false"
filter: ""
display: "Quota Volume UL"
comment: ""
- name: "quotavolumedl"
type: "string"
optional: "false"
filter: ""
display: "Quota Volume DL"
comment: ""
- name: "quotatime"
type: "string"
optional: "false"
filter: ""
display: "Quota Time"
comment: ""
- operation: "set"
object: "dpi"
display: "Set DPI"
params:
- name: "flag"
type: "enum"
optional: "false"
filter: '{"0":"disable", "1":"enable"}'
display: "Flag"
comment: ""
- name: "max"
type: "string"
optional: "false"
filter: ""
display: "Max Detect Packet Number"
comment: ""
- operation: "exec"
object: "shell"
display: "Execute Shell Command"
params:
- name: "cmd"
type: "string"
optional: "false"
filter: ""
display: "CMD"
comment: ""
- operation: "reload"
object: ""
display: "Reload Config"
params:
+121
View File
@@ -0,0 +1,121 @@
udm:
systemManagement:
display: "System Management"
mml:
- operation: "set"
object: "n8ip"
display: "Set N8 IP Address"
params:
- name: "ip"
type: "ipv4"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "n8port"
display: "Set N8 Port"
params:
- name: "port"
type: "int"
optional: "false"
filter: "1~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n8scheme"
display: "Set N8 Scheme"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- operation: "set"
object: "n10ip"
display: "Set N10 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "n10port"
display: "Set N10 Port"
params:
- name: "port"
type: "int"
optional: "false"
filter: "1~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n10scheme"
display: "Set N10 Scheme"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- operation: "exec"
object: "shell"
display: "Execute Shell Command"
params:
- name: "cmd"
type: "string"
optional: "false"
filter: ""
display: "CMD"
comment: ""
ausfManagement:
display: "AUSF Management"
mml:
- operation: "set"
object: "n12ip"
display: "Set N12 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "n12port"
display: "Set N12 Port"
params:
- name: "port"
type: "int"
optional: "false"
filter: "1~65535"
display: "Port"
comment: ""
- operation: "set"
object: "n12scheme"
display: "Set N12 Scheme"
params:
- name: "scheme"
type: "enum"
optional: "false"
filter: '{"0":"http", "1":"https"}'
display: "Scheme"
comment: ""
- operation: "set"
object: "supirange"
display: "Set SUPI Range"
params:
- name: "supirange"
type: "string"
optional: "false"
filter: ""
display: "SUPI Range"
comment: ""
- operation: "reload"
object: ""
display: "Reload Config"
params:
+242
View File
@@ -0,0 +1,242 @@
upf:
systemManagement:
display: "System Management"
mml:
- operation: "set"
object: "n3 driver"
display: "Set N3 Driver"
params:
- name: "type"
type: "int"
optional: "false"
filter: ""
display: "Type"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP address"
comment: ""
- name: "mask"
type: "string"
optional: "false"
filter: ""
display: "Mask"
comment: ""
- name: "mac"
type: "string"
optional: "false"
filter: ""
display: "Mac address"
comment: ""
- name: "pci"
type: "string"
optional: "false"
filter: ""
display: "PCI address"
comment: ""
- operation: "set"
object: "n4 ip"
display: "Set N4 IP Address"
params:
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "n6 driver"
display: "Set N6 Driver"
params:
- name: "type"
type: "int"
optional: "false"
filter: ""
display: "Type"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP address"
comment: ""
- name: "mask"
type: "string"
optional: "false"
filter: ""
display: "Mask"
comment: ""
- name: "mac"
type: "string"
optional: "false"
filter: ""
display: "Mac address"
comment: ""
- name: "pci"
type: "string"
optional: "false"
filter: ""
display: "PCI address"
comment: ""
- operation: "set"
object: "n9 driver"
display: "Set N9 Driver"
params:
- name: "type"
type: "int"
optional: "false"
filter: ""
display: "Type"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP address"
comment: ""
- name: "mask"
type: "string"
optional: "false"
filter: ""
display: "Mask"
comment: ""
- name: "mac"
type: "string"
optional: "false"
filter: ""
display: "Mac address"
comment: ""
- name: "pci"
type: "string"
optional: "false"
filter: ""
display: "PCI address"
comment: ""
- operation: "set"
object: "dnn"
display: "Set DNN"
params:
- name: "dnn"
type: "string"
optional: "false"
filter: ""
display: "DNN"
comment: ""
- name: "ip"
type: "string"
optional: "false"
filter: ""
display: "IP Address"
comment: ""
- operation: "set"
object: "pfcp"
display: "Set PFCP"
params:
- name: "path"
type: "string"
optional: "false"
filter: ""
display: "Path"
comment: ""
- name: "local"
type: "string"
optional: "false"
filter: ""
display: "Local IP Address"
comment: ""
- name: "remote"
type: "string"
optional: "false"
filter: ""
display: "Remote IP Address"
comment: ""
- operation: "set"
object: "qos"
display: "Set Qos"
params:
- name: "index"
type: "string"
optional: "false"
filter: ""
display: "Index"
comment: ""
- name: "5qi"
type: "string"
optional: "false"
filter: ""
display: "5qi"
comment: ""
- name: "priority"
type: "int"
optional: "false"
filter: ""
display: "Priority Level"
comment: ""
- name: "mbr"
type: "string"
optional: "false"
filter: ""
display: "MBR"
comment: ""
- name: "gbr"
type: "string"
optional: "false"
filter: ""
display: "GBR"
comment: ""
- operation: "set"
object: "pccrule"
display: "Set PCC Rule"
params:
- name: "index"
type: "int"
optional: "false"
filter: "0~65535"
display: "Index"
comment: ""
- name: "precedence"
type: "int"
optional: "false"
filter: ""
display: "Precedence"
comment: ""
- name: "qosindex"
type: "int"
optional: "false"
filter: ""
display: "QOS Index"
comment: ""
- name: "direction"
type: "int"
optional: "true"
filter: '{"0":"NA", "1":"Uplink", "2":"Downlink", "3":"Bidirectionallink"}'
display: "Filter Direction"
comment: ""
- name: "filter"
type: "string"
optional: "true"
filter: ""
display: "Filter"
comment: ""
- name: "appid"
type: "string"
optional: "true"
filter: ""
display: "Application ID"
comment: ""
- operation: "exec"
object: "shell"
display: "Execute Shell Command"
params:
- name: "cmd"
type: "string"
optional: "false"
filter: ""
display: "CMD"
comment: ""
- operation: "reload"
object: ""
display: "Reload Config"
params:
+981
View File
@@ -0,0 +1,981 @@
"ne_info":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Network element information",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE ID",
"length": 16
},
{
"name": "rm_uid",
"display": "Resource management UID",
"length": 28
},
{
"name": "ne_name",
"display": "NE name",
"length": 28
},
{
"name": "pv_flag",
"display": "PV flag",
"length": 10
},
{
"name": "ip",
"display": "IP address",
"length": 32
},
{
"name": "port",
"display": "Port",
"length": 6
},
{
"name": "status",
"display": "Status",
"length": 10,
"alias": [
"online",
"offline",
"standby",
"maintain"
]
}
],
"end": "(Number of results = %d)\n\n"
}
"me_map":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Managed Element Map",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "rm_uid",
"display": "Resource management UID",
"length": 28
},
{
"name": "ne_name",
"display": "NE name",
"length": 28
}
],
"end": "(Number of results = %d)\n\n"
}
{
"retFmt": "DeleteDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"cols": [
{
"name": "affectedRows",
"display": "Affected rows",
"length": 11
}
]
}
{
"bodyFmt": "PostDB",
"bodyKey": "ne_info"
}
{
"bodyFmt": "PutDB",
"bodyKey": "measure_task",
"cols": [
{
"name": "status",
"alias": "status",
"type": "int",
"length": 11,
"value": "Active"
}
]
}
{
"bodyFmt": "PutDB",
"bodyKey": "measure_task",
"cols": [
{
"name": "status",
"alias": "status",
"type": "string",
"length": 11,
"value": "Active"
}
]
}
{
"bodyFmt": "PutDB",
"bodyKey": "ne_version",
"cols": [
{
"name": "status",
"alias": "status",
"type": "string",
"length": 8,
"value": "Active"
}
]
}
{
"retFmt": "PostDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"cols": [
{
"name": "affectedRows",
"display": "Affected rows",
"length": 11
}
]
}
{
"retFmt": "PutDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"cols": [
{
"name": "affectedRows",
"display": "Affected rows",
"length": 11
}
]
}
"alarm":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Alarm Information",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE UID",
"length": 28
},
{
"name": "ne_name",
"display": "NE name",
"length": 28
},
{
"name": "alarm_seq",
"display": "Alarm sequence",
"length": 11
},
{
"name": "alarm_title",
"display": "Alarm title",
"length": 30
},
{
"name": "orig_severity",
"display": "Original severity",
"length": 11,
"alias": [
"Critical",
"Major",
"Minor",
"Warning",
"Event"
]
},
{
"name": "pv_flag",
"display": "PV flag",
"length": 10
},
{
"name": "event_time",
"display": "Event time",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"measure_task":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Alarm Information",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "id",
"display": "Task ID",
"length": 11
},
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_ids",
"display": "NE ID Set",
"length": 28
},
{
"name": "granul_option",
"display": "Time granulity",
"length": 5
},
{
"name": "kpi_set",
"display": "KPI set",
"length": 60
},
{
"name": "start_time",
"display": "Start time",
"length": 20
},
{
"name": "end_time",
"display": "End time",
"length": 20
},
{
"name": "status",
"display": "Status",
"length": 8
}
],
"end": "(Number of results = %d)\n\n"
}
"measure_data":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Performance Measure Data",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "task_id",
"display": "Task ID",
"length": 11
},
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "rm_uid",
"display": "Resource management UID",
"length": 28
},
{
"name": "ne_name",
"display": "NE name",
"length": 28
},
{
"name": "granul_option",
"display": "Time granulity",
"length": 5
},
{
"name": "kpi_id",
"display": "KPI ID",
"length": 32
},
{
"name": "start_time",
"display": "Start time",
"length": 20
},
{
"name": "end_time",
"display": "End time",
"length": 20
},
{
"name": "value",
"display": "value",
"length": 11
}
],
"end": "(Number of results = %d)\n\n"
}
"operation_log":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Operation Log",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "account_name",
"display": "Account ID",
"length": 10
},
{
"name": "op_ip",
"display": "Source IP address",
"length": 20
},
{
"name": "op_type",
"display": "Opration type",
"length": 12
},
{
"name": "op_content",
"display": "Operation content",
"length": 50
},
{
"name": "op_result",
"display": "Operation result",
"length": 20
},
{
"name": "log_time",
"display": "Log time",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"security_log": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Security Log",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "account_name",
"display": "Account ID",
"length": 10
},
{
"name": "op_ip",
"display": "Source IP address",
"length": 20
},
{
"name": "op_type",
"display": "Opration type",
"length": 12
},
{
"name": "op_content",
"display": "Operation content",
"length": 50
},
{
"name": "op_result",
"display": "Operation result",
"length": 20
},
{
"name": "op_time",
"display": "Operation log time",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"alarm_log":{
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Alarm Log",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 8
},
{
"name": "ne_id",
"display": "NE UID",
"length": 28
},
{
"name": "alarm_seq",
"display": "Alarm sequence",
"length": 12
},
{
"name": "alarm_id",
"display": "Alarm ID",
"length": 20
},
{
"name": "event_time",
"display": "Alarm event time",
"length": 20
},
{
"name": "log_time",
"display": "Log time",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"sysInfo": {
"retFmt": "GetNF",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "NE System Information",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "neType",
"display": "NE type",
"length": 10
},
{
"name": "neId",
"display": "NE ID",
"length": 28
},
{
"name": "hostName",
"display": "Host name",
"length": 16
},
{
"name": "osInfo",
"display": "OS information",
"length": 128
},
{
"name": "dbInfo",
"display": "Database information",
"length": 80
},
{
"name": "version",
"display": "Software version",
"length": 12
},
{
"name": "ipAddr",
"display": "IP address",
"length": 20
},
{
"name": "port",
"display": "Port",
"length": 6
},
{
"name": "cpus",
"display": "CPUs",
"length": 4
},
{
"name": "totalMem",
"display": "Total memory(KB)",
"length": 11
}
],
"end": "(Number of results = %d)\n\n"
}
"licenseInfo":{
"retFmt": "GetNF",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "NE License Information",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "neType",
"display": "NE type",
"length": 10
},
{
"name": "neId",
"display": "NE ID",
"length": 20
},
{
"name": "serialNum",
"display": "Serial No",
"length": 12
},
{
"name": "capability",
"display": "License capability",
"length": 11
},
{
"name": "capUsed",
"display": "License used",
"length": 11
},
{
"name": "featureEnabled",
"display": "Feature enabled",
"length": 28
},
{
"name": "expiryDate",
"display": "License expiry date",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"system_log": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "System Log",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "process_type",
"display": "Process type",
"length": 10
},
{
"name": "process_name",
"display": "Process name",
"length": 28
},
{
"name": "user_name",
"display": "User name",
"length": 12
},
{
"name": "process_id",
"display": "Process ID",
"length": 12
},
{
"name": "event",
"display": "Event",
"length": 20
},
{
"name": "start_time",
"display": "Start time",
"length": 20
},
{
"name": "end_time",
"display": "End time",
"length": 20
},
{
"name": "log_time",
"display": "Log time",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"event_log": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Event Log",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE ID",
"length": 28
},
{
"name": "event",
"display": "Event",
"length": 12
},
{
"name": "event_time",
"display": "Event time",
"length": 20
},
{
"name": "log_time",
"display": "Log time",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"mml_command": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "OMC MML Command List",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "operation",
"display": "Operation",
"length": 10
},
{
"name": "object",
"display": "Object",
"length": 28
},
{
"name": "mml_display",
"display": "MML description",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"mml_cmd": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "OMC MML Command Help List",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "operation",
"display": "Operation",
"length": 10
},
{
"name": "object",
"display": "Object",
"length": 28
},
{
"name": "params",
"display": "Parameter list",
"length": 128
}
],
"end": "(Number of results = %d)\n\n"
}
"ne_license": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "NE License Information",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE ID",
"length": 20
},
{
"name": "serial_no",
"display": "Serial no",
"length": 12
},
{
"name": "capcity",
"display": "License capcity",
"length": 11
},
{
"name": "used",
"display": "License used",
"length": 11
},
{
"name": "feature_enabled",
"display": "Feature enabled",
"length": 30
},
{
"name": "expiration_date",
"display": "License expiration date",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"ne_link": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "Network Element Link",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE ID",
"length": 28
},
{
"name": "interface",
"display": "Interface",
"length": 20
},
{
"name": "status",
"display": "Status",
"length": 20
},
{
"name": "created_at",
"display": "Timestamp",
"length": 20
}
],
"end": "(Number of results = %d)\n\n"
}
"northbound_cm": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "NBI Resource Management",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE ID",
"length": 20
},
{
"name": "rm_uid",
"display": "RM UID",
"length": 20
},
{
"name": "user_label",
"display": "User label",
"length": 20
},
{
"name": "object_type",
"display": "Object type",
"length": 20
},
{
"name": "pv_flag",
"display": "PV flag",
"length": 8
},
{
"name": "value_json",
"display": "NBI resource management",
"length": 200
}
],
"end": "(Number of results = %d)\n\n"
}
"param_config": {
"retFmt": "GetDB",
"retMsg": "RetCode = %d operation succeeded\n\n",
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
"title": "NE Config Parameters",
"singleList": true,
"sepSpaceNum": 2,
"alignmentM": "Left",
"alignmentSN": "Right",
"alignmentSV": "Left",
"cols": [
{
"name": "ne_type",
"display": "NE type",
"length": 10
},
{
"name": "ne_id",
"display": "NE ID",
"length": 28
},
{
"name": "top_tag",
"display": "Parameters tag",
"length": 128
},
{
"name": "param_name",
"display": "Parameter name list",
"length": 256
},
{
"name": "param_value",
"display": "Parameter value list",
"length": 256
}
],
"end": "(Number of results = %d)\n\n"
}
{
"bodyFmt": "PutDB",
"bodyKey": "ne_license",
"callFunc": "DeploymentLicense"
}
{
"bodyFmt": "PutDB",
"bodyKey": "ne_license",
"callFunc": "AdjustmentLicense"
}
{
"bodyFmt": "PutDB",
"bodyKey": "ne_license",
"callFunc": "InstallLicense"
}
{
"bodyFmt": "PutDB",
"bodyKey": "ne_license",
"cols": [
{
"name": "updated_at",
"alias": "updated_at",
"type": "string",
"length": 20,
"value": "2023-08-17 23:38:53"
}
]
}
{
"bodyFmt": "PutDB",
"bodyKey": "ne_license"
}
{
"bodyFmt": "PutDB",
"bodyKey": "shell",
"callFunc": "RunShellCommand"
}
+310
View File
@@ -0,0 +1,310 @@
amf:
system:
display: "System Config"
list:
- name: "amfName"
type: "string"
value: "AMF"
access: "read-write"
filter: '0~64'
display: "AMF Name"
comment: ""
- name: "relativeCapacity"
type: "int"
value: "255"
access: "read-write"
filter: "0~255"
display: "Relative Capacity"
comment: ""
- name: "sbiScheme"
type: "enum"
value: "0"
access: "read-write"
filter: '{"0":"http","1":"https"}'
display: "SBI Scheme"
comment: ""
- name: "sbiServerIp"
type: "string"
value: "192.168.1.183"
access: "read-write"
filter: '0~64'
display: "SBI Server IP"
comment: ""
- name: "sbiServerPort"
type: "int"
value: "8080"
access: "read-write"
filter: "0~65535"
display: "SBI Server Port"
comment: "0~65535"
- name: "nrfEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "NRF Enabled"
comment: ""
- name: "nrfUri"
type: "string"
value: "http://172.16.5.180:8080"
access: "read-write"
filter: '0~64'
display: "NRF URI"
comment: ""
- name: "ausfUri"
type: "string"
value: "http://172.16.5.130:8080"
access: "read-write"
filter: '0~64'
display: "AUSF URI"
comment: ""
- name: "udmUri"
type: "string"
value: "http://172.16.5.140:8080"
access: "read-write"
filter: '0~64'
display: "UDM URI"
comment: ""
- name: "smfUri"
type: "string"
value: "http://172.16.5.150:8080"
access: "read-write"
filter: '0~64'
display: "SMF URI"
comment: ""
- name: "pcfUri"
type: "string"
value: "http://172.16.5.160:8080"
access: "read-write"
filter: '0~64'
display: "PCF URI"
comment: ""
- name: "lmfUri"
type: "string"
value: "http://172.16.5.200:8080"
access: "read-write"
filter: '0~64'
display: "LMF URI"
comment: ""
- name: "nefUri"
type: "string"
value: "http://172.16.5.210:8080"
access: "read-write"
filter: '0~64'
display: "NEF URI"
comment: ""
- name: "dnnCorrectionEnabled"
type: "bool"
value: "0"
access: "read-write"
filter: '{"0":"false","1":"true"}'
display: "DNN Correction Enabled"
comment: ""
- name: "defaultDnn"
type: "string"
value: "cmnet"
access: "read-write"
filter: '0~64'
display: "Default DNN"
comment: ""
- name: "integrityAlgorithm"
type: "enum"
value: "2"
access: "read-write"
filter: '{"0":"NIA0","1":"NIA1","2":"NIA2","3":"NIA3"}'
display: "Integrity Algorithm"
comment: ""
- name: "cipheringAlgorithm"
type: "enum"
value: "0"
access: "read-write"
filter: '{"0":"NEA0","1":"NEA1","2":"NEA2","3":"NEA3"}'
display: "Ciphering Algorithm"
comment: ""
- name: "t3502"
type: "int"
value: "720"
access: "read-write"
filter: ""
display: "T3502"
comment: ""
- name: "t3512"
type: "int"
value: "3600"
access: "read-write"
filter: ""
display: "T3512"
comment: ""
- name: "t3513"
type: "int"
value: "2"
access: "read-write"
filter: ""
display: "T3513"
comment: ""
- name: "t3522"
type: "int"
value: "6"
access: "read-write"
filter: ""
display: "T3522"
comment: ""
- name: "t3550"
type: "int"
value: "6"
access: "read-write"
filter: ""
display: "T3550"
comment: ""
- name: "t3555"
type: "int"
value: "6"
access: "read-write"
filter: ""
display: "T3555"
comment: ""
- name: "t3560"
type: "int"
value: "6"
access: "read-write"
filter: ""
display: "T3560"
comment: ""
- name: "t3565"
type: "int"
value: "6"
access: "read-write"
filter: ""
display: "T3565"
comment: ""
- name: "t3570"
type: "int"
value: "6"
access: "read-write"
filter: ""
display: "T3570"
comment: ""
association:
display: "TNL Association"
array:
- name: "index"
type: "int"
value: "0"
access: "read-write"
filter: '0~15'
display: "Index"
comment: "0~15"
- name: "ngapIp"
type: "string"
value: "192.168.1.183"
access: "read-write"
filter: '0~64'
display: "NGAP IP"
comment: ""
- name: "ngapSctpPort"
type: "int"
value: "38412"
access: "read-write"
filter: "0~65535"
display: "NGAP SCTP Port"
comment: "0~65535"
- name: "weightFactor"
type: "int"
value: "255"
access: "read-write"
filter: "0~255"
display: "Weight"
comment: ""
guami:
display: "Guami List"
array:
- name: "index"
type: "int"
value: "0"
access: "read-write"
filter: '0~15'
display: "Index"
comment: "0~15"
- name: "plmnId"
type: "regex"
value: '46000'
access: "read-write"
filter: '^[0-9]{5,6}$'
display: "Plmn Id"
comment: ""
- name: "regionId"
type: "int"
value: '1'
access: "read-write"
filter: '0~256'
display: "Region ID"
comment: "0~256"
- name: "setId"
type: "int"
value: '1'
access: "read-write"
filter: '0~1023'
display: "Set ID"
comment: ""
- name: "pointer"
type: "int"
value: '1'
access: "read-write"
filter: '0~63'
display: "Pointer"
comment: ""
tai:
display: "TAI List"
array:
- name: "index"
type: "int"
value: "0"
access: "read-write"
filter: '0~15'
display: "Index"
comment: "0~15"
- name: "plmnId"
type: "regex"
value: '46000'
access: "read-write"
filter: '^[0-9]{5,6}$'
display: "Plmn Id"
comment: ""
- name: "tac"
type: "string"
value: "1"
access: "read-write"
filter: '0~8'
display: "TAC"
comment: "0~8"
slice:
display: "Slice List"
array:
- name: "index"
type: "int"
value: "0"
access: "read-write"
filter: '0~15'
display: "Index"
comment: "0~15"
- name: "plmnId"
type: "regex"
value: '46000'
access: "read-write"
filter: '^[0-9]{5,6}$'
display: "Plmn Id"
comment: ""
- name: "sst"
type: "int"
value: '1'
access: "read-write"
filter: '0~127'
display: "Sst"
comment: ""
- name: "sd"
type: "regex"
value: '000001'
access: "read-write"
filter: ''
display: "Sd"
comment: ""
+46
View File
@@ -0,0 +1,46 @@
ausf:
system:
display: "System"
list:
- name: "serviceIP"
type: "ipv4"
value: "172.16.5.130"
access: "read-write"
filter: ''
display: "Service IP"
comment: ""
- name: "servicePort"
type: "int"
value: "8080"
access: "read-write"
filter: "0~65535"
display: "Service Port"
comment: "0~65535"
- name: "scheme"
type: "enum"
value: "http"
access: "read-write"
filter: "{\"0\":\"http\", \"1\":\"https\"}"
display: "scheme"
comment: ""
- name: "nrfUri"
type: "string"
value: "http://172.16.5.180:8080"
access: "read-write"
filter: ''
display: "NRF URI"
comment: ""
- name: "udmUri"
type: "string"
value: "http://172.16.5.140:8080"
access: "read-write"
filter: ''
display: "UDM URI"
comment: ""
- name: "groupId"
type: "string"
value: "0"
access: "read-write"
filter: ''
display: "Group Id"
comment: "0~31"
+114
View File
@@ -0,0 +1,114 @@
ims:
system:
display: "System"
list:
- name: "label"
type: "string"
value: "ims-core"
access: "read-write"
filter: ''
display: "label"
comment: ""
- name: "hplmnMCC"
type: "string"
value: "460"
access: "read-write"
filter: ''
display: "HPLMN MCC"
comment: ""
- name: "hplmnMNC"
type: "string"
value: "00"
access: "read-write"
filter: ''
display: "HPLMN MNC"
comment: ""
- name: "serviceIP"
type: "ipv4"
value: "172.16.5.110"
access: "read-write"
filter: ''
display: "Service IP"
comment: ""
- name: "serviceIPv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ''
display: "Service IPv6"
comment: ""
- name: "domainName1"
type: "string"
value: "ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: ''
display: "Domain Name 1"
comment: ""
- name: "domainName2"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Domain Name 2"
comment: ""
- name: "domainName3"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Domain Name 3"
comment: ""
- name: "domainName4"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Domain Name 4"
comment: ""
- name: "multiDomainInd"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "MultiDomain Indicator"
comment: ""
- name: "transcodeInd"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "Transcode Indicator"
comment: ""
- name: "multiIPStackInd"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "MultiIPStack Indicator"
comment: ""
- name: "registerTimer"
type: "int"
value: "7200"
access: "read-only"
filter: '120-1000000'
display: "Register Timer"
comment: "1~8"
- name: "dispatchSystemInd"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "Dispatch System Indicator"
comment: ""
- name: "dispatchSystemIP"
type: "ipv4"
value: ""
access: "read-write"
filter: ''
display: "Dispatch System IP"
comment: ""
+64
View File
@@ -0,0 +1,64 @@
nrf:
system:
display: "System"
list:
- name: "serviceIP"
type: "ipv4"
value: "172.16.5.180"
access: "read-write"
filter: ''
display: "Service IP"
comment: ""
- name: "servicePort"
type: "int"
value: "8080"
access: "read-write"
filter: "0~65535"
display: "Service Port"
comment: "0~65535"
- name: "scheme"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"http\", \"1\":\"https\"}"
display: "scheme"
comment: ""
registeredNFs:
display: "Registered NFs"
method: "get"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~256'
display: "Index"
comment: "1~256"
- name: "nfType"
type: "string"
value: ''
access: "read-only"
filter: '^.{1,128}$'
display: "NF Type"
comment: "1~128"
- name: "status"
type: "string"
value: ''
access: "read-only"
filter: '^.{1,128}$'
display: "Status"
comment: "1~128"
- name: "nfId"
type: "string"
value: ''
access: "read-only"
filter: '^.{1,128}$'
display: "NF Id"
comment: "1~128"
- name: "ipAddress"
type: "string"
value: ''
access: "read-only"
filter: '^.{1,128}$'
display: "IP Address"
comment: "1~128"
+366
View File
@@ -0,0 +1,366 @@
nssf:
General:
display: "General"
list:
- name: "NssfName"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "NSSF Name"
comment: ""
- name: "NrfUri"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Nrf Uri"
comment: ""
- name: "LogLevel"
type: "string"
value: "error"
access: "read-write"
filter: ''
display: "Log Level"
comment: ""
- name: "NFId"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "NF Id"
comment: ""
- name: "SystemID"
type: "int"
value: "0"
access: "read-write"
filter: ''
display: "System ID"
comment: ""
Omc:
display: "Omc"
list:
- name: "Enabled"
type: "bool"
value: "false"
access: "read-write"
filter: ''
display: "Enabled"
comment: ""
- name: "IpType"
type: "string"
value: "ipv4"
access: "read-write"
filter: ''
display: "Ip Type"
comment: "ipv4|ipv6|ipv46"
- name: "LocalIpv4"
type: "string"
value: "0.0.0.0"
access: "read-write"
filter: ''
display: "Local Ipv4"
comment: ""
- name: "LocalIpv6"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Local Ipv6"
comment: ""
- name: "LocalSeverPort"
type: "int"
value: "3030"
access: "read-write"
filter: '0~65535'
display: "Local Sever Port"
comment: "0~65535"
- name: "OmcIpv4"
type: "string"
value: "0.0.0.0"
access: "read-write"
filter: ''
display: "OMC Ipv4"
comment: ""
- name: "OmcIpv6"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "OMC Ipv6"
comment: ""
- name: "OmcPort"
type: "int"
value: "3030"
access: "read-write"
filter: '0~65535'
display: "OMC Port"
comment: "0~65535"
- name: "HttpScheme"
type: "string"
value: "http"
access: "read-write"
filter: ''
display: "Http Scheme"
comment: "http|https"
- name: "KpiStatisticInterval"
type: "int"
value: "1"
access: "read-write"
filter: '0~255'
display: "Kpi Statistic Interval"
comment: "0~255"
- name: "NeId"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Ne Id"
comment: ""
- name: "NeName"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Ne Name"
comment: ""
- name: "ObjectName"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Object Name"
comment: ""
- name: "Province"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Province"
comment: ""
- name: "PVFlag"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "PV Flag"
comment: ""
Sbi:
display: "Sbi"
list:
- name: "Scheme"
type: "string"
value: "http"
access: "read-write"
filter: ''
display: "Scheme"
comment: ""
- name: "RegisterIPv4"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Register IPv4"
comment: "Register IPv4"
- name: "BindingIPv4"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Binding IPv4"
comment: "Binding IPv4"
- name: "Register IPv6"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Register IPv6"
comment: "Register IPv6"
- name: "BindingIPv6"
type: "string"
value: ""
access: "read-write"
filter: '0~65535'
display: "Binding IPv6"
comment: "Binding IPv6"
- name: "IPType"
type: "string"
value: "ipv4"
access: "read-write"
filter: ''
display: "IP Type"
comment: "IP Type"
- name: "Port"
type: "int"
value: "8080"
access: "read-write"
filter: ''
display: "Port"
comment: "Port"
- name: "TelnetIPv4"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Telnet IPv4"
comment: "Telnet IPv4"
- name: "TelnetIPv6"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Telnet IPv6"
comment: "Telnet IPv6"
- name: "TelnetPort"
type: "int"
value: "4100"
access: "read-write"
filter: ''
display: "Telnet Port"
comment: "Telnet Port"
SupportedNetworkSliceList:
display: "Supported Network Slice List"
array:
- name: "Index"
type: "int"
value: "1"
access: "read-only"
filter: '1~32'
display: "Index"
comment: "1~32"
- name: "Mcc"
type: "string"
value: ""
access: "read-only"
filter: ''
display: "Mcc"
comment: "Mcc"
- name: "Mnc"
type: "string"
value: ""
access: "read-only"
filter: ''
display: "Mnc"
comment: "Mnc"
- name: "Tac"
type: "string"
value: ""
access: "read-only"
filter: ''
display: "Tac"
comment: "Tac"
- name: "SupportedSst"
type: "int"
value: ""
access: "read-only"
filter: ''
display: "Supported Sst"
comment: "Supported Sst"
- name: "SupportedSd"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Supported Sd"
comment: "Supported Sd"
- name: "RestrictedSst"
type: "int"
value: ""
access: "read-only"
filter: ''
display: "Restricted Sst"
comment: "Restricted Sst"
- name: "RestrictedSd"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Restricted Sd"
comment: "Restricted Sd"
- name: "NrfId"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Nrf Id"
comment: "Nrf Id"
- name: "Nsi Id"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Nsi Id"
comment: "Nsi Id"
- name: "Access Type"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Access Type"
comment: "Access Type"
- name: "AmfSetId"
type: "string"
value: ""
access: "read-write"
filter: ''
display: "Amf Set Id"
comment: "Amf Set Id"
PlmnMappingList:
display: "Plmn Mapping List"
array:
- name: "Index"
type: "int"
value: "1"
access: "read-only"
filter: '1~32'
display: "Index"
comment: "1~32"
- name: "OperatorName"
type: "string"
value: ""
access: "read-only"
filter: ''
display: "Operator Name"
comment: "Operator Name"
- name: "Mcc"
type: "string"
value: ""
access: "read-only"
filter: ''
display: "Mcc"
comment: "Mcc"
- name: "Mnc"
type: "string"
value: ""
access: "read-only"
filter: ''
display: "Mnc"
comment: "Mnc"
- name: "ServingSnssaiSst"
type: "int"
value: "1"
access: "read-only"
filter: ''
display: "Serving Snssai Sst"
comment: "Serving Snssai Sst"
- name: "ServingSnssaiSd"
type: "string"
value: "1"
access: "read-write"
filter: ''
display: "Serving Snssai Sd"
comment: "Serving Snssai Sd"
- name: "HomeSnssaiSst"
type: "int"
value: "1"
access: "read-only"
filter: ''
display: "Home Snssai Sst"
comment: "Home Snssai Sst"
- name: "HomeSnssaiSd"
type: "string"
value: "1"
access: "read-write"
filter: ''
display: "Home Snssai Sd"
comment: "Home Snssai Sd"
+594
View File
@@ -0,0 +1,594 @@
pcf:
system:
display: "System"
list:
- name: "serviceIP"
type: "ipv4"
value: "172.16.5.160"
access: "read-write"
filter: ''
display: "Service IP"
comment: ""
- name: "servicePort"
type: "int"
value: "8080"
access: "read-write"
filter: "0~65535"
display: "Service Port"
comment: "0~65535"
- name: "scheme"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"http\", \"1\":\"https\"}"
display: "scheme"
comment: ""
- name: "nrfUri"
type: "string"
value: "http://172.16.5.180:8080"
access: "read-write"
filter: ''
display: "NRF URI"
comment: ""
serviceAreaRestriction:
display: "Service Area Restriction"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_ambr'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "1~32"
- name: "restrictionType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"Allowed Areas\", \"1\":\"Not Allowed Areas\"}"
display: "Restriction Type"
comment: ""
- name: "tacs"
type: "string"
value: '123'
access: "read-write"
filter: ''
display: "TACs"
comment: "0~128"
- name: "areaCodes"
type: "string"
value: '123456'
access: "read-write"
filter: ''
display: "AreaCodes"
comment: "0~128"
- name: "maxTAs"
type: "int"
value: "1"
access: "read-write"
filter: '^\d{1,2}$'
display: "Max TAs"
comment: "0~32"
pccRules:
display: "PCC Rules"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~64'
display: "Index"
comment: "1~64"
- name: "ruleId"
type: "string"
value: 'internet'
access: "read-write"
filter: '^.{1,63}$'
display: "Rule Id"
comment: "0~63"
- name: "activate"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "Activate"
comment: ""
- name: "precedence"
type: "int"
value: "80"
access: "read-write"
filter: '0~255'
display: "Precedence"
comment: "0~255"
- name: "flowUsage"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"General\", \"1\":\"IMS-Signalling\"}"
display: "Flow Usage"
comment: ""
- name: "appId"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "App Id"
comment: "0~63"
- name: "flowTemplate"
type: "string"
value: 'flow_any'
access: "read-write"
filter: '^.{1,255}$'
display: "Flow Template"
comment: "0~255"
- name: "qosId"
type: "string"
value: 'qos_cmnet'
access: "read-write"
filter: '^.{1,63}$'
display: "Qos Id"
comment: "0~63"
- name: "trafficControlId"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Traffic Control Id"
comment: "0~63"
- name: "usageMonitoringId"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Usage Monitoring Id"
comment: "0~63"
sessionRules:
display: "Session Rules"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~64'
display: "Index"
comment: "1~64"
- name: "ruleId"
type: "string"
value: 'internet'
access: "read-write"
filter: '^.{1,63}$'
display: "Rule Id"
comment: "0~63"
- name: "activate"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "Activate"
comment: ""
- name: "fiveQI"
type: "int"
value: "9"
access: "read-write"
filter: '0~255'
display: "5QI"
comment: "0~255"
- name: "fiveQIPriorityLevel"
type: "int"
value: "80"
access: "read-write"
filter: '0~127'
display: "5QI Priority Level"
comment: "0~127"
- name: "flowUsage"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"General\", \"1\":\"IMS-Signalling\"}"
display: "Flow Usage"
comment: ""
- name: "usageMonitoringId"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Usage Monitoring Id"
comment: "0~63"
- name: "ambrDl"
type: "string"
value: '200Mbps'
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Ambr Dl"
comment: "0~31"
- name: "ambrUl"
type: "string"
value: '100Mbps'
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Ambr Ul"
comment: "0~31"
- name: "averagingWindow"
type: "int"
value: "0"
access: "read-write"
filter: '0~4095'
display: "Packet Delay Budget"
comment: "0~4095"
- name: "maxDataBurstVolume"
type: "int"
value: "0"
access: "read-write"
filter: '0~4095'
display: "Max Data Burst Volume"
comment: "0~4095"
- name: "arpPriorityLevel"
type: "int"
value: "1"
access: "read-write"
filter: '1~15'
display: "ARP Priority Level"
comment: "1~15"
- name: "arpPreemptCap"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"Not Preempt\",\"1\":\"May Preempt\"}"
display: "ARP PreemptCap"
comment: ""
- name: "arpPreemptVuln"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"Not Preemptable\",\"1\":\"Preemptable\"}"
display: "ARP PreemptVuln"
comment: ""
- name: "maxbrDl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Max Bitrate Dl"
comment: "0~31"
- name: "maxbrUl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Max Bitrate Ul"
comment: "0~31"
- name: "gbrDl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Gbr Dl"
comment: "0~31"
- name: "gbrUl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Gbr Ul"
comment: "0~31"
gxServer:
display: "Gx Server"
list:
- name: "enable"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "enable"
comment: ""
- name: "netType"
type: "enum"
value: '1'
access: "read-write"
filter: "{\"0\":\"tcp\",\"1\":\"sctp\"}"
display: "Link Type"
comment: ""
- name: "addr"
type: "string"
value: "172.16.5.140:3868"
access: "read-write"
filter: ''
display: "address"
comment: ""
- name: "host"
type: "string"
value: "hss.ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{0,127}$'
display: "host"
comment: "0~127"
- name: "realm"
type: "string"
value: "ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{0,127}$'
display: "realm"
comment: "0~127"
rxServer:
display: "Rx Server"
list:
- name: "enable"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "enable"
comment: ""
- name: "netType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"tcp\",\"1\":\"sctp\"}"
display: "Link Type"
comment: ""
- name: "addr"
type: "string"
value: "172.16.5.140:3868"
access: "read-write"
filter: ''
display: "address"
comment: ""
- name: "host"
type: "string"
value: "hss.ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{0,127}$'
display: "host"
comment: "0~127"
- name: "realm"
type: "string"
value: "ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{0,127}$'
display: "realm"
comment: "0~127"
flowTemplate:
display: "Flow Template"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~256'
display: "Index"
comment: "1~256"
- name: "templateName"
type: "string"
value: 'flow_any'
access: "read-write"
filter: '^.{1,63}$'
display: "Template Name"
comment: "0~63"
- name: "flowDescription"
type: "string"
value: 'permit out ip from any to assigned'
access: "read-write"
filter: '^.{1,127}$'
display: "Flow Description"
comment: "0~127"
- name: "flowDirection"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"unspecified\", \"1\":\"uplink\", \"2\":\"downlink\", \"3\":\"bidirectional\"}"
display: "Flow Direction"
comment: ""
qosTemplate:
display: "Qos Template"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~64'
display: "Index"
comment: "1~64"
- name: "qosId"
type: "string"
value: 'qos_cmnet'
access: "read-write"
filter: '^.{1,63}$'
display: "Qos Id"
comment: "0~63"
- name: "fiveQI"
type: "int"
value: "9"
access: "read-write"
filter: '0~255'
display: "5QI"
comment: "0~255"
- name: "fiveQIPriorityLevel"
type: "int"
value: "80"
access: "read-write"
filter: '0~127'
display: "5QI Priority Level"
comment: "0~127"
- name: "maxbrDl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Max Bitrate Dl"
comment: "0~31"
- name: "maxbrUl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Max Bitrate Ul"
comment: "0~31"
- name: "gbrDl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Gbr Dl"
comment: "0~31"
- name: "gbrUl"
type: "string"
value: ''
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Gbr Ul"
comment: "0~31"
- name: "arpPriorityLevel"
type: "int"
value: "1"
access: "read-write"
filter: '1~15'
display: "ARP Priority Level"
comment: "1~15"
- name: "arpPreemptCap"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"Not Preempt\",\"1\":\"May Preempt\"}"
display: "ARP PreemptCap"
comment: ""
- name: "arpPreemptVuln"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"Not Preemptable\",\"1\":\"Preemptable\"}"
display: "ARP PreemptVuln"
comment: ""
- name: "defQosFlowIndication"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "Default Qos Flow Indication"
comment: ""
usageMonitoringTemplate:
display: "Usage Monitoring Template"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~64'
display: "Index"
comment: "1~64"
- name: "umId"
type: "string"
value: 'flow_any'
access: "read-write"
filter: '^.{1,63}$'
display: "Usage Monitoring Id"
comment: "0~63"
- name: "volumeThreshold"
type: "int"
value: '5242880'
access: "read-write"
filter: ''
display: "Volume Threshold(KB)"
comment: ""
- name: "volumeThresholdUplink"
type: "int"
value: '0'
access: "read-write"
filter: ''
display: "Volume Threshold Uplink(KB)"
comment: ""
- name: "volumeThresholdDownlink"
type: "int"
value: '0'
access: "read-write"
filter: ''
display: "Volume Threshold Downlink(KB)"
comment: ""
- name: "timeThreshold"
type: "int"
value: '0'
access: "read-write"
filter: ''
display: "Time Threshold"
comment: ""
- name: "inactivityTime"
type: "int"
value: '0'
access: "read-write"
filter: ''
display: "Inactivity Time"
comment: ""
trafficControlTemplate:
display: "Traffic Control Template"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~64'
display: "Index"
comment: "1~64"
- name: "tcId"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Traffic Control Id"
comment: "0~63"
- name: "flowStatus"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"disable\", \"1\":\"uplink\", \"2\":\"downlink\", \"3\":\"enable\", \"4\":\"remove\"}"
display: "Flow Status"
comment: ""
- name: "muteNotif"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "Mute Notify"
comment: ""
- name: "dnai"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Route to Location Dnai"
comment: "0~63"
headerEnrichTemplate:
display: "Header Enrich Template"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "templateName"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Template Name"
comment: "0~63"
- name: "headerType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"gpsi\", \"1\":\"supi\", \"2\":\"ueip\", \"3\":\"userlocation\", \"4\":\"dnn\"}"
display: "Header Type"
comment: ""
- name: "headerName"
type: "string"
value: ''
access: "read-write"
filter: '^.{1,63}$'
display: "Header Name"
comment: "0~63"
+286
View File
@@ -0,0 +1,286 @@
smf:
smfSystem:
display: "SmfSystem"
list:
- name: "sbiIpAddr"
type: "string"
value: "172.16.5.150"
access: "read-write"
filter: ''
display: "SBI IpAddr"
comment: ""
- name: "sbiPort"
type: "int"
value: "8080"
access: "read-write"
filter: "0~65535"
display: "SBI Port"
comment: "0~65535"
- name: "sbiScheme"
type: "enum"
value: "http"
access: "read-write"
filter: "{\"0\":\"http\", \"1\":\"https\"}"
display: "SBI Scheme"
comment: ""
- name: "n4Ipv4"
type: "ipv4"
value: "172.16.5.150"
access: "read-write"
filter: ''
display: "N4 IPv4"
comment: ""
- name: "n4Ipv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ''
display: "N4 Ipv6"
comment: "N4 IPv6"
- name: "n4UIpv4"
type: "ipv4"
value: ""
access: "read-write"
filter: ''
display: "N4U IPv4"
comment: ""
- name: "n4UIpv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ''
display: "N4U IPv6"
comment: "N4U IPv6"
- name: "amfUri"
type: "string"
value: "http://172.16.5.120:8080"
access: "read-write"
filter: ''
display: "AMF Uri"
comment: ""
- name: "pcfUri"
type: "string"
value: "http://172.16.5.160:8080"
access: "read-write"
filter: ''
display: "PCF Uri"
comment: ""
- name: "udmUri"
type: "string"
value: "http://172.16.5.140:8080"
access: "read-write"
filter: ''
display: "UDM Uri"
comment: ""
- name: "nrfEnable"
type: "bool"
value: "false"
access: "read-write"
filter: "{\"0\":\"false\", \"1\":\"true\"}"
display: "NRF Enable"
comment: ""
- name: "nrfUri"
type: "string"
value: "http://172.16.5.180:8080"
access: "read-write"
filter: ''
display: "NRF Uri"
comment: ""
- name: "primaryDnsIpv4"
type: "ipv4"
value: "114.114.114.114"
access: "read-write"
filter: ""
display: "Primary Dns Ipv4"
comment: ""
- name: "secondaryDnsIpv4"
type: "ipv4"
value: ""
access: "read-write"
filter: ""
display: "Secondary Dns Ipv4"
comment: ""
- name: "primaryDnsIpv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ""
display: "Primary Dns Ipv6"
comment: ""
- name: "secondaryDnsIpv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ""
display: "Secondary Dns Ipv6"
comment: ""
- name: "primaryPcscfIpv4"
type: "ipv4"
value: "172.16.5.110"
access: "read-write"
filter: ""
display: "Primary Pcscf Ipv4"
comment: ""
- name: "secondaryPcscfIpv4"
type: "ipv4"
value: ""
access: "read-write"
filter: ""
display: "Secondary Pcscf Ipv4"
comment: ""
- name: "primaryPcscfIpv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ""
display: "Primary Pcscf Ipv6"
comment: ""
- name: "secondaryPcscfIpv6"
type: "ipv6"
value: ""
access: "read-write"
filter: ""
display: "Secondary Pcscf Ipv6"
comment: ""
- name: "ueMtu"
type: "int"
value: ""
access: "read-write"
filter: "0~65535"
display: "Ue MTU"
comment: ""
upfConfig:
display: "UpfConfig"
array:
- name: "index"
type: "int"
value: ""
access: "read-write"
filter: '0~65535'
display: "Index"
comment: ""
- name: "id"
type: "string"
value: ""
access: "read-write"
filter: '1~64'
display: "Upf Id"
comment: "upfId-1"
- name: "addr"
type: "string"
value: ""
access: "read-write"
filter: '7~45'
display: "Addr"
comment: "ip:port"
- name: "ipv4Pools"
type: "string"
value: ""
access: "read-write"
filter: '10~256'
display: "Ipv4Pools"
comment: "CIDR format, e.g. 192.168.1.0/24"
- name: "ipv6Pools"
type: "string"
value: ""
access: "read-write"
filter: '5~512'
display: "Ipv6Pools"
comment: "CIDR format, e.g. fe80::20c:29ff:fee4:dab7/50"
- name: "staticIpv4Enable"
type: "bool"
value: ""
access: "read-write"
filter: "{\"0\":\"false\", \"1\":\"true\"}"
display: "StaticIpv4Enable"
comment: ""
- name: "staticIpv4Start"
type: "ipv4"
value: ""
access: "read-write"
filter: ''
display: "StaticIpv4Start"
comment: "ipv4 format"
- name: "staticIpv4End"
type: "ipv4"
value: ""
access: "read-write"
filter: ''
display: "StaticIpv4End"
comment: "ipv4 format"
- name: "staticIpv6Enable"
type: "bool"
value: ""
access: "read-write"
filter: "{\"0\":\"false\", \"1\":\"true\"}"
display: "StaticIpv6Enable"
comment: ""
- name: "staticIpv6Start"
type: "ipv6"
value: ""
access: "read-write"
filter: ''
display: "StaticIpv6Start"
comment: "ipv6 format"
- name: "staticIpv6End"
type: "ipv6"
value: ""
access: "read-write"
filter: ''
display: "StaticIpv6End"
comment: "ipv6 format"
dnnSelectUpf:
display: "DnnSelectUpf"
array:
- name: "index"
type: "int"
value: "0"
access: "read-write"
filter: '0~65535'
display: "Index"
comment: ""
- name: "dnn"
type: "string"
value: ""
access: "read-write"
filter: '1~64'
display: "Dnn"
comment: ""
- name: "upfId"
type: "string"
value: ""
access: "read-write"
filter: '1~64'
display: "Upf Id"
comment: "upf Id"
dnnTaiSelectUpf:
display: "DnnTaiSelectUpf"
array:
- name: "index"
type: "int"
value: ""
access: "read-write"
filter: '0~65535'
display: "Index"
comment: ""
- name: "dnn"
type: "string"
value: ""
access: "read-write"
filter: '1~64'
display: "Dnn"
comment: ""
- name: "tai"
type: "string"
value: ""
access: "read-write"
filter: '1~64'
display: "Tai"
comment: "46000123456"
- name: "upfId"
type: "string"
value: "upf2-Id"
access: "read-write"
filter: '1~64'
display: "Upf Id"
comment: "upf Id"
+755
View File
@@ -0,0 +1,755 @@
udm:
system:
display: "System"
list:
- name: "serviceIP"
type: "ipv4"
value: "172.16.5.140"
access: "read-write"
filter: ''
display: "Service IP"
comment: ""
- name: "servicePort"
type: "int"
value: "8080"
access: "read-write"
filter: "0~65535"
display: "Service Port"
comment: "0~65535"
- name: "nrfUri"
type: "string"
value: "http://172.16.5.180:8080"
access: "read-write"
filter: ''
display: "NRF URI"
comment: ""
- name: "ausfIP"
type: "ipv4"
value: "172.16.5.130"
access: "read-write"
filter: ''
display: "AUSF IP"
comment: ""
- name: "fqdn"
type: "string"
value: "agt.com"
access: "read-write"
filter: ''
display: "fqdn"
comment: ""
- name: "priority"
type: "int"
value: "1"
access: "read-write"
filter: "0~4095"
display: "Priority"
comment: "0~4095"
- name: "capacity"
type: "int"
value: "4096"
access: "read-write"
filter: "0~65535"
display: "Capacity"
comment: "0~65535"
- name: "groupId"
type: "string"
value: "0"
access: "read-write"
filter: ''
display: "Group Id"
comment: "0~31"
- name: "supiRanges"
type: "regex"
value: "imsi-001010100080000~imsi-001010100080099"
access: "read-write"
filter: '^imsi-\d{15}~imsi-\d{15}$'
display: "SUPI Ranges"
comment: ""
- name: "gpsiRanges"
type: "regex"
value: "msisdn-69072000~msisdn-69072099"
access: "read-write"
filter: '^msisdn-\d{2,15}~msisdn-\d{2,15}$'
display: "GPSI Ranges"
comment: ""
- name: "scheme"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"http\", \"1\":\"https\"}"
display: "scheme"
comment: ""
subsUEAmbr:
display: "Subs UE AMBR"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_ambr'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "1~32"
- name: "uplink"
type: "string"
value: '1Gbps'
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Uplink"
comment: ""
- name: "downlink"
type: "string"
value: '2Gbps'
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Downlink"
comment: ""
subsNssais:
display: "Subs Nssais"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_nssai'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "1~32"
- name: "supportedFeatures"
type: "string"
value: "1"
access: "read-write"
filter: '8~8'
display: "Supported Features"
comment: "8~8"
- name: "defaultSingleNSSAIs"
type: "string"
value: '1-000001'
access: "read-write"
filter: ''
display: "Default Single NSSAIs"
comment: "0~128"
- name: "singleNssais"
type: "string"
value: '1-000002'
access: "read-write"
filter: ''
display: "Single Nssais"
comment: "0~128"
forbiddenAreas:
display: "Forbidden Areas"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_ambr'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "1~32"
- name: "tacs"
type: "string"
value: '123'
access: "read-write"
filter: ''
display: "TACs"
comment: "0~128"
- name: "areaCodes"
type: "string"
value: '123456'
access: "read-write"
filter: ''
display: "AreaCodes"
comment: "0~128"
serviceAreaRestriction:
display: "Service Area Restriction"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_ambr'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "1~32"
- name: "restrictionType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"Allowed Areas\", \"1\":\"Not Allowed Areas\"}"
display: "Restriction Type"
comment: "0~128"
- name: "tacs"
type: "string"
value: '123'
access: "read-write"
filter: ''
display: "TACs"
comment: "0~128"
- name: "areaCodes"
type: "string"
value: '123456'
access: "read-write"
filter: ''
display: "AreaCodes"
comment: "0~128"
- name: "maxTAs"
type: "int"
value: "1"
access: "read-write"
filter: '^\d{1,2}$'
display: "Max TAs"
comment: "0~32"
smfSelection:
display: "Subs Smf Selection"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_snssai'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "0~32"
- name: "snssai"
type: "string"
value: '1-000001'
access: "read-write"
filter: '^\d{1,3}[A-Fa-f0-9]{6}$'
display: "Snssai"
comment: ""
- name: "dnnList"
type: "int"
value: '1'
access: "read-only"
filter: '1~4'
display: "Dnn List"
comment: ""
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~4'
display: "index"
comment: "1~4"
- name: "dnn"
type: "string"
value: 'cmnet'
access: "read-write"
filter: '^.{1,32}$'
display: "Dnn"
comment: "0~32"
- name: "defaultDnnInd"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "default Dnn Indicator"
comment: ""
- name: "lboRoamingAllowed"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "LBO Roaming Allowed"
comment: "LBO Roaming Allowed"
- name: "iwkEpsInd"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "Iwk EPS Ind"
comment: "Iwk EPS Ind"
- name: "ladnIndicator"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "LADN Indicator"
comment: "LADN Indicator"
dnn:
display: "Dnn Conf"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_nssai'
access: "read-write"
filter: '^.{1,32}$'
display: "Name"
comment: "1~32"
- name: "defaultPDUSessionType"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"IPV4\",\"1\":\"IPV6\",\"2\":\"IPV4V6\",\"3\":\"Ethernet\",\"4\":\"Unstruction\"}"
display: "Default PDU Session Type"
comment: ""
- name: "allowedPDUSessionTypes"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"IPV4\",\"1\":\"IPV6\",\"2\":\"IPV4V6\",\"3\":\"Ethernet\",\"4\":\"Unstruction\",\"5\":\"IPV4 & IPV6\",\"6\":\"IPV4 & IPV4V6\",\"7\":\"IPV6 & IPV4V6\",\"8\":\"IPV4 & IPV6 & IPV4V6\"}"
display: "Allowed PDU Session Types"
comment: ""
- name: "5qi"
type: "int"
value: "9"
access: "read-write"
filter: "0~255"
display: "5qi"
comment: ""
- name: "priorityLevel"
type: "int"
value: "9"
access: "read-write"
filter: "1~127"
display: "Priority Level"
comment: ""
- name: "defaultSSCmode"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"sscMode1\",\"1\":\"sscMode2\",\"2\":\"sscMode3\"}"
display: "Default SSC Mode"
comment: "1~16"
- name: "allowedSSCmodes"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"sscMode1\",\"1\":\"sscMode2\",\"2\":\"sscMode3\",\"3\":\"sscMode1 & sscMode2\",\"4\":\"sscMode1 & sscMode3\",\"5\":\"sscMode2 & sscMode3\",\"6\":\"sscMode1 & sscMode2 & sscMode3\"}"
display: "Allowed SSC Modes"
comment: "1~16"
- name: "interworkingEPSIndicator"
type: "bool"
value: "1"
access: "read-write"
filter: ''
display: "Interworking EPS Indicator"
comment: ""
- name: "ladnIndicator"
type: "bool"
value: "1"
access: "read-write"
filter: ''
display: "LADN Indicator"
comment: ""
- name: "chargingCharacteristics"
type: "string"
value: "0001"
access: "read-write"
filter: '4~4'
display: "Charging Characteristics"
comment: "4~4"
- name: "subscribedSessionAmbrUL"
type: "regex"
value: "1Gbps"
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Subscribed Session Ambr UL"
comment: ""
- name: "subscribedSessionAmbrDL"
type: "regex"
value: "2Gbps"
access: "read-write"
filter: '^\d+(\.\d+)?( ?)(bps|Kbps|Mbps|Gbps|Tbps)$'
display: "Subscribed Session Ambr DL"
comment: ""
- name: "staticIPAddress"
type: "ipv4"
value: "192.168.1.100"
access: "read-write"
filter: ''
display: "Static IP Address"
comment: ""
- name: "userPlaneIntegrity"
type: "enum"
value: "3"
access: "read-write"
filter: "{\"0\":\"Null\",\"1\":\"Required\",\"2\":\"Preferred\",\"3\":\"Not Needed\"}"
display: "User Plane Integrity"
comment: ""
- name: "userPlaneConfidentiality"
type: "enum"
value: "3"
access: "read-write"
filter: "{\"0\":\"Null\",\"1\":\"Required\",\"2\":\"Preferred\",\"3\":\"Not Needed\"}"
display: "User Plane Confidentiality"
comment: ""
- name: "arpPriorityLevel"
type: "int"
value: "6"
access: "read-write"
filter: "0~255"
display: "ARP Priority Level"
comment: ""
- name: "arpPreemptCap"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"Not Preempt\",\"1\":\"May Preempt\"}"
display: "ARP PreemptCap"
comment: ""
- name: "arpPreemptVuln"
type: "enum"
value: "0"
access: "read-write"
filter: "{\"0\":\"Not Preemptable\",\"1\":\"Preemptable\"}"
display: "ARP PreemptVuln"
comment: ""
epsTemplate:
display: "Eps User Template"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "name"
type: "string"
value: 'def_eps'
access: "read-write"
filter: '^.{0,31}$'
display: "Name"
comment: "0~31"
- name: "ambrUplink"
type: "int"
value: '100000000'
access: "read-write"
filter: '0~4294967295'
display: "AMBR Uplink"
comment: "0~4294967295"
- name: "ambrDownlink"
type: "int"
value: '200000000'
access: "read-write"
filter: '0~4294967295'
display: "AMBR Downlink"
comment: "0~4294967295"
- name: "apnOIReplacement"
type: "string"
value: 'money'
access: "read-write"
filter: '^.{0,31}$'
display: "APN OI Replacement"
comment: "0~31"
- name: "rfsp"
type: "int"
value: '1'
access: "read-write"
filter: ''
display: "rfsp"
comment: ""
- name: "rauTauTimer"
type: "int"
value: '120'
access: "read-write"
filter: ''
display: "Rau Tau Timer"
comment: ""
- name: "chargingCharacteristic"
type: "string"
value: '0001'
access: "read-write"
filter: '4~4'
display: "Charging Characteristic"
comment: "4~4"
epsApn:
display: "Eps Apn"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~16'
display: "Index"
comment: "1~16"
- name: "dnn"
type: "string"
value: 'cmnet'
access: "read-write"
filter: '^.{0,127}$'
display: "Dnn"
comment: "0~127"
- name: "pdnType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"IPV4\",\"1\":\"IPV6\",\"2\":\"IPV4V6\",\"3\":\"IPV4 or IPV6\"}"
display: "Pdn Type"
comment: ""
- name: "qci"
type: "int"
value: '9'
access: "read-write"
filter: '1~255'
display: "qci"
comment: "1~255"
- name: "arpPriorityLevel"
type: "int"
value: '8'
access: "read-write"
filter: '1~127'
display: "ARP Priority"
comment: "1~127"
- name: "arpPreemptCap"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"Not Preempt\",\"1\":\"May Preempt\"}"
display: "ARP Preemption Capability"
comment: ""
- name: "arpPreemptVuln"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"Not Preemptable\",\"1\":\"Preemptable\"}"
display: "ARP Preemption Vulnerability"
comment: ""
- name: "contextIdentifier"
type: "int"
value: '1'
access: "read-write"
filter: ''
display: "Context Identifier"
comment: ""
- name: "vplmnDynamicAddressAllowed"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "enable"
comment: ""
- name: "pdnGWAllocationType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"static\",\"1\":\"dynamic\"}"
display: "Pdn GW Allocation Type"
comment: ""
- name: "ambrUplink"
type: "int"
value: '100000000'
access: "read-write"
filter: '0~4294967295'
display: "AMBR Uplink"
comment: "0~4294967295"
- name: "ambrDownlink"
type: "int"
value: '200000000'
access: "read-write"
filter: '0~4294967295'
display: "AMBR Downlink"
comment: "0~4294967295"
- name: "chargingCharacteristic"
type: "string"
value: '0001'
access: "read-write"
filter: '4~4'
display: "Charging Characteristic"
comment: "4~4"
applicationServer:
display: "Application Server"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~32'
display: "Index"
comment: "1~32"
- name: "name"
type: "string"
value: 'mmtel_as'
access: "read-write"
filter: '^.{1,31}$'
display: "AS Name"
comment: "0~31"
- name: "defaultHandling"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"Session Continued\",\"1\":\"Session Terminated\"}"
display: "Default Handling"
comment: ""
- name: "serverName"
type: "string"
value: 'sip:192.168.8.26:7060'
access: "read-write"
filter: '^.{1,127}$'
display: "Server Name"
comment: "0~127"
- name: "diameterAddress"
type: "string"
value: 'mmtel.ims.mnc000.mcc460.3gppnetwork.org'
access: "read-write"
filter: '^.{1,127}$'
display: "Diameter Address"
comment: "0~127"
- name: "repDataSizeLimit"
type: "int"
value: '0'
access: "read-write"
filter: '0~65535'
display: "Rep Data Size Limit"
comment: "0~65535"
- name: "includeRegisterRequest"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "Include Register Request"
comment: ""
- name: "includeRegisterResponse"
type: "bool"
value: 'false'
access: "read-write"
filter: 'false;true;'
display: "Include Register Response"
comment: ""
scscfSet:
display: "Scscf Set"
array:
- name: "index"
type: "int"
value: "1"
access: "read-only"
filter: '1~8'
display: "Index"
comment: "1~8"
- name: "name"
type: "string"
value: 'mmtel_as'
access: "read-write"
filter: '^.{1,31}$'
display: "Name"
comment: "0~31"
- name: "priority"
type: "int"
value: '1'
access: "read-write"
filter: ''
display: "Priority"
comment: ""
- name: "serverName"
type: "string"
value: 'sip:scscf.ims.mnc000.mcc460.3gppnetwork.org:6060'
access: "read-write"
filter: '^.{1,127}$'
display: "Server Name"
comment: "0~127"
s6aServer:
display: "S6a Server"
list:
- name: "enable"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "enable"
comment: ""
- name: "netType"
type: "enum"
value: '1'
access: "read-write"
filter: "{\"0\":\"tcp\",\"1\":\"sctp\"}"
display: "Link Type"
comment: ""
- name: "addr"
type: "string"
value: "172.16.5.140:3868"
access: "read-write"
filter: ''
display: "address"
comment: ""
- name: "host"
type: "string"
value: "hss.ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{1,127}$'
display: "host"
comment: "0~127"
- name: "realm"
type: "string"
value: "ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{1,127}$'
display: "realm"
comment: "0~127"
cxServer:
display: "Cx Server"
list:
- name: "enable"
type: "bool"
value: 'true'
access: "read-write"
filter: 'false;true;'
display: "enable"
comment: ""
- name: "netType"
type: "enum"
value: '0'
access: "read-write"
filter: "{\"0\":\"tcp\",\"1\":\"sctp\"}"
display: "Link Type"
comment: ""
- name: "addr"
type: "string"
value: "172.16.5.140:3868"
access: "read-write"
filter: ''
display: "address"
comment: ""
- name: "host"
type: "string"
value: "hss.ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{1,127}$'
display: "host"
comment: "0~127"
- name: "realm"
type: "string"
value: "ims.mnc000.mcc460.3gppnetwork.org"
access: "read-write"
filter: '^.{1,127}$'
display: "realm"
comment: "0~127"
File diff suppressed because it is too large. Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+76
View File
@@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="DataFile">
<xs:complexType>
<xs:sequence>
<xs:element name="FileHeader">
<xs:complexType>
<xs:sequence>
<xs:element name="TimeStamp" type="xs:dateTime"/>
<xs:element name="TimeZone" type="xs:string"/>
<xs:element name="VendorName" type="xs:string" minOccurs="0"/>
<xs:element name="ElementType" type="xs:string" minOccurs="0"/>
<xs:element name="CmVersion" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Objects" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ObjectType" type="xs:string"/>
<!--该字段必选-->
<xs:element name="FieldName">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="N">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="FieldValue">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="Object">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="V">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="rmUID" type="xs:string" use="required"/>
<xs:attribute name="Dn" type="xs:string"/>
<!-- //无线、核心网专业该字段必选,传输、IP专业、业务系统无该字段-->
<xs:attribute name="UserLabel" type="xs:string"/>
<!-- //无线、核心网专业该字段必选,传输、IP专业、业务系统无该字段-->
<xs:attribute name="PVFlag" type="xs:string" use="required"/>
<!-- //必须-->
<xs:attribute name="VMID" type="xs:string"/>
<!-- //VNF网络或VNF和PNF混合组网:虚拟网元必选,物理网元无该字段-->
<xs:attribute name="VNFInstanceID" type="xs:string"/>
<!-- //VNF网络或VNF和PNF混合组网:虚拟网元必选,物理网元无该字段-->
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
+80
View File
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="PmFile">
<xs:complexType>
<xs:sequence>
<xs:element name="FileHeader">
<xs:complexType>
<xs:sequence>
<xs:element name="TimeStamp" type="xs:dateTime" />
<xs:element name="TimeZone" type="xs:string" />
<xs:element name="Period" type="xs:integer" />
<xs:element name="VendorName" type="xs:string" />
<xs:element name="ElementType" type="xs:string" />
<xs:element name="PmVersion" type="xs:string" />
<xs:element name="StartTime" type="xs:dateTime" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Measurements" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ObjectType" type="xs:string" />
<xs:element name="PmName">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="N">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PmData">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="Object">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="V">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="i" type="xs:integer" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="CV">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="SN" type="xs:string" />
<xs:element name="SV" type="xs:string" />
</xs:sequence>
<xs:attribute name="i" type="xs:integer"
use="required" />
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="rmUID" type="xs:string" use="required" />
<xs:attribute name="Dn" type="xs:string" use="required" />
<xs:attribute name="UserLabel" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/expect
#This script is to invoke CB_SMS via debug command
spawn telnet 192.168.1.51 4965
send "x\n"
send "n\n"
sleep 1
send "\033\n"
send "vlr start cb_sms\n"
sleep 1
send "q\n"
exit
+53
View File
@@ -0,0 +1,53 @@
#!/bin/bash
while true; do
timestamp=`date +%s`
filepath=~altouser/imsi.txt
if [ -f $filepath ];
then
filetimestamp=`stat -c %Y $filepath`
timegap=$(($timestamp-$filetimestamp))
if [ $timegap -gt 2 ]; then
mv $filepath /etc/edge/white_list.cfg
fi
fi
filepath=~altouser/dns.txt
if [ -f $filepath ];
then
filetimestamp=`stat -c %Y $filepath`
timegap=$(($timestamp-$filetimestamp))
if [ $timegap -gt 2 ]; then
mv $filepath /etc/edge/dns.txt
fi
fi
filepath=~altouser/osmo-bsc.cfg
if [ -f $filepath ];
then
filetimestamp=`stat -c %Y $filepath`
timegap=$(($timestamp-$filetimestamp))
if [ $timegap -gt 2 ]; then
mv $filepath /etc/edge/osmo-bsc.cfg
fi
fi
filepath=~altouser/cb_sms.cfg
if [ -f $filepath ];
then
filetimestamp=`stat -c %Y $filepath`
timegap=$(($timestamp-$filetimestamp))
if [ $timegap -gt 2 ]; then
mv $filepath /etc/edge/cb_sms.cfg
/usr/bin/cb_sms.sh
fi
fi
sleep 1
done
+495
View File
@@ -0,0 +1,495 @@
EXP #1: "Get all smf systemState"
URI: 192.168.30.20: 3030/api/rest/systemManagement/v1/elementType/smf/objectType/systemState
RETURN:
{
"data": [
"SMF_0": {
"ipAddress": "192.168.1.232",
"systemState": {
"version": "1.5.3.2",
"capability": 10000,
"serialNum": "13740126",
"expiryDate": "2025-02-28",
"cpuUsage": {
"nfCpuUsage": 41,
"sysCpuUsage": 78
},
"memUsage": {
"totalMem": 4025608,
"nfUsedMem": 160872,
"sysMemUsage": 1341
},
"diskSpace": {
"partitionNum": 19,
"partitionInfo": [
{
"total": 1920,
"used": 0
},
{
"total": 393,
"used": 11
},
{
"total": 48700,
"used": 32360
},
{
"total": 1965,
"used": 0
},
{
"total": 5,
"used": 0
},
{
"total": 1965,
"used": 0
},
{
"total": 55,
"used": 55
},
{
"total": 63,
"used": 63
},
{
"total": 91,
"used": 91
},
{
"total": 49,
"used": 49
},
{
"total": 55,
"used": 55
},
{
"total": 73,
"used": 73
},
{
"total": 91,
"used": 91
},
{
"total": 1475,
"used": 206
},
{
"total": 49,
"used": 49
},
{
"total": 393,
"used": 11
},
{
"total": 393,
"used": 0
},
{
"total": 73,
"used": 73
},
{
"total": 63,
"used": 63
}
]
}
}
},
"SMF_1": {
"ipAddress": "192.168.1.73",
"systemState": {
"version": "1.5.3.2",
"capability": 10000,
"serialNum": "13740126",
"expiryDate": "2025-02-28",
"cpuUsage": {
"nfCpuUsage": 41,
"sysCpuUsage": 78
},
"memUsage": {
"totalMem": 4025608,
"nfUsedMem": 160872,
"sysMemUsage": 1341
},
"diskSpace": {
"partitionNum": 19,
"partitionInfo": [
{
"total": 1920,
"used": 0
},
{
"total": 393,
"used": 11
},
{
"total": 48700,
"used": 32360
},
{
"total": 1965,
"used": 0
},
{
"total": 5,
"used": 0
},
{
"total": 1965,
"used": 0
},
{
"total": 55,
"used": 55
},
{
"total": 63,
"used": 63
},
{
"total": 91,
"used": 91
},
{
"total": 49,
"used": 49
},
{
"total": 55,
"used": 55
},
{
"total": 73,
"used": 73
},
{
"total": 91,
"used": 91
},
{
"total": 1475,
"used": 206
},
{
"total": 49,
"used": 49
},
{
"total": 393,
"used": 11
},
{
"total": 393,
"used": 0
},
{
"total": 73,
"used": 73
},
{
"total": 63,
"used": 63
}
]
}
}
}
]
}
EXP #2: "Get single smf systemState"
URI: 192.168.30.20: 3030/api/rest/systemManagement/v1/elementType/smf/objectType/systemState?subsys_no=0
RETURN:
{
"data": [
"SMF_0": {
"ipAddress": "192.168.1.232",
"systemState": {
"version": "1.5.3.2",
"capability": 10000,
"serialNum": "13740126",
"expiryDate": "2025-02-28",
"cpuUsage": {
"nfCpuUsage": 41,
"sysCpuUsage": 78
},
"memUsage": {
"totalMem": 4025608,
"nfUsedMem": 160872,
"sysMemUsage": 1341
},
"diskSpace": {
"partitionNum": 19,
"partitionInfo": [
{
"total": 1920,
"used": 0
},
{
"total": 393,
"used": 11
},
{
"total": 48700,
"used": 32360
},
{
"total": 1965,
"used": 0
},
{
"total": 5,
"used": 0
},
{
"total": 1965,
"used": 0
},
{
"total": 55,
"used": 55
},
{
"total": 63,
"used": 63
},
{
"total": 91,
"used": 91
},
{
"total": 49,
"used": 49
},
{
"total": 55,
"used": 55
},
{
"total": 73,
"used": 73
},
{
"total": 91,
"used": 91
},
{
"total": 1475,
"used": 206
},
{
"total": 49,
"used": 49
},
{
"total": 393,
"used": 11
},
{
"total": 393,
"used": 0
},
{
"total": 73,
"used": 73
},
{
"total": 63,
"used": 63
}
]
}
}
}
]
}
EXP #2: "Get all NFs systemState"
URI: 192.168.30.20: 3030/api/rest/systemManagement/v1/elementType/all/objectType/systemState
RETURN:
{
"data": [
{
"AMF_0": {
"error": {
"errorCode": "1",
"errorInfo": "Internal server error, NF connnect refused"
},
"ipAddress": "192.168.2.188"
}
},
{
"SMF_0": {
"ipAddress": "192.168.1.232",
"systemState": {
"capability": 10000,
"cpuUsage": {
"nfCpuUsage": 2,
"sysCpuUsage": 52
},
"diskSpace": {
"partitionInfo": [
{
"total": 1920,
"used": 0
},
{
"total": 393,
"used": 13
},
{
"total": 48700,
"used": 32431
},
{
"total": 1965,
"used": 0
},
{
"total": 5,
"used": 0
},
{
"total": 1965,
"used": 0
},
{
"total": 55,
"used": 55
},
{
"total": 63,
"used": 63
},
{
"total": 91,
"used": 91
},
{
"total": 49,
"used": 49
},
{
"total": 55,
"used": 55
},
{
"total": 73,
"used": 73
},
{
"total": 91,
"used": 91
},
{
"total": 1475,
"used": 206
},
{
"total": 49,
"used": 49
},
{
"total": 393,
"used": 13
},
{
"total": 393,
"used": 0
},
{
"total": 73,
"used": 73
},
{
"total": 63,
"used": 63
}
],
"partitionNum": 19
},
"expiryDate": "2025-02-28",
"memUsage": {
"nfUsedMem": 163992,
"sysMemUsage": 1345,
"totalMem": 4025608
},
"serialNum": "13740126",
"version": "1.5.3.2"
}
}
},
{
"SMF_1": {
"ipAddress": "192.168.1.173",
"systemState": {
"capability": 10000,
"cpuUsage": {
"nfCpuUsage": 0,
"sysCpuUsage": 69
},
"diskSpace": {
"partitionInfo": [
{
"total": 3966,
"used": 0
},
{
"total": 797,
"used": 0
},
{
"total": 200559,
"used": 5968
},
{
"total": 3987,
"used": 0
},
{
"total": 5,
"used": 0
},
{
"total": 3987,
"used": 0
},
{
"total": 797,
"used": 0
}
],
"partitionNum": 7
},
"expiryDate": "2024-12-31",
"memUsage": {
"nfUsedMem": 212136,
"sysMemUsage": 720,
"totalMem": 8167360
},
"serialNum": "13740272",
"version": "1.5.3.3"
}
}
}
]
}
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=Capture trace data from NF daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
Restart=always
ExecStart=/usr/local/omc/bin/captrace -c /usr/local/omc/etc/capconf.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=Cron task daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
Restart=always
ExecStart=/usr/local/omc/bin/crontask -c /usr/local/omc/etc/crontask.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=REST agent daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
Restart=always
ExecStart=/usr/local/omc/bin/restagent -c /usr/local/omc/etc/restconf.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=SSH MML service daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
Restart=always
ExecStart=/usr/local/omc/bin/sshsvc -c /usr/local/omc/etc/sshsvc.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
+516
View File
@@ -0,0 +1,516 @@
{
"array": [
{
"access": "read-only",
"comment": "1~32",
"display": "Index",
"filter": "1~32",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "N3|N6|N9|N19",
"display": "Interface Type",
"filter": "",
"name": "InterfaceType",
"type": "string",
"value": "N3"
},
{
"access": "read-write",
"comment": "Interface Id",
"display": "Interface Id",
"filter": "1~32",
"name": "InterfaceId",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "host|vmxnet3|dpdk|socket|uds",
"display": "Driver Type",
"filter": "",
"name": "DriverType",
"type": "string",
"value": "host"
},
{
"access": "read-write",
"comment": "null|bak|sub|xor|round|lacp",
"display": "Bond Type",
"filter": "",
"name": "BondType",
"type": "string",
"value": "0"
},
{
"access": "read-write",
"comment": "Bond Id",
"display": "Bond Id",
"filter": "1~32",
"name": "BondId",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Bfd Tx Interval Ms",
"display": "Bfd Tx Interval Ms",
"filter": "",
"name": "BfdTxIntervalMs",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Bfd Rx Interval Ms",
"display": "Bfd Rx Interval Ms",
"filter": "",
"name": "BfdRxIntervalMs",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Dnn Name",
"display": "Dnn Name",
"filter": "",
"name": "DnnName",
"type": "string",
"value": "default"
},
{
"access": "read-write",
"comment": "ipv4|ipv6|ipv4v6",
"display": "Ip Type",
"filter": "",
"name": "IpType",
"type": "string",
"value": "ipv4"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~8",
"display": "Index",
"filter": "1~8",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv4",
"display": "Ipv4",
"filter": "",
"name": "Ipv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Ipv4 Mask",
"display": "Ipv4 Mask",
"filter": "",
"name": "Ipv4Mask",
"type": "string",
"value": "0.0.0.0"
}
],
"comment": "Ipv4 Addr List",
"display": "Ipv4 Addr List",
"filter": "1~8",
"name": "Ipv4AddrList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~8",
"display": "Index",
"filter": "1~8",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv6",
"display": "Ipv6",
"filter": "",
"name": "Ipv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Ipv6 Prefix",
"display": "Ipv6 Prefix",
"filter": "",
"name": "Ipv6Prefix",
"type": "int",
"value": "64"
}
],
"comment": "Ipv6 Addr List",
"display": "Ipv6 Addr List",
"filter": "1~8",
"name": "Ipv6AddrList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Mac Address",
"display": "Mac Address",
"filter": "",
"name": "MacAddr",
"type": "string",
"value": "00:00:00:00:00:00"
},
{
"access": "read-write",
"comment": "Interface PCI Value",
"display": "Interface PCI",
"filter": "",
"name": "InterfacePCI",
"type": "string",
"value": "0000:00:00.0"
},
{
"access": "read-write",
"comment": "System Network Card Name",
"display": "System Network Card Name",
"filter": "",
"name": "SystemNetworkCardName",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Gateway Ipv4 Value",
"display": "Gateway Ipv4",
"filter": "",
"name": "GatewayIpv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Gateway Ipv6 Value",
"display": "Gateway Ipv6",
"filter": "",
"name": "GatewayIpv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Bfd Gateway Ipv4 Value",
"display": "Bfd Gateway Ipv4",
"filter": "",
"name": "BfdGatewayIpv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Bfd Gateway Ipv6 Value",
"display": "Bfd Gateway Ipv6",
"filter": "",
"name": "BfdGatewayIpv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Mtu",
"display": "Mtu",
"filter": "1~65536",
"name": "Mtu",
"type": "int",
"value": "1500"
},
{
"access": "read-write",
"comment": "Vlan Id Min Value",
"display": "Vlan Id Min",
"filter": "",
"name": "VlanIdMin",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Vlan Id Max Value",
"display": "Vlan Id Max",
"filter": "",
"name": "VlanIdMax",
"type": "int",
"value": ""
},
{
"access": "read-write",
"comment": "Udp Src Port",
"display": "Udp Src Port",
"filter": "1~65536",
"name": "UdpSrcPort",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Udp Listen Port Value",
"display": "Udp Listen Port",
"filter": "1~65536",
"name": "UdpListenPort",
"type": "string",
"value": "2152"
},
{
"access": "read-write",
"comment": "Uds Local File Full Path",
"display": "Uds Local File Full Path",
"filter": "",
"name": "UdsLocalFileFullPath",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Uds Remote File Full Path",
"display": "Uds Remote File Full Path",
"filter": "",
"name": "UdsRemoteFileFullPath",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Link Detection Type",
"display": "Link Detection Type",
"filter": "0~1",
"name": "LinkDetectionType",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Nat Interface Id",
"display": "Nat Interface Id",
"filter": "0~1",
"name": "NatInterfaceId",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Ue Ipv4 Address",
"display": "Ipv4",
"filter": "",
"name": "UeIpv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Ue Ipv4 Mask Address",
"display": "Ue Ipv4 Mask",
"filter": "",
"name": "UeIpv4Mask",
"type": "string",
"value": "255.255.255.0"
},
{
"access": "read-write",
"comment": "Ue Ipv6 Address",
"display": "Ue Ipv6",
"filter": "",
"name": "UeIpv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Ue Ipv6 Prefix Value",
"display": "Ue Ipv6 Prefix",
"filter": "1~128",
"name": "UeIpv6Prefix",
"type": "int",
"value": "64"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~32",
"display": "Index",
"filter": "1~32",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv4",
"display": "Ipv4",
"filter": "",
"name": "Ipv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Ipv4 Mask",
"display": "Ipv4 Mask",
"filter": "",
"name": "Ipv4Mask",
"type": "string",
"value": "0.0.0.0"
}
],
"comment": "Gtpu Remote Ipv4 Pool List",
"display": "Gtpu Remote Ipv4 Pool List",
"filter": "1~32",
"name": "GtpuRemoteIpv4PoolList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~32",
"display": "Index",
"filter": "1~32",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv6",
"display": "Ipv6",
"filter": "",
"name": "Ipv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Ipv6 Prefix",
"display": "Ipv6 Prefix",
"filter": "",
"name": "Ipv6Prefix",
"type": "int",
"value": "64"
}
],
"comment": "Gtpu Remote Ipv6 Pool List",
"display": "Gtpu Remote Ipv6 Pool List",
"filter": "1~32",
"name": "GtpuRemoteIpv6PoolList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Gtpu Signaling Handle",
"display": "Gtpu Signaling Handle",
"filter": "0~1",
"name": "GtpuSignalingHandle",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Ims Default DSCP Value",
"display": "Ims Default DSCP Value",
"filter": "0~1",
"name": "ImsDefaultDSCPValue",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Data Default DSCP Value",
"display": "Data Default DSCP Value",
"filter": "0~1",
"name": "DataDefaultDSCPValue",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Inner DSCP Value Map",
"display": "Inner DSCP Value Map",
"filter": "0~1",
"name": "InnerDSCPValueMap",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Max Support Speed Mbps",
"display": "Max Support Speed Mbps",
"filter": "0~65536",
"name": "MaxSupportSpeedMbps",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Rx Queues Number",
"display": "Dpdk Rx Queues Number",
"filter": "0~127",
"name": "DpdkRxQueuesNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Tx Queues Number",
"display": "Dpdk Tx Queues Number",
"filter": "0~127",
"name": "DpdkTxQueuesNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Rx Desc Number",
"display": "Dpdk Rx Desc Number",
"filter": "0~32768",
"name": "DpdkRxDescNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Tx Desc Number",
"display": "Dpdk Tx Desc Number",
"filter": "0~32768",
"name": "DpdkTxDescNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Workers",
"display": "Dpdk Workers",
"filter": "",
"name": "Dpdkworkers",
"type": "string",
"value": ""
}
]
}
+516
View File
@@ -0,0 +1,516 @@
{
"array": [
{
"access": "read-only",
"comment": "1~32",
"display": "Index",
"filter": "1~32",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "N3|N6|N9|N19",
"display": "Interface Type",
"filter": "",
"name": "InterfaceType",
"type": "string",
"value": "N3"
},
{
"access": "read-write",
"comment": "Interface Id",
"display": "Interface Id",
"filter": "1~32",
"name": "InterfaceId",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "host|vmxnet3|dpdk|socket|uds",
"display": "Driver Type",
"filter": "",
"name": "DriverType",
"type": "string",
"value": "host"
},
{
"access": "read-write",
"comment": "null|bak|sub|xor|round|lacp",
"display": "Bond Type",
"filter": "",
"name": "BondType",
"type": "string",
"value": "0"
},
{
"access": "read-write",
"comment": "Bond Id",
"display": "Bond Id",
"filter": "1~32",
"name": "BondId",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Bfd Tx Interval Ms",
"display": "Bfd Tx Interval Ms",
"filter": "",
"name": "BfdTxIntervalMs",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Bfd Rx Interval Ms",
"display": "Bfd Rx Interval Ms",
"filter": "",
"name": "BfdRxIntervalMs",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Dnn Name",
"display": "Dnn Name",
"filter": "",
"name": "DnnName",
"type": "string",
"value": "default"
},
{
"access": "read-write",
"comment": "ipv4|ipv6|ipv4v6",
"display": "Ip Type",
"filter": "",
"name": "IpType",
"type": "string",
"value": "ipv4"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~8",
"display": "Index",
"filter": "1~8",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv4",
"display": "Ipv4",
"filter": "",
"name": "Ipv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Ipv4 Mask",
"display": "Ipv4 Mask",
"filter": "",
"name": "Ipv4Mask",
"type": "string",
"value": "0.0.0.0"
}
],
"comment": "Ipv4 Addr List",
"display": "Ipv4 Addr List",
"filter": "1~8",
"name": "Ipv4AddrList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~8",
"display": "Index",
"filter": "1~8",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv6",
"display": "Ipv6",
"filter": "",
"name": "Ipv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Ipv6 Prefix",
"display": "Ipv6 Prefix",
"filter": "",
"name": "Ipv6Prefix",
"type": "int",
"value": "64"
}
],
"comment": "Ipv6 Addr List",
"display": "Ipv6 Addr List",
"filter": "1~8",
"name": "Ipv6AddrList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Mac Address",
"display": "Mac Address",
"filter": "",
"name": "MacAddr",
"type": "string",
"value": "00:00:00:00:00:00"
},
{
"access": "read-write",
"comment": "Interface PCI Value",
"display": "Interface PCI",
"filter": "",
"name": "InterfacePCI",
"type": "string",
"value": "0000:00:00.0"
},
{
"access": "read-write",
"comment": "System Network Card Name",
"display": "System Network Card Name",
"filter": "",
"name": "SystemNetworkCardName",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Gateway Ipv4 Value",
"display": "Gateway Ipv4",
"filter": "",
"name": "GatewayIpv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Gateway Ipv6 Value",
"display": "Gateway Ipv6",
"filter": "",
"name": "GatewayIpv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Bfd Gateway Ipv4 Value",
"display": "Bfd Gateway Ipv4",
"filter": "",
"name": "BfdGatewayIpv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Bfd Gateway Ipv6 Value",
"display": "Bfd Gateway Ipv6",
"filter": "",
"name": "BfdGatewayIpv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Mtu",
"display": "Mtu",
"filter": "1~65536",
"name": "Mtu",
"type": "int",
"value": "1500"
},
{
"access": "read-write",
"comment": "Vlan Id Min Value",
"display": "Vlan Id Min",
"filter": "",
"name": "VlanIdMin",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Vlan Id Max Value",
"display": "Vlan Id Max",
"filter": "",
"name": "VlanIdMax",
"type": "int",
"value": ""
},
{
"access": "read-write",
"comment": "Udp Src Port",
"display": "Udp Src Port",
"filter": "1~65536",
"name": "UdpSrcPort",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Udp Listen Port Value",
"display": "Udp Listen Port",
"filter": "1~65536",
"name": "UdpListenPort",
"type": "string",
"value": "2152"
},
{
"access": "read-write",
"comment": "Uds Local File Full Path",
"display": "Uds Local File Full Path",
"filter": "",
"name": "UdsLocalFileFullPath",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Uds Remote File Full Path",
"display": "Uds Remote File Full Path",
"filter": "",
"name": "UdsRemoteFileFullPath",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Link Detection Type",
"display": "Link Detection Type",
"filter": "0~1",
"name": "LinkDetectionType",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Nat Interface Id",
"display": "Nat Interface Id",
"filter": "0~1",
"name": "NatInterfaceId",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Ue Ipv4 Address",
"display": "Ipv4",
"filter": "",
"name": "UeIpv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Ue Ipv4 Mask Address",
"display": "Ue Ipv4 Mask",
"filter": "",
"name": "UeIpv4Mask",
"type": "string",
"value": "255.255.255.0"
},
{
"access": "read-write",
"comment": "Ue Ipv6 Address",
"display": "Ue Ipv6",
"filter": "",
"name": "UeIpv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Ue Ipv6 Prefix Value",
"display": "Ue Ipv6 Prefix",
"filter": "1~128",
"name": "UeIpv6Prefix",
"type": "int",
"value": "64"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~32",
"display": "Index",
"filter": "1~32",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv4",
"display": "Ipv4",
"filter": "",
"name": "Ipv4",
"type": "string",
"value": "0.0.0.0"
},
{
"access": "read-write",
"comment": "Ipv4 Mask",
"display": "Ipv4 Mask",
"filter": "",
"name": "Ipv4Mask",
"type": "string",
"value": "0.0.0.0"
}
],
"comment": "Gtpu Remote Ipv4 Pool List",
"display": "Gtpu Remote Ipv4 Pool List",
"filter": "1~32",
"name": "GtpuRemoteIpv4PoolList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"array": [
{
"access": "read-only",
"comment": "1~32",
"display": "Index",
"filter": "1~32",
"name": "Index",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Ipv6",
"display": "Ipv6",
"filter": "",
"name": "Ipv6",
"type": "string",
"value": ""
},
{
"access": "read-write",
"comment": "Ipv6 Prefix",
"display": "Ipv6 Prefix",
"filter": "",
"name": "Ipv6Prefix",
"type": "int",
"value": "64"
}
],
"comment": "Gtpu Remote Ipv6 Pool List",
"display": "Gtpu Remote Ipv6 Pool List",
"filter": "1~32",
"name": "GtpuRemoteIpv6PoolList",
"type": "int",
"value": "1"
},
{
"access": "read-write",
"comment": "Gtpu Signaling Handle",
"display": "Gtpu Signaling Handle",
"filter": "0~1",
"name": "GtpuSignalingHandle",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Ims Default DSCP Value",
"display": "Ims Default DSCP Value",
"filter": "0~1",
"name": "ImsDefaultDSCPValue",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Data Default DSCP Value",
"display": "Data Default DSCP Value",
"filter": "0~1",
"name": "DataDefaultDSCPValue",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Inner DSCP Value Map",
"display": "Inner DSCP Value Map",
"filter": "0~1",
"name": "InnerDSCPValueMap",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Max Support Speed Mbps",
"display": "Max Support Speed Mbps",
"filter": "0~65536",
"name": "MaxSupportSpeedMbps",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Rx Queues Number",
"display": "Dpdk Rx Queues Number",
"filter": "0~127",
"name": "DpdkRxQueuesNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Tx Queues Number",
"display": "Dpdk Tx Queues Number",
"filter": "0~127",
"name": "DpdkTxQueuesNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Rx Desc Number",
"display": "Dpdk Rx Desc Number",
"filter": "0~32768",
"name": "DpdkRxDescNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Tx Desc Number",
"display": "Dpdk Tx Desc Number",
"filter": "0~32768",
"name": "DpdkTxDescNumber",
"type": "int",
"value": "0"
},
{
"access": "read-write",
"comment": "Dpdk Workers",
"display": "Dpdk Workers",
"filter": "",
"name": "Dpdkworkers",
"type": "string",
"value": ""
}
]
}
+96
View File
@@ -0,0 +1,96 @@
// N12
const (
N12PostUeAuthentications uint8= 1
N12Put5gAkaConfirmations uint8= 2
N12Delete5gAkaConfirmation uint8= 3
N12PostEapSession uint8= 4
N12DeleteEapSession uint8= 5
)
var n12MsgStr = []string{"null",
"Nausf_AUTH_Post ue-authentications",
"Nausf_AUTH_Put 5g-aka-confirmation",
"Nausf_AUTH_Delete 5g-aka-confirmation",
"Nausf_AUTH_Post eap-session",
"Nausf_AUTH_Delete eap-session",
}
// N13
const (
N13PostGenerateAuthData uint8= 1
N13PostAuthEvents uint8= 2
)
var n13MsgStr = [3]string{"null",
"Nudm_UEAU_Post generate-auth-data",
"Nudm_UEAU_Post auth-events",
}
// N8
const (
N8GetSupi uint8= 1
N8GetNssai uint8= 2
N8GetAmData uint8= 3
N8PutAmDataCagAck uint8= 4
N8GetSmfSelectData uint8= 5
N8PostSdmSubscriptions uint8= 6
N8PatchSdmSubscriptions uint8= 7
N8DeleteSdmSubscriptions uint8= 8
N8GETIdTranslationResult uint8= 9
N8PutAmf3GppAccessRegistration uint8= 10
N8PatchAmf3GppAccessRegistration uint8= 11
N8GetAmf3GppAccessRegistration uint8= 12
N8DeregistrationCallback uint8= 13
)
var n8MsgStr = []string{"null",
"Nudm_SDM_Get supi",
"Nudm_SDM_Get nssai",
"Nudm_SDM_Get am-data",
"Nudm_SDM_Put am-data cag-ack",
"Nudm_SDM_Get smf-select-data",
"Nudm_SDM_Post sdm-subscriptions",
"Nudm_SDM_Patch sdm-subscriptions",
"Nudm_SDM_Delete sdm-subscriptions",
"Nudm_SDM_Get id-translation-result",
"Nudm_UECM_Put amf-3gpp-access",
"Nudm_UECM_Patch amf-3gpp-access",
"Nudm_UECM_Get amf-3gpp-access",
"Namf_Callback Deregistraion",
}
// N10
const (
N10GetSmData uint8= 1
N10PostSdmSubscriptions uint8= 2
N10PatchSdmSubscriptions uint8= 3
N10DeleteSdmSubscriptions uint8= 4
N10GETIdTranslationResult uint8= 5
N10GetSmfRegistrations uint8= 6
N10PutIndividualSmfRegistration uint8= 7
N10PatchIndividualSmfRegistration uint8= 8
N10GetIndividualSmfRegistration uint8= 9
N10DeleteIndividualSmfRegistration uint8= 10
)
var n10MsgStr = []string{"null",
"Nudm_SDM_Get sm-data",
"Nudm_SDM_Post sdm-subscriptions",
"Nudm_SDM_Patch sdm-subscriptions",
"Nudm_SDM_Delete sdm-subscriptions",
"Nudm_SDM_Get id-translation-result",
"Nudm_UECM_Get smf-registrations",
"Nudm_UECM_Put smf-registrations",
"Nudm_UECM_Patch smf-3gpp-access",
"Nudm_UECM_Get smf-3gpp-access",
"Nudm_UECM_Delete smf-3gpp-access",
}
+65
View File
@@ -0,0 +1,65 @@
package cmschema
// FileHeader ...
type FileHeader struct {
TimeStamp string `xml:"TimeStamp"`
TimeZone string `xml:"TimeZone"`
VendorName string `xml:"VendorName"`
ElementType string `xml:"ElementType"`
CmVersion string `xml:"CmVersion"`
}
// N ...
type N struct {
IAttr int `xml:"i,attr"`
Value string `xml:",chardata"`
}
// FieldName ...
type FieldName struct {
N []N `xml:"N"`
}
// V ...
type V struct {
IAttr int `xml:"i,attr"`
Value string `xml:",chardata"`
}
// Object ...
type Object struct {
RmUIDAttr string `xml:"rmUID,attr"`
DnAttr string `xml:"Dn,attr,omitempty"`
UserLabelAttr string `xml:"UserLabel,attr,omitempty"`
PVFlagAttr string `xml:"PVFlag,attr"`
VMIDAttr string `xml:"VMID,attr,omitempty"`
VNFInstanceIDAttr string `xml:"VNFInstanceID,attr,omitempty"`
V []V `xml:"V"`
}
// FieldValue ...
type FieldValue struct {
Object []Object `xml:"Object"`
}
// Objects ...
type ObjectData struct {
ObjectType string `xml:"ObjectType"`
FieldName FieldName `xml:"FieldName"`
FieldValue FieldValue `xml:"FieldValue"`
}
// DataFile ...
type DataFile struct {
FileHeader FileHeader `xml:"FileHeader"`
//Objects []Objects `xml:"Objects"`
ObjectData ObjectData `xml:"objectData"`
XsiAttr string `xml:"xmlns:xsi,attr"`
XsiLoc string `xml:"xsi:noNamespaceSchemaLocation,attr"`
}
// NRM xml file
type NRMXmlFile struct {
Header string `xml:"Header"`
DataFile DataFile `xml:"xmlns:xsi"`
}
+296
View File
@@ -0,0 +1,296 @@
package cmyaml
type UdmCm struct {
ManagedElement ManagedElement `yaml:"ManagedElement"`
UdmFunction UdmFunction `yaml:"UdmFunction"`
UdrFunction UdrFunction `yaml:"UdrFunction"`
AusfFunction AusfFunction `yaml:"AusfFunction"`
IPResource IPResource `yaml:"IPResource"`
}
type UdmFunction struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
Fqdn string `yaml:"Fqdn"`
SbiServiceList string `yaml:"SbiServiceList"`
}
type UdrFunction struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AddrType string `yaml:"AddrType"`
IpVersion string `yaml:"IpVersion"`
AddrSegList string `yaml:"AddrSegList"`
}
type AusfFunction struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
}
type IPResource struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
InterfaceType string `yaml:"InterfaceType"`
LocIpV4AddrList string `yaml:"LocIpV4AddrList"`
LocIpV6AddrList string `yaml:"LocIpV6AddrList"`
}
type ManagedElement struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
VendorName string `yaml:"VendorName"`
ManagedBy string `yaml:"ManagedBy"`
ManagementIpAddress string `yaml:"ManagementIpAddress"`
SwVersion string `yaml:"SwVersion"`
PatchInfo string `yaml:"PatchInfo"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
}
type AmfCm struct {
ManagedElement ManagedElement `yaml:"ManagedElement"`
AmfFunction AmfFunction `yaml:"AmfFunction"`
EpRpDynN8Amf EpRpDynN8Amf `yaml:"EpRpDynN8Amf"`
EpRpDynN11Amf EpRpDynN11Amf `yaml:"EpRpDynN11Amf"`
EpRpDynN12Amf EpRpDynN12Amf `yaml:"EpRpDynN12Amf"`
IPResource IPResource `yaml:"IPResource"`
}
type EpRpDynN11Amf struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
}
type EpRpDynN12Amf struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
}
type AmfFunction struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
Fqdn string `yaml:"Fqdn"`
SbiServiceList string `yaml:"SbiServiceList"`
AmfGuamiList string `yaml:"AmfGuamiList"`
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
SnssaiList string `yaml:"SnssaiList"`
MaxUser string `yaml:"MaxUser"`
RelativeCapacity string `yaml:"RelativeCapacity"`
MaxGnbNum string `yaml:"MaxGnbNum"`
}
type EpRpDynN8Amf struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
}
type SmfCm struct {
ManagedElement ManagedElement `yaml:"ManagedElement"`
SmfFunction SmfFunction `yaml:"SmfFunction"`
AddrPool AddrPool `yaml:"AddrPool"`
EpRpDynN7Smf EpRpDynN7Smf `yaml:"EpRpDynN7Smf"`
EpRpDynN10Smf EpRpDynN10Smf `yaml:"EpRpDynN10Smf"`
IPResource IPResource `yaml:"IPResource"`
}
type SmfFunction struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
VnfInstanceId string `yaml:"VnfInstanceId"`
MaxQfi string `yaml:"MaxQfi"`
MaxPduSessions string `yaml:"MaxPduSessions"`
UpfList string `yaml:"UpfList"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
Fqdn string `yaml:"Fqdn"`
SbiServiceList string `yaml:"SbiServiceList"`
}
type AddrPool struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AddrType string `yaml:"AddrType"`
IpVersion string `yaml:"IpVersion"`
AddrSegList string `yaml:"AddrSegList"`
}
type EpRpDynN7Smf struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
}
type EpRpDynN10Smf struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
}
type UpfCm struct {
IPResource IPResource `yaml:"IPResource"`
InventoryUnitHost InventoryUnitHost `yaml:"InventoryUnitHost"`
InventoryUnitAccessory InventoryUnitAccessory `yaml:"InventoryUnitAccessory"`
UdrFunction UpfUdrFunction `yaml:"UdrFunction"`
InventoryUnitRack InventoryUnitRack `yaml:"InventoryUnitRack"`
EpRpDynN9Upf EpRpDynN9Upf `yaml:"EpRpDynN9Upf"`
AusfFunction UpfAusfFunction `yaml:"AusfFunction"`
SmfFunction UpfSmfFunction `yaml:"SmfFunction"`
InventoryUnitPack InventoryUnitPack `yaml:"InventoryUnitPack"`
UpfFunction UpfFunction `yaml:"UpfFunction"`
AmfFunction UpfAmfFunction `yaml:"AmfFunction"`
ManagedElement ManagedElement `yaml:"ManagedElement"`
InventoryUnitShelf InventoryUnitShelf `yaml:"InventoryUnitShelf"`
EpRpDynN3Upf EpRpDynN3Upf `yaml:"EpRpDynN3Upf"`
}
type InventoryUnitRack struct {
SbiServiceList string `yaml:"SbiServiceList"`
Fqdn string `yaml:"Fqdn"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
MaxPduSessions string `yaml:"MaxPduSessions"`
MaxQfi string `yaml:"MaxQfi"`
UpfList string `yaml:"UpfList"`
Id string `yaml:"Id"`
}
type UpfAusfFunction struct {
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
Fqdn string `yaml:"Fqdn"`
Id string `yaml:"Id"`
}
type EpRpDynN3Upf struct {
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
}
type InventoryUnitHost struct {
UserLabel string `yaml:"UserLabel"`
VendorName string `yaml:"VendorName"`
DateOfLastService string `yaml:"DateOfLastService"`
ManufacturerData string `yaml:"ManufacturerData"`
VendorUnitTypeNumber string `yaml:"VendorUnitTypeNumber"`
HostPosition string `yaml:"HostPosition"`
MemSize string `yaml:"MemSize"`
HardDiskSize string `yaml:"HardDiskSize"`
NumberOfCpu string `yaml:"NumberOfCpu"`
Id string `yaml:"Id"`
VendorUnitFamilyType string `yaml:"VendorUnitFamilyType"`
SerialNumber string `yaml:"SerialNumber"`
VersionNumber string `yaml:"VersionNumber"`
DateOfManufacture string `yaml:"DateOfManufacture"`
}
type InventoryUnitAccessory struct {
UserLabel string `yaml:"UserLabel"`
VendorName string `yaml:"VendorName"`
SerialNumber string `yaml:"SerialNumber"`
ManufacturerData string `yaml:"ManufacturerData"`
DateOfLastService string `yaml:"DateOfLastService"`
AccessoryPosition string `yaml:"AccessoryPosition"`
AccessoryType string `yaml:"AccessoryType"`
Id string `yaml:"Id"`
VendorUnitFamilyType string `yaml:"VendorUnitFamilyType"`
VendorUnitTypeNumber string `yaml:"VendorUnitTypeNumber"`
VersionNumber string `yaml:"VersionNumber"`
DateOfManufacture string `yaml:"DateOfManufacture"`
AddtionalInformation string `yaml:"AddtionalInformation"`
}
type EpRpDynN9Upf struct {
UserLabel string `yaml:"UserLabel"`
LocIpAddrList string `yaml:"LocIpAddrList"`
FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"`
Id string `yaml:"Id"`
}
type UpfSmfFunction struct {
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
Fqdn string `yaml:"Fqdn"`
}
type InventoryUnitPack struct {
VendorUnitFamilyType string `yaml:"VendorUnitFamilyType"`
VendorName string `yaml:"VendorName"`
VersionNumber string `yaml:"VersionNumber"`
DateOfManufacture string `yaml:"DateOfManufacture"`
DateOfLastService string `yaml:"DateOfLastService"`
ManufacturerData string `yaml:"ManufacturerData"`
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
PortsInformation string `yaml:"PortsInformation"`
PackPosition string `yaml:"PackPosition"`
SlotsOccupied string `yaml:"SlotsOccupied"`
VendorUnitTypeNumber string `yaml:"VendorUnitTypeNumber"`
SerialNumber string `yaml:"SerialNumber"`
}
type UpfAmfFunction struct {
VnfInstanceId string `yaml:"VnfInstanceId"`
Fqdn string `yaml:"Fqdn"`
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
}
type InventoryUnitShelf struct {
ManufacturerData string `yaml:"ManufacturerData"`
RackPosition string `yaml:"RackPosition"`
SerialNumber string `yaml:"SerialNumber"`
VersionNumber string `yaml:"VersionNumber"`
VendorUnitFamilyType string `yaml:"VendorUnitFamilyType"`
VendorUnitTypeNumber string `yaml:"VendorUnitTypeNumber"`
VendorName string `yaml:"VendorName"`
DateOfManufacture string `yaml:"DateOfManufacture"`
DateOfLastService string `yaml:"DateOfLastService"`
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
}
type UpfUdrFunction struct {
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
Fqdn string `yaml:"Fqdn"`
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
}
type UpfFunction struct {
MaxThroughput string `yaml:"MaxThroughput"`
Id string `yaml:"Id"`
UserLabel string `yaml:"UserLabel"`
AdministrativeState string `yaml:"AdministrativeState"`
OperationalState string `yaml:"OperationalState"`
VnfInstanceId string `yaml:"VnfInstanceId"`
MaxQosFlows string `yaml:"MaxQosFlows"`
}
+186
View File
@@ -0,0 +1,186 @@
package main
import (
"flag"
"fmt"
"os"
"strings"
"ems.agt/lib/global"
"ems.agt/lib/log"
"gopkg.in/yaml.v3"
)
// Yaml struct of config
type YamlConfig struct {
Logger struct {
File string `yaml:"file"`
Level string `yaml:"level"`
Duration int `yaml:"duration"`
Count int `yaml:"count"`
} `yaml:"logger"`
OMC struct {
Name string `yaml:"name"`
HostUri string `yaml:"hosturi"`
HostNo string `yaml:"hostno"`
Province string `yaml:"province"`
NetAbbr string `yaml:"netabbr"`
Vendor string `yaml:"vendor"`
} `yaml:"omc"`
Database struct {
Type string `yaml:"type"`
User string `yaml:"user"`
Password string `yaml:"password"`
Host string `yaml:"host"`
Port string `yaml:"port"`
Name string `yaml:"name"`
Backup string `yaml:"backup"`
} `yaml:"database"`
Tasks struct {
File string `yaml:"file"`
} `yaml:"tasks"`
NBI struct {
CM struct {
CfgFileDir string `yaml:"cfgfiledir"`
XmlFileDir string `yaml:"xmlfiledir"`
Version string `yaml:"version"`
} `yaml:"cm"`
PM struct {
CfgFileDir string `yaml:"cfgfiledir"`
XmlFileDir string `yaml:"xmlfiledir"`
Version string `yaml:"version"`
} `yaml:"pm"`
} `yaml:"nbi"`
}
var yamlConfig YamlConfig
func ReadConfig(configFile string) error {
yamlFile, err := os.ReadFile(configFile)
if err != nil {
fmt.Println("Read yaml config file error:", err)
return err
}
err = yaml.Unmarshal(yamlFile, &yamlConfig)
if err != nil {
fmt.Println("Unmarshal error:", err)
return err
}
return nil
}
func GetYamlConfig() *YamlConfig {
return &yamlConfig
}
func GetLogLevel() log.LogLevel {
var logLevel log.LogLevel
switch strings.ToLower(yamlConfig.Logger.Level) {
case "trace":
logLevel = log.LOG_TRACE
case "info":
logLevel = log.LOG_INFO
case "debug":
logLevel = log.LOG_DEBUG
case "warn":
logLevel = log.LOG_WARN
case "error":
logLevel = log.LOG_ERROR
case "fatal":
logLevel = log.LOG_FATAL
case "off":
logLevel = log.LOG_OFF
default:
logLevel = log.LOG_DEBUG
}
return logLevel
}
type Task struct {
Name string `yaml:"name"`
Status string `yaml:"status" default:"Active"`
Uri string `yaml:"uri"`
Params string `yaml:"params"`
Body string `yaml:"body"`
Interval uint64 `yaml:"interval"`
Unit string `yaml:"unit"`
At string `yaml:"at"`
From int `yaml:"from"`
Do string `yaml:"do"`
}
type Crontab struct {
Name string `yaml:"name"`
Status string `yaml:"status" default:"Active"`
Tab string `yaml:"tab"`
Do string `yaml:"do"`
Uri string `yaml:"uri"`
Params string `yaml:"params"`
Body string `yaml:"body"`
}
type Tasks struct {
Tasks []Task `yaml:"tasks"`
Crontabs []Crontab `yaml:"crontab"`
}
const (
TaskStatusActive = "active"
TaskStatusInactive = "inactive"
)
var taskSet Tasks
func ReadTasksYaml(pfile string) (ret error) {
log.Debug("pfile:", pfile)
file, err := os.ReadFile(pfile)
if err != nil {
log.Error(err)
return err
}
err = yaml.Unmarshal(file, &taskSet)
if err != nil {
log.Error(err)
return err
}
log.Trace("tasks:", taskSet)
return nil
}
func GetDefaultUserAgent() string {
return "OMC-crontask/" + global.Version
}
const defaultConfigFile = "./etc/crontask.yaml"
var ConfigFile *string
func init() {
ConfigFile = flag.String("c", defaultConfigFile, "config file")
pv := flag.Bool("v", false, "print version")
ph := flag.Bool("h", false, "print help")
flag.Parse()
if *pv {
fmt.Printf("OMC crontask version: %s\n%s\n%s\n\n", global.Version, global.BuildTime, global.GoVer)
os.Exit(0)
}
if *ph {
flag.Usage()
os.Exit(0)
}
err := ReadConfig(*ConfigFile)
if err != nil {
fmt.Println("Failed to ReadConfig:", err)
os.Exit(3)
}
}
+32
View File
@@ -0,0 +1,32 @@
//go:build linux
// +build linux
package main
import (
"os"
"os/signal"
"syscall"
"ems.agt/lib/log"
)
// 启动一个 goroutine 监听信号量
func ReloadRoutine() {
sigCh := make(chan os.Signal, 1)
signal.Notify(sigCh, syscall.SIGUSR1)
for {
<-sigCh
log.Info("Received reload signal, reloading config...")
err := ReadConfig(*ConfigFile)
if err != nil {
log.Error("Failed to ReadConfig:", err)
continue
}
log.Info("Config reloaded successfully.")
}
}
+34
View File
@@ -0,0 +1,34 @@
//go:build windows
// +build windows
package main
import (
"os"
"os/signal"
"syscall"
"ems.agt/lib/log"
)
// 启动一个 goroutine 监听信号量
func ReloadRoutine() {
sigCh := make(chan os.Signal, 1)
//signal.Notify(sigCh, syscall.SIGUSR1)
signal.Notify(sigCh, syscall.SIGTRAP)
for {
<-sigCh
log.Info("Received reload signal, reloading config...")
err := ReadConfig(*ConfigFile)
if err != nil {
log.Error("Failed to ReadConfig:", err)
continue
}
log.Info("Config reloaded successfully.")
}
}
+41
View File
@@ -0,0 +1,41 @@
package main
import (
"fmt"
"os"
"ems.agt/lib/dborm"
"ems.agt/lib/global"
"ems.agt/lib/log"
)
func main() {
log.InitLogger(yamlConfig.Logger.File, yamlConfig.Logger.Duration, yamlConfig.Logger.Count, "omc:crontask", GetLogLevel())
fmt.Printf("OMC crontask version: %s\n", global.Version)
log.Infof("========================= OMC crontask startup =========================")
log.Infof("OMC crontask version: %s %s %s", global.Version, global.BuildTime, global.GoVer)
err := dborm.InitDbClient(yamlConfig.Database.Type, yamlConfig.Database.User, yamlConfig.Database.Password,
yamlConfig.Database.Host, yamlConfig.Database.Port, yamlConfig.Database.Name)
if err != nil {
fmt.Println("dborm.initDbClient err:", err)
os.Exit(1)
}
err = initDbClient()
if err != nil {
fmt.Println("initDBClient error:", err)
os.Exit(1)
}
ReadTasksYaml(yamlConfig.Tasks.File)
//go ReloadRoutine()
go initCronTasks()
go initCronTabs()
select {}
}
+526
View File
@@ -0,0 +1,526 @@
package main
import (
"database/sql"
"fmt"
"time"
"ems.agt/lib/log"
_ "github.com/go-sql-driver/mysql"
"xorm.io/xorm"
)
type NullTime sql.NullTime
type DBClient struct {
dbType string
dbUrl string
dbConnMaxLifetime time.Duration
dbMaxIdleConns int
dbMaxOpenConns int
IsShowSQL bool
xEngine *xorm.Engine
}
var dbClient DBClient
func initDbClient() error {
db := yamlConfig.Database
dbClient.dbUrl = fmt.Sprintf("%s:%s@tcp(%s:%s)/%s?charset=utf8&parseTime=true&loc=Local",
db.User, db.Password, db.Host, db.Port, db.Name)
dbClient.dbType = db.Type
dbClient.dbConnMaxLifetime = 0
dbClient.dbMaxIdleConns = 0
dbClient.dbMaxOpenConns = 0
if log.GetLevel() == log.LOG_TRACE {
dbClient.IsShowSQL = true
}
var err error
dbClient.xEngine, err = xorm.NewEngine(dbClient.dbType, dbClient.dbUrl)
if err != nil {
log.Error("Failed to connect database:", err)
return err
}
//dbClient.xEngine.Ping() // 可以判断是否能连接
//if err != nil {
// log.Error("Failed to ping database:", err)
// return err
//}
// defer dbClient.xEngine.Close() // 退出后关闭
if dbClient.IsShowSQL == true {
dbClient.xEngine.ShowSQL(true)
}
dbClient.xEngine.SetConnMaxLifetime(dbClient.dbConnMaxLifetime)
dbClient.xEngine.SetMaxIdleConns(dbClient.dbMaxIdleConns)
dbClient.xEngine.SetMaxOpenConns(dbClient.dbMaxOpenConns)
return nil
}
var xEngine *xorm.Engine
func XormConnectDatabaseWithUri(sql string) (*xorm.Engine, error) {
sqlStr := fmt.Sprintf("%s?charset=utf8&parseTime=true&loc=Local", sql)
var err error
xEngine, err = xorm.NewEngine("mysql", sqlStr) //1、Create xorm engine
if err != nil {
fmt.Println("Failed to connect database:", err)
return nil, err
}
xEngine.ShowSQL(true)
return xEngine, nil
}
type NeInfo struct {
Id int `json:"-" xorm:"pk 'id' autoincr"`
NeType string `json:"neType" xorm:"ne_type"`
NeId string `json:"neId" xorm:"ne_id"` // neUID/rmUID 网元唯一标识
RmUID string `json:"rmUID" xorm:"rm_uid"` // neUID/rmUID网元UID
NeName string `json:"neName" xorm:"ne_name"` // NeName/UserLabel 网元名称/网元设备友好名称
Ip string `json:"ip" xorm:"ip"`
Port string `json:"port" xorm:"port"`
PvFlag string `json:"pvFlag" xorm:"pv_flag"` // 网元虚实性标识 VNF/PNF: 虚拟/物理
NeAddress string `json:"neAddress" xorm:"ne_address"` // 只对PNF
Province string `json:"province" xorm:"province"` // 网元所在省份
VendorName string `json:"vendorName" xorm:"vendor_name"` // 厂商名称
Dn string `json:"dn" xorm:"dn"` // 网络标识
Status int `json:"status" xorm:"status"`
UpdateTime string `json:"-" xorm:"-"`
}
func XormGetNeInfoByType(neType string, nes *[]NeInfo) (*[]NeInfo, error) {
log.Debug("XormGetNeInfoByType processing... ")
ne := new(NeInfo)
rows, err := dbClient.xEngine.Table("ne_info").Where("status=0 and ne_type =?", neType).Rows(ne)
if err != nil {
log.Error("Failed to get table ne_info from database:", err)
return nil, err
}
defer rows.Close()
for rows.Next() {
err := rows.Scan(ne)
if err != nil {
log.Error("Failed to get table ne_info from database:", err)
return nil, err
}
*nes = append(*nes, *ne)
}
log.Debug("nes:", nes)
return nes, nil
}
func XormGetAllNeInfo(nes *[]NeInfo) (*[]NeInfo, error) {
log.Debug("XormGetAllNeInfo processing... ")
ne := new(NeInfo)
rows, err := dbClient.xEngine.Table("ne_info").Where("status='0'").Rows(ne)
if err != nil {
log.Error("Failed to get table ne_info from database:", err)
return nil, err
}
defer rows.Close()
for rows.Next() {
err := rows.Scan(ne)
if err != nil {
log.Error("Failed to get table ne_info from database:", err)
return nil, err
}
*nes = append(*nes, *ne)
}
log.Debug("nes:", nes)
return nes, nil
}
type NeState struct {
Id int `json:"id" xorm:"pk 'id' autoincr"`
NeType string `json:"neType" xorm:"ne_type"`
NeId string `json:"neId" xorm:"ne_id"`
Version string `json:"version" xorm:"version"`
Capability uint32 `json:"capability" xorm:"capability"`
SerialNum string `json:"serialNum" xorm:"serial_num"`
ExpiryDate string `json:"expiryDate" xorm:"expiry_date"`
CpuUsage string `json:"cpuUsage" xorm:"cpu_usage"`
MemUsage string `json:"memUsage" xorm:"mem_usage"`
DiskSpace string `json:"diskSpace" xorm:"disk_space"`
Timestamp string `json:"timestamp" xorm:"-" `
}
func XormInsertNeState(neState *NeState) (int64, error) {
log.Debug("XormInsertNeState processing... ")
var affected int64 = 0
session := dbClient.xEngine.NewSession()
defer session.Close()
affected, err := session.InsertOne(neState)
session.Commit()
return affected, err
}
type NorthboundPm struct {
Id int `json:"-" xorm:"pk 'id' autoincr"`
Date string `json:"Date" xorm:"date"`
Index int `json:"Index" xorm:"index"` // 1天中测量时间粒度(如15分钟)的切片索引: 0~95
Timestamp string `json:"-" xorm:"-"`
NeName string `json:"NeName" xorm:"ne_name"` // UserLabel
RmUID string `json:"RmUID" xorm:"rm_uid"`
NeType string `json:"NeType" xorm:"ne_type"` // 网元类型
PmVersion string `json:"PmVersion" xorm:"pm_version"` // 性能数据版本号
Dn string `json:"Dn" xorm:"dn"` // (???)网元标识, 如:RJN-CMZJ-TZ,SubNetwork=5GC88,ManagedElement=SMF53456,SmfFunction=53456
Period string `json:"Period" xorm:"period"` // 测量时间粒度选项:5/15/30/60
TimeZone string `json:"TimeZone" xorm:"time_zone"`
StartTime string `json:"StartTime" xorm:"start_time"`
Datas []struct {
ObjectType string `json:"ObjectType" xorm:"object_type"` // 网络资源类别名称, Pm指标项列表中为空间粒度 如:SmfFunction
KPIs []struct {
KPIID string `json:"KPIID" xorm:"pm_name"` // 指标项, 如: SMF.AttCreatePduSession._Dnn
KPIValues []struct {
Name string `json:"Name" xorm:"name"` // 单个的写"Total", 或者指标项有多个测量项,如Dnn的名称写对应的Dnn"cmnet"/"ims"
Value int `json:"Value" xorm:"value"`
} `json:"KPIValues" xorm:"sub_datas"`
} `json:"KPIs" xorm:"pm_datas"`
} `json:"Datas" xorm:"datas"`
}
func XormInsertNorthboundPm(pm *NorthboundPm) (int64, error) {
log.Debug("XormInsertNorthboundPm processing... ")
var affected int64 = 0
session := dbClient.xEngine.NewSession()
defer session.Close()
affected, err := session.InsertOne(pm)
session.Commit()
return affected, err
}
func XormGetNorthboundPm(date string, index int, neType string, pms *[]NorthboundPm) (*[]NorthboundPm, error) {
log.Debug("XormGetNorthboundPm processing... ")
pm := new(NorthboundPm)
rows, err := dbClient.xEngine.Table("northbound_pm").
Where("`ne_type` = ? AND `date` = ? AND `index` = ?", neType, date, index).
Rows(pm)
if err != nil {
log.Error("Failed to get table northbound_pm from database:", err)
return nil, err
}
defer rows.Close()
for rows.Next() {
err := rows.Scan(pm)
if err != nil {
log.Error("Failed to get table northbound_pm from database:", err)
return nil, err
}
*pms = append(*pms, *pm)
}
log.Debug("pms:", pms)
return pms, nil
}
func XormGetMeasureThreshold(tableName string, where string, datas *[]MeasureThreshold) (*[]MeasureThreshold, error) {
log.Debug("XormGetMeasureThreshold processing... ")
row := new(MeasureThreshold)
rows, err := dbClient.xEngine.Table(tableName).Where(where).Rows(row)
if err != nil {
log.Errorf("Failed to get table %s from database: %v", tableName, err)
return nil, err
}
defer rows.Close()
for rows.Next() {
err := rows.Scan(row)
if err != nil {
log.Error("Failed to get table measure_threshold from database:", err)
return nil, err
}
*datas = append(*datas, *row)
}
log.Debug("datas:", datas)
return datas, nil
}
type MeasureThreshold struct {
Id int `json:"id" xorm:"pk 'id' autoincr"`
NeType string `json:"neType" xorm:"ne_type"`
KpiSet string `json:"kpiSet" xorm:"kpi_set"`
Threshold int64 `json:"threshold" xorm:"threshold"`
Status string `json:"status" xorm:"Status"`
OrigSeverity string `json:"origSeverity" xorm:"orig_severity"`
AlarmCode string `json:"alarmCode" xorm:"alarm_code"`
AlarmFlag bool `json:"alarmFlag" xorm:"alarm_flag"`
}
type MeasureData struct {
// Id int `json:"id" xorm:"pk 'id' autoincr"`
Id int `json:"id" xorm:"-"`
Date string `json:"date" xorm:"date"`
TaskId int `json:"taskId"`
NeType string `json:"neType" xorm:"ne_type"`
NeName string `json:"neName" xorm:"ne_name"`
RmUid string `json:"rmUid" xorm:"rm_uid"`
GranulOption string `json:"granulOption" xorm:"granul_option"`
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
KpiCode string `json:"kpiCode" xorm:"kpi_code"`
KpiId string `json:"kpiId" xorm:"kpi_id"`
KpiExt string `json:"kpiExt" xorm:"kpi_ext"`
Value int64 `json:"value"`
Timestamp string `json:"timestamp"`
}
func XormGetMeasureData(where string, datas *[]MeasureData) (*[]MeasureData, error) {
log.Debug("XormGetMeasureData processing... ")
row := new(MeasureData)
rows, err := dbClient.xEngine.Where(where).Rows(row)
if err != nil {
log.Errorf("Failed to get table measure_data from database: %v", err)
return nil, err
}
defer rows.Close()
for rows.Next() {
err := rows.Scan(row)
if err != nil {
log.Error("Failed to get table measure_data from database:", err)
return nil, err
}
*datas = append(*datas, *row)
}
log.Debug("datas:", datas)
return datas, nil
}
func XormGetMeasureDataLastOne(neType, rmUID string, taskId int) (*MeasureData, error) {
log.Debug("XormGetMeasureDataOneByKpi processing... ")
measureData := new(MeasureData)
_, err := dbClient.xEngine.
SQL("select * from measure_data where ne_type=? and rm_uid=? and task_id=? order by start_time desc limit 1", neType, rmUID, taskId).
Get(measureData)
if err != nil {
log.Errorf("Failed to get measure_data: %v", err)
return nil, err
}
return measureData, nil
}
func XormGetMeasureDataOneByKpi(kpi string) (*MeasureData, error) {
log.Debug("XormGetMeasureDataOneByKpi processing... ")
measureData := new(MeasureData)
_, err := dbClient.xEngine.
SQL("select * from measure_data where kpi_id = ? order by timestamp desc limit 1", kpi).
Get(measureData)
if err != nil {
log.Errorf("Failed to get table measure_data from database: %v", err)
return nil, err
}
log.Debug("measureData:", measureData)
return measureData, nil
}
type AlarmDefine struct {
AlarmId string `json:"alarmId" xorm:"alarm_id"`
AlarmCode int `json:"alarmCode" xorm:"alarm_code"`
AlarmTitle string `json:"alarmTitle" xorm:"alarm_title"`
NeType string `json:"neType" xorm:"ne_type"`
AlarmType string `json:"alarmType" xorm:"alarm_type"`
OrigSeverity string `json:"origSeverity" xorm:"orig_severity"`
ObjectUid string `json:"objectUid" xorm:"object_uid"`
ObjectName string `json:"objectName" xorm:"object_name"`
ObjectType string `json:"objectType" xorm:"object_type"`
LocationInfo string `json:"locationInfo"`
SpecificProblem string `json:"specificProblem"`
SpecificProblemId string `json:"specificProblemId" xorm:"specific_problem_id"`
AddInfo string `json:"addInfo" xorm:"add_info"`
Threshold int64 `json:"threshold" xorm:"threshold"`
Status string `json:"status" xorm:"status"`
}
func XormGetAlarmDefine(alarmCode string) (*AlarmDefine, error) {
log.Debug("XormGetAlarmDefine processing... ")
alarmDefine := new(AlarmDefine)
_, err := dbClient.xEngine.
Where("alarm_code=? and status='Active'", alarmCode).
Get(alarmDefine)
if err != nil {
log.Error("Failed to get table alarm_define from database:", err)
return nil, err
}
return alarmDefine, nil
}
const (
AlarmStatusClear = 0
AlarmStatusActive = 1
AlarmStatusClearString = "0"
AlarmStatusActiveString = "1"
)
const (
ClearTypeUnclear = 0
ClearTypeAutoClear = 1
ClearTypeManualClear = 2
)
type Alarm struct {
Id int `json:"-" xorm:"pk 'id' autoincr"`
AlarmSeq int `json:"alarmSeq"`
AlarmId string `json:"alarmId" xorm:"alarm_id"`
NeId string `json:"neId"`
AlarmCode int `json:"alarmCode"`
AlarmTitle string `json:"alarmTitle"`
EventTime string `json:"eventTime"`
AlarmType string `json:"alarmType"`
OrigSeverity string `json:"origSeverity"`
PerceivedSeverity string `json:"perceivedSeverity"`
PVFlag string `json:"pvFlag" xorm:"pv_flag"`
NeName string `json:"neName"`
NeType string `json:"neType"`
ObjectUid string `json:"objectUid" xorm:"object_uid"`
ObjectName string `json:"objectName" xorm:"object_name"`
ObjectType string `json:"objectType" xorm:"object_type"`
LocationInfo string `json:"locationInfo"`
Province string `json:"province"`
AlarmStatus int `json:"alarmStatus" xorm:"alarm_status"`
SpecificProblem string `json:"specificProblem"`
SpecificProblemID string `json:"specificProblemID" xorm:"specific_problem_id"`
AddInfo string `json:"addInfo"`
// ClearType int `json:"-" xorm:"clear_type"` // 0: Unclear, 1: Auto clear, 2: Manual clear
// ClearTime sql.NullTime `json:"-" xorm:"clear_time"`
}
type AlarmLog struct {
NeType string `json:"neType" xorm:"ne_type"`
NeId string `json:"neId" xorm:"ne_id"`
AlarmSeq string `json:"alarmSeq" xorm:"alarm_seq"`
AlarmId string `json:"alarmId" xorm:"alarm_id"`
AlarmCode int `json:"alarmCode" xorm:"alarm_code"`
AlarmStatus int `json:"alarmStatus" xorm:"alarm_status"`
EventTime string `json:"eventTime" xorm:"event_time"`
// ClearTime sql.NullTime `json:"clearTime" xorm:"clear_time"`
LogTime string `json:"logTime" xorm:"-"`
}
func XormInsertAlarm(alarm *Alarm) (int64, error) {
log.Debug("XormInsertAlarm processing... ")
var affected int64 = 0
session := dbClient.xEngine.NewSession()
defer session.Close()
affected, err := session.InsertOne(alarm)
session.Commit()
return affected, err
}
func XormInsertTalbeOne(tbInfo interface{}) (int64, error) {
log.Debug("XormInsertTalbeOne processing... ")
var affected int64 = 0
session := dbClient.xEngine.NewSession()
defer session.Close()
affected, err := session.InsertOne(tbInfo)
session.Commit()
return affected, err
}
func XormGetDataBySQL(sql string) (*[]map[string]string, error) {
log.Debug("XormGetDataBySQL processing... ")
rows := make([]map[string]string, 0)
rows, err := dbClient.xEngine.QueryString(sql)
if err != nil {
log.Errorf("Failed to QueryString:", err)
return nil, err
}
return &rows, nil
}
func XormGetTableOneByWhere(where string, tableName string) (*[]interface{}, error) {
log.Debug("XormGetTableOneByWhere processing... ")
row := new([]interface{})
tb, err := dbClient.xEngine.TableInfo(tableName)
if err != nil {
log.Error("Failed to get TableInfo:", err)
return nil, err
}
columns := tb.Columns()
log.Debug("columns:", columns)
has, err := dbClient.xEngine.Table(tableName).Where(where).Get(row)
if err != nil {
log.Errorf("Failed to get table %s from database:%v", tableName, err)
return nil, err
} else if has == false {
log.Infof("Not found data from %s where=%s", tableName, where)
return nil, nil
}
log.Debugf("%s:%v", tableName, row)
return row, nil
}
func XormGetTableOneById(id int, tableName string) (*[]interface{}, error) {
log.Debug("XormGetTableOneById processing... ")
rows := new([]interface{})
has, err := dbClient.xEngine.Table(tableName).ID(id).Get(rows)
if err != nil {
log.Errorf("Failed to get table %s from database:id=%d, %v", tableName, id, err)
return nil, err
} else if has == false {
log.Infof("Not found table %s from database:id=%d", tableName, id)
return nil, nil
}
log.Debugf("%s:%v", tableName, rows)
return rows, nil
}
func XormUpdateTableById(id int, tableName string, tbInfo interface{}, cols ...string) (int64, error) {
log.Debug("XormUpdateTableById processing... ")
session := dbClient.xEngine.NewSession()
defer session.Close()
affected, err := session.Table(tableName).ID(id).MustCols(cols...).Update(tbInfo)
if err != nil {
log.Errorf("Failed to update table %s from database:%v", tableName, err)
return 0, err
}
session.Commit()
return affected, nil
}
func XormUpdateTableByWhere(where string, tableName string, tbInfo interface{}) (int64, error) {
log.Debug("XormUpdateTableByWhere processing... ")
session := dbClient.xEngine.NewSession()
defer session.Close()
affected, err := session.Table(tableName).Where(where).Update(tbInfo)
if err != nil {
log.Errorf("Failed to update table %s from database:%v", tableName, err)
return 0, err
}
session.Commit()
return affected, nil
}
+49
View File
@@ -0,0 +1,49 @@
ManagedElement:
Id: ""
UserLabel: ""
VendorName: ""
ManagedBy: ""
ManagementIpAddress: ""
SwVersion: ""
PatchInfo: ""
AdministrativeState: ""
OperationalState: ""
AmfFunction:
Id: ""
UserLabel: ""
AdministrativeState: ""
OperationalState: ""
VnfInstanceId: ""
Fqdn: ""
SbiServiceList: ""
AmfGuamiList: ""
SnssaiList: ""
MaxUser: ""
RelativeCapacity: ""
MaxGnbNum: ""
EpRpDynN8Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN11Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
EpRpDynN12Amf:
Id: ""
UserLabel: ""
LocIpAddrList: ""
FarIpSubnetworkList: ""
IPResource:
Id: ""
UserLabel: ""
InterfaceType: ""
LocIpV4AddrList: ""
LocIpV6AddrList: ""
Loaded 100 of 446 files, more files were not shown because too many files have changed in this diff. Show more