Agent functions for Share agent

Online

Exports (shares) a directory to the specified client.

Offline

Unshares the exported directory from the client.

Monitor

Verifies that the shared directory is exported to the client.

Clean

Terminates all ongoing resource actions and takes the resource offline, forcibly when necessary.