2018-07-08 20:06:32 |
hongbin |
description |
Zun supports copying files to/from a container. In CLI, this is achieved via the "zun cp" command. In REST API, this is supported via the "/v1/containers/{container_ident}/get_archive" and "/v1/containers/{container_ident}/put_archive" endpoints.
We need to have a config option to limit the size of the file that is being copied for various reasons, such as QoS and security. |
Zun supports copying files to/from a container. In CLI, this is achieved via the "zun cp" command. In REST API, this is supported via the "/v1/containers/{container_ident}/get_archive" and "/v1/containers/{container_ident}/put_archive" endpoints.
We need to have a config option to limit the size of the file that is being copied for various reasons, such as QoS and security.
For example, if the limit is "4K", copying file larger than 4K will be rejected. |
|
2018-09-04 15:26:14 |
hongbin |
description |
Zun supports copying files to/from a container. In CLI, this is achieved via the "zun cp" command. In REST API, this is supported via the "/v1/containers/{container_ident}/get_archive" and "/v1/containers/{container_ident}/put_archive" endpoints.
We need to have a config option to limit the size of the file that is being copied for various reasons, such as QoS and security.
For example, if the limit is "4K", copying file larger than 4K will be rejected. |
Zun supports copying files to/from a container. In CLI, this is achieved via the "zun cp" command. In REST API, this is supported via the "/v1/containers/{container_ident}/get_archive" and "/v1/containers/{container_ident}/put_archive" endpoints.
We need to have a config option (like 'copied_file_content_bytes' https://github.com/openstack/nova/blob/stable/queens/nova/conf/quota.py#L146) to limit the size of the file that is being copied for various reasons, such as QoS and security.
For example, if the limit is "4K", copying file larger than 4K will be rejected. |
|