The Network Resources component Web service provides a way to define specifications for network resources (elements) with which the service platform will interact. Specifications that you design using the Network Resources component Web service are used to tailor the way in which the service platform behaves toward each resource.
For example, you can use the resource's message processing capacity to control the rate at which the service platform generates traffic toward the element. You can also use specifications to store additional properties regarding protocol interactions with the resource.
This component is used by the Traffic Shaping component Web service to fetch network resource properties that govern the rate of traffic flow through the network.
Resource specifications are flexible so that they can be used by other components and services.
Configuration
Specifications for network resources are configured within the
TWSS Administration Console under the network resources section. A network resource has a logical name that is associated with a resource specification, or a set of properties. Multiple service implementations may be configured to refer to the same network resource logical name.
To navigate to the network resource and define the logical name, you will need to do the following:- Select TWSS Administration Console .
- Click New. Then define the logical name and its description.
To define properties for the specific Network resource logical name, do the following:
- SelectTWSS Administration Console .
- Under Resource Names, select an existing resource.
- Click New, then add the resource properties and associated values.
The
Network Resources component Web service expects the following network resource specification properties to be defined:
- NetworkResourceNames: The class name for the list of resources. This dynamic property enables you to create new names for network resource specifications by setting and getting attributes.
- NetworkResourceAttributeNames: The list of attributes for the network resource names. This dynamic property enables you to create new properties for network resource specifications by setting and getting attributes.
- MaximumBurstSize: The maximum amount of burst traffic that can be handled by the network resource. This is measured in number of tokens, where a single service implementation traffic shaping request may consume multiple tokens.
- MaximumAverageSustainedRate: The maximum average sustained rate of work, measured in tokens per second, that can be handled by the resource. This corresponds to the rate of token regeneration in the token bucket algorithm.
The Traffic Shaping component Web service is closely related to this service. Refer to the topic Administering the Traffic Shaping component Web service for more information.
Guidelines for choosing limits
These properties are the network resource attributes that are known for traffic shaping, and are defined by the Web service implementations that use traffic shaping. They are initialized during the system setup when running the DDL files associated with each service implementation. If the administrator decides to tune the system, they can navigate to the network resource component and view the resources that have been defined. The values can be modified from the network resource component.