cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1806
Views
0
Helpful
1
Replies

Generally, is it better to have one LONG script/applet or break up the functions?

tproeber
Level 1
Level 1

Let's say I'm doing processing for 5 things that are semi-related, or the same process but for many interfaces.  Should I have one script/applet that does it all or make five scripts/applets?

Does Cisco EEM work better with multiples short sessions or one longer session?

Thanks,

Tim

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

EEM was designed to provide short-running automations.  The default max runtime for all policies is 20 seconds.  However, this runtime can be extended to huge values.  It really depends on the specific use case as to whether it's better to do all the work in one policy, or break things up into multiple policies and chain them together.  If the policy will be doing the same thing, but on a large-ish dataset (like interfaces) it would be better to do it all in one policy versus trying to duplicate the logic in multiple policies.

Review Cisco Networking for a $25 gift card