enter policy

Switches the flow family instance to the state specified in the policy configuration if this type of transition is allowed in the configuration of the specific family instance.

Type: call policy

Syntax

enter <configuration> ()

Policy configuration

<configuration> ::= <state>

Configuration elements

<state>

Name of the state to which the transition must occur.

Returned value

KSS_GRANT if the transition to the specified state is allowed, or KSS_DENY if it is not allowed.

Example

...

policy service_start = service_flow.enter started;

policy service_stop = service_flow.enter stopped;

policy service_finish = service_flow.enter finished;

entity service {

security call start = service_start;

security call stop = service_stop;

security call finish = service_finish;

}

Page top