Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

The table contains the NetMRI_Easy attributes and their descriptions.

$easy->job_idJob ID of the Perl script running on the NetMRI appliance.

$easy->device_id

ID of the target device against which the script is running.

$easy->batch_id

Batch id of the Perl script running on the NetMRI appliance.

$easy->username

The NetMRI username.

$easy->dis_session_id

Returns the DIS session id used to interact with the target device. The DIS session is opened automatically when needed, and closes automatically when the NetMRI_Easy object goes out of scope (typically when the Perl script terminates on the NetMRI appliance).

$easy->device

Returns the NetMRI::API::Remote::Device (new Perl API) or NetMRI::API::Device (old Perl API) for the target device.
$easy->device is a shortcut for the following:

$easy->broker->device->show(DeviceID => $self->device_id )->device;

The device is cached and fetched only once.

  • No labels