Openstack命令大全之swift命令

淘宝广告

操作Openstack资源时,虽然有horizon,但是遇到底层或者高级操作时,还是使用命令最方便。本专题收集了所有命令,包含neutron、nova、cinder、glance等,本文整理了swift相关的所有命令。

swift参数

swift --version

swift --debug

swift --info

swift --insecure

swift [ -h | --help ]

swift [ -s | --snet ]

swift [ -v | --verbose ]

swift [ -q | --quiet ]

swift [ -A AUTH | --auth=AUTH ]

swift [ -V AUTH_VERSION | --auth-version=AUTH_VERSION ]

swift [ -U USER | --user=USER ]

swift [ -K KEY | --key=KEY ]

swift [ -R RETRIES | --retries=RETRIES ]

swift --no-ssl-compression

swift --os-help

swift命令

swift auth

swift capabilities

swift delete

swift download

swift list

swift post

swift stat

swift tempurl

swift upload

swift实例

swift download --help

swift -A https://auth.api.andylouse.net/v1.0 -U user -K api_key stat -v

swift --os-auth-url https://api.andylouse.net/v2.0 --os-tenant-name tenant \

swift --os-auth-url https://api.andylouse.net/v3 --auth-version 3\

swift --os-auth-url https://api.andylouse.net/v3 --auth-version 3\

swift --os-auth-token 78e53fa3ewrd4fg5afgj8o8uar893286 \

swift list --lh

赞 (0) 打赏

精彩点评 0

感谢您的支持与鼓励

支付宝扫一扫打赏

微信扫一扫打赏