Alok Aggarwal wrote:
> Here is what I'm thinking of implementing in the AI engine
> as far as dry run functionality goes -
> 
> - Parse and validate the manifest obtained from the AI
>    webserver
> - Set up installation parameters based on the information
>    in the manifest
> - Initiate target discovery to either select a target
>    device specified in the manifest or pick a default target
> - Initiate target instantiation in dry run mode to do
>    some sanity checking
> - Print out the installation parameters such as target
>    device, IPS repo name/port, list of packages to be
>    installed
> 
> Note that the IPS repo won't be contacted as part of this
> process so if there are problems with name resolution, etc.
> the dry run won't catch those.
> 

Seems like you could easily create a temporary package image area and 
then run pkg install -n to it.

 > Would this be sufficient for test purposes?
 >

Test isn't the only consumer here; I'd expect that end users would be 
more satisfied if you can dry-run all of the critical operations.

Dave

Reply via email to