I have enabled IP QoS on an interface. How can I find out the queue size of interface from another process?

Categories:
Solution Number:
S20793
Last Modified:
2013-08-20
Issue

I have enabled IP QoS on an interface. How can I find out the queue size of interface from another process?

Solution

In OPNET, IP QoS is implemented using the ip_output_iface process model. There will be a separate instance of this process model for each IP QoS enabled interface in the network. The ip_output_iface uses the oms qm package. It has a state variable named qm_info which is a pointer to a structure of type OmsT_Qm_Info. All the queue information is stored in this structure.oms qm package is described in greater detail in the OPNETWORK 2002 session #1512 QoS Models Internal Architecture. There is a link to the OPNETWORK site on the support center web site (http://www.opnet.com/support).The easiest way to make the qm_info variable visible from outside the process model is to make ip_output_iface store it in a new field in the IpT_Interface_Info structure. This can be done immediately after the call to Oms_Qm_Info_Create in the function allocate_buffers. An outside process can obtain a handle to the IpT_Interface_Info of an interface as follows.1) Use the function ip_support_module_data_get (ip_support.h) to get a handle to the module data structure of the node.2) Use the function ip_rte_intf_tbl_access (ip_rte_support.h) to access the IpT_Interface_Info structure of a specific interface. The function ip_rte_num_interfaces_get returns the number of interfaces on a node.

Environment

DES Kernel->Process Modeling/Coding,Protocols->IP,Protocols->QoS

Attachments
NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Can't find an answer? Create a case