cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
827
Views
10
Helpful
1
Replies

ncs:init and ncs:ready in plan component

neetimit
Cisco Employee
Cisco Employee

When we create plan component in NSO, why is it mandatory to add ncs:init and ncs:ready states?

and is there a way we can rename these 2 states in service code?

Any inputs appreciated.

 

Thanks,

Neetika 

1 Accepted Solution

Accepted Solutions

tryeng
Cisco Employee
Cisco Employee

The plan is supposed to be a standardized way of describing the progress of a Reactive Fastmap service. Therefore the naming is important so that the first and the last state is recognizable as well as having a "self" component that shows the overall progress of the service. Renaming these states would make it hard for an outside observer/program to identify start or endpoints.

View solution in original post

1 Reply 1

tryeng
Cisco Employee
Cisco Employee

The plan is supposed to be a standardized way of describing the progress of a Reactive Fastmap service. Therefore the naming is important so that the first and the last state is recognizable as well as having a "self" component that shows the overall progress of the service. Renaming these states would make it hard for an outside observer/program to identify start or endpoints.