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/watcher.go -> 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
# STCP Connection
# 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)
# startNorthboundServer
cmd/ransim/ransim.go -> main()
pkg/manager/manager.go -> Run() -> Start() -> startNorthboundServer() # Start gRPC server