ó i'dWc@sBdZddljZddlmZdejfd„ƒYZdS(s) ICT checkpoint for device namespace i’’’’N(tPopent DeviceConfigcBs#eZdZd„Zed„ZRS(smICT checkpoint sets up the dev namespace on the target using devfsadm(1M) if installing from IPS. cCstt|ƒj|ƒdS(sµInitializes the class Parameters: -name - this arg is required by the AbstractCheckpoint and is not used by the checkpoint. N(tsuperRt__init__(tselftname((sdevice_config.pyR&scCs|jjdƒ|jƒtjd|jg}|rL|jjd|ƒn|s}tj|dtjdtjd|jƒndS(sų The AbstractCheckpoint class requires this method in sub-classes. Execute in a subprocess the following command: /usr/sbin/devfsadm -R target_directory Parameters: - the dry_run keyword paramater. The default value is False. If set to True, the log message describes the checkpoint tasks. Returns: - Nothing On failure, errors raised are managed by the engine. s-ICT current task: setting up device namespaces-Rs Executing: %ststdouttstderrtloggerN( Rtdebugt parse_doctICTtDEVFSADMt target_dirRt check_calltSTORE(Rtdry_runtcmd((sdevice_config.pytexecute.s (t__name__t __module__t__doc__RtFalseR(((sdevice_config.pyR"s (Rtsolaris_install.icttictR tsolaris_installRt ICTBaseClassR(((sdevice_config.pyts