Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.58 KB

Url.md

File metadata and controls

45 lines (31 loc) · 1.58 KB

URL formats

Used in servlet configuration files

Swift URL

swift://<account>/<container>/<object>

<account> - account name, UTF-8, URL encoded, no / characters allowed
<container> - container name, UTF-8, URL encoded, no / characters allowed
<object> - object name, UTF-8, URL encoded

Swift URL points to a Swift object path. Can be used to fetch or execute objects from different account, if user has the permissions.

File (image) URL

file://<image>:<path>
file://<path>

<image> - system image name, if not used the user image device `/dev/image` will be assumed, UTF-8,
    URL encoded, no / characters allowed
<path> - file path, inside the image, UTF-8, URL encoded

File URL points to a file inside a tar image. If image name is supplied the file will be extracted from there, otherwise the default user image /dev/image will be assumed. You must either use the existing sysimage name (see Configuration.md) or supply a path to user image in the request itself.

Zvm (cluster) URL

zvm://<host>:<device>

<host> - destination node name, domain name (alphanumeric and dashes only)
<device> - destination device name, can be supplied with or without `/dev` path

Cluster URL points to a device file on another machine. Can be used to easily connect specific local devices to remote ones (very useful for passing stdout to remote machine, for example). Destination device file will be created on destination node instead of the default one /dev/in/<node name>.