Class AgentRunNasMountConfig
java.lang.Object
io.agentscope.extensions.sandbox.agentrun.AgentRunNasMountConfig
NAS mount configuration for an AgentRun sandbox.
NAS mounts are configured at sandbox creation time and provide instance-level persistent
storage that survives sandbox restarts. Use a NAS mount as the workspaceRoot backing
store to get "free" persistence without managing tar snapshots.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the in-sandbox mount directory (must start with/home,/mntor/data).Returns the remote path on the NAS filesystem to mount.Returns the NAS server address (e.g.booleanReturns whether TLS is enabled for the NAS connection.setEnableTLS(boolean enableTLS) setMountDir(String mountDir) setRemotePath(String remotePath) setServerAddr(String serverAddr)
-
Constructor Details
-
AgentRunNasMountConfig
public AgentRunNasMountConfig()Default constructor.
-
-
Method Details
-
getServerAddr
Returns the NAS server address (e.g.12345-abc.cn-hangzhou.nas.aliyuncs.com).- Returns:
- NAS server address
-
setServerAddr
-
getMountDir
Returns the in-sandbox mount directory (must start with/home,/mntor/data).- Returns:
- absolute mount path
-
setMountDir
-
getRemotePath
Returns the remote path on the NAS filesystem to mount.- Returns:
- remote path, defaults to
"/"
-
setRemotePath
-
isEnableTLS
public boolean isEnableTLS()Returns whether TLS is enabled for the NAS connection.- Returns:
- true when TLS is enabled
-
setEnableTLS
-