"Resource Compliance Manager" Enhancement Idea

  • theklink
Posted: Tue, 03/23/2010 - 06:47

If this already exists, forgive me. But I have an interest in being able to specify actions, and rewrite rules depending on resource strings detected in the jobs queue.
So, basically, the Resource Compliance "Enforcer" would act as a filter and detect regex'es of interest in the incoming resource request stream, and then act appropriately.

It could have a config file with fields similar to:

--snip--

USER_OR_GROUP_NAME (or *)
REGEX_TO_LOOK_FOR
SUBST_STRING_OR_PROCEDURE_TO_CALL
DEQUE_FLAG(Y/N)
RESUBMIT_FLAG(Y/N)
NOTIFIY_FLAG(Y/N)
NOTIFICATION_MESSAGE

--snip--

So, a record might look like:

jmklinke,"rc_critical | rc_default", "( rc_default | rc_critical )",Y,Y,N,""

This, then would detect whenever the "rc_critical | rc_default" resource is used, and modify it to the "( rc_default | rc_critical )" resource.

This is just an idea, I recognize that you may or may not have something similar already in the works.

Or, more commonly, a record

  • theklink
  • 06/15/09
  • Tue, 03/23/2010 - 06:52

Or, more commonly, a record in the config file might look like:

vtk_Add_ResEnforce "*","rc_critical | rc_default", "( rc_default | rc_critical )",Y,Y,N,""

(So it isn't just specific to "jmklinke").

--Jon

Jon, I believe that you can

  • btjanes
  • 05/08/09
  • Fri, 04/02/2010 - 14:04

Jon,

I believe that you can achieve all of what you want today with vncPolicy.tcl. Let's have a phone discussion about this next week if you have time.

Brian