HP UX IPQos Software Using Objects, Creating, Copying and Destroying Objects, Object Attributes

Page 25

Using the HP-UX IPQoS API

Using Objects

Using Objects

HP-UX IPQoS API “objects” are pointers to opaque structures. There are three types of objects: filters, policies, and adapters. The following sections briefly describe some key considerations about working with objects when using the HP-UX IPQoS API.

Creating, Copying and Destroying Objects

HP-UX IPQoS API resource management functions exist that create, copy and destroy filters and policies. These functions are: IpqosCreateFilter(), IpqosCopyFilter(), IpqosDestroyFilter(), IpqosCreatePolicy(), IpqosCopyPolicy() and IpqosDestroyPolicy() respectively.

Both the IpqosDestroyFilter() and IpqosDestroyPolicy() functions take an argument that is a pointer to the object. When an object is destroyed, the resources are freed up and its pointer is set to NULL to prevent further use of that pointer.

Adapter objects cannot be created, copied or destroyed. They are managed by the HP-UX IPQoS API based on the list of network adapters that have been configured on the system.

Object Attributes

HP-UX IPQoS API objects have attributes that can be read or modified.

All objects, (filter, policy and adapter) have a (required) name attribute that must be unique.

Filter and policy objects have a status attribute, which can be one of the following:

IPQOS_STATUS_ACTIVE, IPQOS_STATUS_INACTIVE, IPQOS_STATUS_ACTIVE_UPON_COMMIT, IPQOS_STATUS_INACTIVE_UPON_COMMIT. These indicate the status, taking into account whether or not the session has been or will be committed, after an action function has been performed.

Filter and policy objects also have attributes that can be read (using “get” functions) or modified (“set” functions). Adapter objects also have attributes, but these can only be read (using “get” functions).

See following sections of this chapter for a complete listing of the attributes associated with filter, policy, and adapter objects.

Chapter 2

25

Image 25
Contents Manufacturing Part Number October HP-UX IPQoS A.01.00 Programmer’s GuideGovernment License WarrantyCopyright Notice Trademark NoticesContents Return Codes New and Changed Documentation in This Edition Intended AudiencePublishing History What Is in This DocumentTypographic Conventions HP-UX Release Name and Release Identifier Related DocumentsBold Related RFCs HP Product DocumentationManpages RFCs Description Relevant RFCsHP Welcomes Your Comments Overview Introduction to HP-UX IPQoS Background Information IntroductionArchitectural Overview HP-UX IPQoS ArchitectureIntroducing the HP-UX IPQoS API Introduction HP-UX IPQoS API Overview Structural Overview How to Use the HP-UX IPQoS APIProgrammatic Requirements HP-UX IPQoS API Overview Manpages Return Codes Sample Program Restoring Configurations to the Kernel after RebootUsing the HP-UX IPQoS API Starting a Session Using SessionsSession Types Object Status Terminating a SessionUsing Sessions Creating, Copying and Destroying Objects Using ObjectsObject Attributes Lists Using ListsTraversing Lists Attaching Objects to ListsRestrictions Do something with the policy list here Code Example Traversing An Adapter ListDeleting Policies and Filters Detaching From a List Filter Overlap Filter ObjectsAttributes Associated with Filter Objects Object Type AttributesFilter Objects Attributes Associated with Policy Objects Policy ObjectsAttributes Associated with Adapter Objects Adapter ObjectsCounters Kept for Statistics StatisticsObject Type Counters Troubleshooting General Tips Reporting Problems to HP Reporting Problems to HP Chapter Function Calls Table A-1 Session-Related Functions Description Session-Related Function CallsTable A-2 Adapter-Related Functions Description Adapter-Related Function CallsTable A-3 Policy-Related Functions Description Policy-Related Function CallsSet Vlan priority Table A-4 Filter-Related Functions Description Filter-Related Function CallsGet priority of filter Table A-5 Filter Overlap-Related Functions Description Filter Overlap-Related Function CallsFilter2 Filter1 overlaps thatTable A-6 Statistics-Related Functions Description Statistics-Related Function CallsReturn Codes Table B-1 Return Codes with Mnemonics and Message Strings Return Codes, Mnemonics and Message StringsObject name is not set Return Codes, Mnemonics and Message Strings Appendix B Code Example Exit Else Return Main Configuration Code ExampleIpqosvaluemoderelative Configuration Code Example Appendix C Index Index Index
Related manuals
Manual 7 pages 919 b Manual 135 pages 55.88 Kb

UX IPQos Software specifications

HP-UX IPQoS is a sophisticated software solution designed to enhance the network performance of HP's Unix-based operating system, HP-UX. This software focuses on Quality of Service (QoS) mechanisms that ensure efficient bandwidth utilization and prioritize network traffic to meet the demands of various applications.

One of the main features of HP-UX IPQoS is its ability to define traffic priorities. Administrators can classify traffic into different priority levels, allowing critical applications to receive the bandwidth they need while less important traffic can be deprioritized. This feature is essential in environments where bandwidth is a limited resource, ensuring that business-critical processes maintain their performance even during peak usage times.

The software employs advanced traffic shaping techniques that allow the management of data flow in the network. By controlling the rate of traffic and smoothing out bursts, IPQoS helps prevent network congestion, leading to a consistently reliable user experience. In addition, it can manage both inbound and outbound traffic, ensuring optimal performance in various network scenarios.

Another significant characteristic of HP-UX IPQoS is its integration with other network management tools. It operates seamlessly with HP’s Network Management Suite, providing a holistic view of network performance. This integration facilitates easier troubleshooting and monitoring, as administrators can correlate data from different sources for comprehensive insights.

Moreover, HP-UX IPQoS supports various protocols, including DiffServ and MPLS. By adhering to these standards, it positions itself as a versatile tool that can operate in diverse network environments, providing flexibility and ease of deployment. Additionally, the software supports policy-based management, enabling organizations to implement specific rules tailored to their network requirements.

Security is also a critical focus of HP-UX IPQoS. The software provides mechanisms to enforce traffic policies while safeguarding against potential threats. By ensuring that only authorized traffic flows through the network, it minimizes the risk of attacks and data breaches, contributing to a more secure IT environment.

The user interface of HP-UX IPQoS is designed for ease of use, allowing network administrators to configure settings, monitor performance, and generate reports without extensive training. This user-friendliness accelerates the deployment process and enhances the overall management of network resources.

In summary, HP-UX IPQoS is a robust and versatile network management solution that brings substantial benefits to organizations looking to optimize their network performance. With its traffic prioritization features, integration capabilities, support for industry standards, and focus on security, it stands out as an essential tool for maintaining effective and secure network operations in a dynamically changing IT landscape.