nrac_consumer_remove_from_all()
Abstract
Delete the associations between a consumer and all the resources that support it.
Syntax
nrac_consumer_remove_from_all (consumer_handle, event_handle)
| Argument | Type | Description |
|---|---|---|
consumer_handle |
Nrac_Consumer_Handle |
handle for the consumer that will be removed. Use NRAC_ANY_CONSUMER to remove all consumers. |
event_handle |
Nrac_Event_Handle |
handle for a conditionalizing event. Use NRAC_ANY_EVENT to indicate that the event does not matter. |
Return Type
void
no return value
Header
nrac.h
Details
This function behaves like nrac_consumer_remove_from_resource(), except that the removal criteria are applied to all of the resources that currently support the consumer. For example, this would remove a traffic demand from all of the links that the traffic is routed over. Again, the removal can be made conditional upon a specific event, or can be across all events using NRAC_ANY_EVENT. Once the consumer is unlinked from all resources, it remains within the network, in the same state that it was in immediately after it was created. To remove the consumer entirely from the network, use nrac_consumer_remove_from_network().