DX Unified Infrastructure Management

  • 1.  Enabling/disabling AO profiles via a LUA script

    Posted Aug 02, 2012 01:51 PM

    I may be missing something in the documentation, is it possible to enable/disable AO profiles via a LUA script?

     

    I have a requirement to enable/disable a series of AO profiles according to a predefined schedule of dates and times. Currently I’m using the NAS Scheduler but as there is no pattern it’s getting very messy.

     

    I can extract the schedule into a table via a script, it would be good if I could then use this to enable/disable the AO profiles

     

    Regards Richard



  • 2.  Re: Enabling/disabling AO profiles via a LUA script
    Best Answer

    Posted Aug 02, 2012 03:22 PM

    I believe you are looking for the action.profile() function.



  • 3.  Re: Enabling/disabling AO profiles via a LUA script

    Posted Aug 09, 2012 11:48 AM

    Doh! How could I have missed that? I must have read through the documentation half a dozen times. :smileyhappy:

     

    Thank you very much!

     

    Regards

     

    Richard