Add optional parameter "copies_number" in "frostfs-cli object put" #56

Merged
abereziny merged 1 commit from yadro-vavdeev/frostfs-testlib:copies_number into master 2023-07-20 11:00:22 +00:00
Contributor
No description provided.
yadro-vavdeev force-pushed copies_number from 9183f92906 to 15862e5901 2023-07-20 00:41:41 +00:00 Compare
Author
Contributor
service@vavdeev-node1:~$ frostfs-cli object put --help
Put object to FrostFS

Usage:
  frostfs-cli object put [flags]

Flags:
      --address string         Address of wallet account
      --attributes string      User attributes in form of Key1=Value1,Key2=Value2
      --bearer string          File with signed JSON or binary encoded bearer token
      --binary                 Deserialize object structure from given file.
      --cid string             Container ID.
      --copies-number string   Number of copies of the object to store within the RPC call
      --disable-filename       Do not set well-known filename attribute
      --disable-timestamp      Do not set well-known timestamp attribute
  -e, --expire-at uint         The last active epoch in the life of the object
      --file string            File with object payload
  -g, --generate-key           Generate new private key
  -h, --help                   help for put
      --no-progress            Do not show progress bar
      --notify string          Object notification in the form of *epoch*:*topic*; '-' topic means using default
      --prepare-locally        Generate object header on the client side (for big object - split locally too)
  -r, --rpc-endpoint string    Remote node address (as 'multiaddr' or '<host>:<port>')
      --session string         Filepath to a JSON- or binary-encoded token of the object PUT session
  -t, --timeout duration       Timeout for an operation (default 15s)
      --trace                  Generate trace ID and print it.
      --ttl uint32             TTL value in request meta header (default 2)
  -w, --wallet string          Path to the wallet or binary key
  -x, --xhdr strings           Request X-Headers in form of Key=Value

Global Flags:
  -c, --config string       Config file (default is $HOME/.config/frostfs-cli/config.yaml)
      --config-dir string   Config directory
  -v, --verbose             Verbose output
``` service@vavdeev-node1:~$ frostfs-cli object put --help Put object to FrostFS Usage: frostfs-cli object put [flags] Flags: --address string Address of wallet account --attributes string User attributes in form of Key1=Value1,Key2=Value2 --bearer string File with signed JSON or binary encoded bearer token --binary Deserialize object structure from given file. --cid string Container ID. --copies-number string Number of copies of the object to store within the RPC call --disable-filename Do not set well-known filename attribute --disable-timestamp Do not set well-known timestamp attribute -e, --expire-at uint The last active epoch in the life of the object --file string File with object payload -g, --generate-key Generate new private key -h, --help help for put --no-progress Do not show progress bar --notify string Object notification in the form of *epoch*:*topic*; '-' topic means using default --prepare-locally Generate object header on the client side (for big object - split locally too) -r, --rpc-endpoint string Remote node address (as 'multiaddr' or '<host>:<port>') --session string Filepath to a JSON- or binary-encoded token of the object PUT session -t, --timeout duration Timeout for an operation (default 15s) --trace Generate trace ID and print it. --ttl uint32 TTL value in request meta header (default 2) -w, --wallet string Path to the wallet or binary key -x, --xhdr strings Request X-Headers in form of Key=Value Global Flags: -c, --config string Config file (default is $HOME/.config/frostfs-cli/config.yaml) --config-dir string Config directory -v, --verbose Verbose output ```
abereziny approved these changes 2023-07-20 09:50:18 +00:00
abereziny requested review from qa-committers 2023-07-20 09:50:45 +00:00
d.zayakin approved these changes 2023-07-20 09:56:04 +00:00
abereziny merged commit 15862e5901 into master 2023-07-20 11:00:22 +00:00
yadro-vavdeev deleted branch copies_number 2023-07-20 11:07:49 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-testlib#56
No description provided.