Ets_Obj_Path_Install_Connect()

Abstract

Connect an unconnected path to a set of nodes and links.

Syntax

Ets_Obj_Path_Install_Connect (installee_path_hndl, circuit_connections_lptr)
Argument Type Description
installee_path_hndl EtsT_Obj_Handle * Path to be installed
circuit_connections_lptr EtsT_Obj_List * List of nodes and links to which the path will be connected.

Return Type

EtsT_Compcode

See Details.

ets_api_obj.h

Details

Make a path that is not currently associated with a model associated with the model and connected to nodes and links from the circuit connection list.

The network to which the nodes and links belong will take ownership of the path, so other code should not free it.

Circuit connectivity is not checked after installation.

The following conditions must be satisfied:

  • The path to be installed must not belong to a model.
  • The object to be installed must be a path.
  • All nodes and links in the connection list must be from the same network model.
  • The elements in the connection list must be pointers to objects representing nodes or links.

If any of the above conditions are not met, EtsC_Compcode_Failure is returned. Otherwise, EtsC_Compcode_Success is returned.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com