Hcon_Demand_Devices_Needed_Add()

Abstract

Specifies what new devices are needed in a demand.

Syntax

Hcon_Demand_Devices_Needed_Add (demand, library, level, vendor, model, num_needed)
Argument Type Description
demand HconT_Demand * the demand to add device needed to
library HconT_Library * the device library where the device needed belong
level int which level the device sits within the device library’s hierarchy
vendor char * the device’s vendor name
model char * the device’s model number
num_needed int how many are needed for the device

Return Type

void

no return value

hcon.h

Details

To specify what devices are needed in a demand, you add required devices to the demand, one type at a time, by calling this function repeatedly. Sample calling sequence (this will create a demand for 4 DS3 ports and 3 OC48 ports):

Hcon_Demand_Devices_Needed_Add (demand, devlib, 0, "Port", "DS3", 4);
Hcon_Demand_Devices_Needed_Add (demand, devlib, 0, "Port", "OC48", 3);

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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