new-flash-memory onfi_flash
Simics Reference Manual  /  5 Classes  / 

nfs_server

Description

This class represents a user mode NFS server that can export parts of the host file system to the simulated network. Currently, only the mount protocol and NFS version 3 over UDP is supported (RFC1813).

Interfaces Implemented

conf_object, log_object, tcp_service, udp_service

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Commands for this class

Attributes

udp
Required attribute; read/write access; type: o
UDP layer. Must implement the udp interface.
udp_ports
Optional attribute; read/write access; type: [ii]
Port numbers for the NFS and mount services.
exports
Optional attribute; read/write access; type: [[sbs]*]
List of exported directories, where each directory is represented by [host path, writeable, exported path]. The host path is normally an absolute path. On windows, / is used as separator and the drive letter is substituted for ///drive/. The trailing slash is omitted unless the path is root directory.
enabled
Optional attribute; read/write access; type: b
Set to true (default) if the NFS server will listen for connections.
server_ip
Optional attribute; read/write access; type: s
Server IPv4 address. Typically from one of the service nodes.

Provided By

nfs-server
new-flash-memory onfi_flash