Ransim go through
2022/1/23 6:05:30
本文主要是介绍Ransim go through,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
Ransim go through
# connection process with E2T
cmd/ransim/ransim.go -> main()
pkg/manager/manager.go -> Run() -> Start() -> startE2Agents()
pkg/e2agent/agents/agents.go -> Start()
pkg/e2agent/agent.go -> Start()
pkg/controller/connection/controller.go -> NewController()
onos-lib-go/pkg/controller -> Start()
pkg/e2agent/connection/connection.go -> NewE2Connection()
pkg/e2agent/connection/connection.go -> Setup()
pkg/e2agent/connection/connection.go -> connectAndSetup() # connect to the E2T controller
pkg/e2agent/connection/connection.go -> connect() # connect to the E2T controller by STCP Connection
pkg/e2agent/connection/connection.go -> setup() # negotiate E2 setup procedure
pkg/utils/e2ap/setup/setup.go -> NewSetupRequest()
pkg/utils/e2ap/setup/setup.go -> Build()
api/e2ap/v2/e2ap-pdu-contents/e2ap_pdu_contents.pb.go -> E2SetupRequest struct
# RIC address
cmd/ransim/ransim.go -> main() -> modelName -> cfg
pkg/manager/manager.go -> NewManager()
pkg/manager/manager.go -> Run() -> Start() -> model.Load()
pkg/model/load.go -> Load() -> LoadConfig()
pkg/manager/manager.go -> Run() -> Start() -> startE2Agents()
pkg/e2agent/agents/agents.go -> NewE2Agents()
pkg/e2agent/agent.go -> NewE2Agent()
pkg/model/model.go -> GetController().Address
#overview of ransim
pkg/model/test.yaml show the overview define of ransim# STCP Connection
onos-e2t/pkg/protocols/e2ap/client.go -> Connect() onos-lib-go/pkg/sctp/sctp.go -> DialSCTP() onos-e2t/pkg/protocols/e2ap/client_conn.go -> ClientConn interface onos-e2t/pkg/protocols/e2ap/client.go -> ClientInterface procedures.E2NodeProcedures# Sevcie ModelRegistry (HMO example)
cmd/ransim/ransim.go -> main() -> modelName -> cfg
pkg/manager/manager.go -> NewManager() -> RegisterModelPlugin()
pkg/modelplugins/registry.go -> RegisterModelPlugin()
pkg/manager/manager.go -> Run() -> Start() -> model.Load()
pkg/e2agent/agents/agents.go -> NewE2Agents()
pkg/e2agent/agent.go -> NewE2Agent()
pkg/servicemodel/registry/registry.go -> NewServiceModelRegistry()
pkg/servicemodel/mho/mho.go -> NewServiceModel()
onos-e2-sm/servicemodels/e2sm_mho_go/servicemodel/servicemodel.go -> RanFuncDescriptionProtoToASN1()
pkg/servicemodel/registry/registry.go -> RegisterServiceModel()
pkg/e2agent/agent.go -> Start()
pkg/e2agent/connection/connection.go -> NewE2Connection()
# Sevcie Model execute (RICSubscription)
pkg/e2agent/connection/connection.go -> RICSubscription()
# startNorthboundServer
cmd/ransim/ransim.go -> main()
pkg/manager/manager.go -> Run() -> Start() -> startNorthboundServer() # Start gRPC server
# E2ConnectionUpdate
# processNodeEvents
这篇关于Ransim go through的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-12-24MongoDB资料:新手入门完全指南
- 2024-12-20go-zero 框架的 RPC 服务 启动start和停止 底层是怎么实现的?-icode9专业技术文章分享
- 2024-12-19Go-Zero 框架的 RPC 服务启动和停止的基本机制和过程是怎么实现的?-icode9专业技术文章分享
- 2024-12-18怎么在golang中使用gRPC测试mock数据?-icode9专业技术文章分享
- 2024-12-15掌握PageRank算法核心!你离Google优化高手只差一步!
- 2024-12-15GORM 中的标签 gorm:"index"是什么?-icode9专业技术文章分享
- 2024-12-11怎么在 Go 语言中获取 Open vSwitch (OVS) 的桥接信息(Bridge)?-icode9专业技术文章分享
- 2024-12-11怎么用Go 语言的库来与 Open vSwitch 进行交互?-icode9专业技术文章分享
- 2024-12-11怎么在 go-zero 项目中发送阿里云短信?-icode9专业技术文章分享
- 2024-12-11怎么使用阿里云 Go SDK (alibaba-cloud-sdk-go) 发送短信?-icode9专业技术文章分享