TWCC-CLI is a toolkit for operating TWCC resources.
Project description
tags: twcc, twccli
TWCC-CLI Project
The TWCC, Taiwan Computing Cloud Command Line Interface (CLI) is an environment to create and manage your TWCC services.
The TWCC Command Line Interface (CLI) is an environment to create and manage your TWCC resources.
If you have any questions, please email us at: iservice@twcc.ai for account support, and isupport@twcc.ai for technical support
❗ ❗ Always try to upgrade your TWCC-CLI by using pip3 install -U TWCC-CLI. ❗ ❗ ❗
:point_down: Release Notes :point_down:
v0.6.1 Release Note
The "We miss you, Viga!" version
Feature
- Compatible for Security Group operations.
Bug Fix
- various bugs fixed
v0.6.0 Release Note
Feature
- New CCS features for you!
- We sync VCS and CCS solutions and images with User Portal.
- VDS now can snapshot.
Bug Fix
- fix bug
v0.5.24.2 Release Note
Feature
- CLI will remind users while config init when a new version is released.
Bug Fix
- fix bug
v0.5.24.1 Release Note
Bug Fix
- fix bug of init
v0.5.24 Release Note
Feature
- Remove VCS/CCS you are connecting to by
twccli rm me --no-dry-run. - TWCC-CLI supports more vcs spec feature, according to users' project. Check with
twccli ls vcs -itype ubuntu -ptype.
Bug Fix
- fix #42
- fix some bugs
- fix some error message discriptio
v0.5.23.2 Release Note
Bug Fix
- Remove old package
- Fix bug in ansible scripts
v0.5.23 Release Note
Feature
- Users can set Elastic IP(Check more in @twccdocs/vcs-eip) for VCS, by
twccli [ls|mk|rm|ch] eip - Users can import your owned public key, check more in
mk key
Bug Fix
- fix some bugs
- fix some error message discription
v0.5.22 Release Note
Bug Fix
- fix major bugs
v0.5.21 Release Note
Feature
- Users can protect your sites from not expected remove, check out
-keepwhiletwcc ch [ccs|vcs]. - Enable VCS reboot, check out
-sts Rebootwhiletwccli ch vcs
Bug Fix
- fix ValueError: APIKEY is not validated, while
config init, related #34 - fix some bugs
v0.5.20 Release Note
Feature
- Users can pass any command to your CCS by using
-cmdor--commandright after it right after your CCS ready
Bug Fix
- fix some bugs while using vcs
v0.5.19 Release Note
Feature
- Users can use
-ptypeto create customized CCS. - Users can transport your credentials to your new resources. You can switch off by providing
-nokeywhiletwcc mk [ccs|vcs].
Bug Fix
- fix auto migrating bugs
- fix typo error
- fix some bugs
v0.5.18 Release Note
Feature
- We support auto-complete for TWCC-CLI :sparkles::sparkles:
- We support Python 3.9 :sparkles:
- We enable environment parameters in CCS
Bug Fix
- fix some bugs
v0.5.17 Release Note
Feature
- We add sonarqube for better software quality.
- VCS
snapshotbe renamed tocustom-imagein TWCC. - BSS(block storage service) has been renamed to VDS(virtual disk service) in TWCC.
- Enable envoronment variables for VCS, check out
twccli mk vcs -h.
Bug Fix
- fix bug in
mk key - fix bug in
ls -itype - fix exception bug
- Update AIML Pipeline scripts.
v0.5.16.2 Release Note
Feature
- Users can create VCS with windows img
Bug Fix
- fix some bugs
v0.5.16.1 Release Note
Bug Fix
- fix some bugs
v0.5.16 Release Note
Feature
- CLI is now collected users operating information by GA. If you don't want to be collect, just keep your
ga_cidvalue EMPTY in$HOME/.twcc_data/credential. - Users can turn on/off COS bucket version control feature and create public access URL for specific objects.
- Users can checkout HFS info with CLI
- Users can list CCS log, and show more information.
- CLI now can renew your credential file automatically, keep it up-to-date.
Bug Fix
- fix bug in
net vcs
v0.5.15 Release Note
Feature
- BSS(Block Storage Service) is officially renamed as VDS(Virtual Disk Service).
- Users can list personal resource of VDS & VLB.
- Users can create multi listener over VLB.
- Users can change VCS descrption with
-d. - Users can multiply name their SnapShot wile createing.
Bug Fix
- fix #9
- fix timezone problem
- fix error response for snapshot
v0.5.14 Release Note
Feature
- Users can operate volumn in VCS.
- We let
-ssupport multiple site-id. - New progress bar for COS operations.
Preview
- Users can operate Vertual Network (Tenant Administrator Only) and Load Balancer.
Bug Fix
v0.5.13 Release Note
feature
- We release a sample AI/ML pipeline task, here. Join us for understand how to use by attending TWCC classes, https://www.nchc.org.tw/Active/ActiveView/414?mid=47&page=1
- Users can create TWCC-VCS with default ubuntu 20.04
- Users can set a specified range of port for secuity group at one time.
- Multi users profile compatible.
fix bug
- fix typo error
- fix download error for none-file folder bucket
ls ccs -jsonshows empty table when ccs empty
v0.5.12 Release Note
feature
- We design TWCC_VCS module for ansible.
issue
- We fix #7
fix bug
- fix COS command line problems.
v0.5.11 Release Note
change
- In v0.5.10, we use
--product-typein wrong place, that has been correct. - We change
cp coscommand structures, new command descriptions as following:
> twccli cp cos --help
Usage: twccli cp cos [OPTIONS]
‘Upload/Download’ COS (Cloud Object Storage) files.
Options:
-upload Upload files or folders to the bucket.
-download Download files from the bucket or download the
entire bucket.
-src, --source TEXT Path of the source directory.
-okey, --object-key TEXT File in Cloud.
-fn, --file-name TEXT Files for uploading from local site.
-bkt, --bucket-name TEXT Upload files or folders to the bucket.
--help Show this message and exit.
discuss
- We are trying to laverage Ansible for deloying any services. Do you have any suggestions to this? Welcome to [leave comments](https://github.com/TW-NCHC/TWCC-CLI/issues/new!!
v0.5.10 Release Note
change
- VCS images showing table shows "product-type" now!
v0.5.9 Release Note
change
- orginal
-itypeinls vcsandmk vcschange to using-ptypeand--product-type.
fix bug
- error in
rm vcs -secgandls vcs -imgwith filtering. - error in
cp cos -upload,cp cos -downloadandrm cosbucket.
v0.5.7 Release Note
** We have updated our document in TWCC-CLI α for v0.5
fix bug
- fix bugs in COS and data-vol-type while creating VCS.
v0.5.6 Release Note
new features
- You can create additional data volume in
ssdandssd-encrypttype.
fix bug
- upload file source path with slash is not work.
- adding error condition in
rm ccs -swhile entering resource name, and adding-sparameter inls ccs. - fix naming standard to 6-16 in length.
- support customized clone image in CCS.
v0.5.5 Release Note
new features
- snapshot delete functions,
twccli rm vsc -snap -snap-id $SNAPTSHOT_ID
fix bug
- delete bucket and file operation
- upload and download dir to bucket
- remove flag 'noforce' in
twccli rm - update listing all snapshots for Project Owner
rm vcswith-sflag
v0.5.4 Release Note
new features
- provides encoding setting,
twccli config init --set-bashrc
fix bug
- no data while listing VCS
- can't delete bucket with data recursively
- can't download hierarchy directory to local site
- modify parameter and description in command "CP"
v0.5.3 Release Note
new features
- We add encoding environ setting
- add keypair write and del file
- add private ip and network info while ls vcs
fix
- fix create keypair's bug
- fix error in
MANIFEST.in, remove vcs cos, list vcs, --help description of cos
v0.5.2 Release Note
New and structured CLI commands!
for Mar. 20th ,2020 (v0.5.2)
- Now you can use structured commands
config,mk,ls,rm,cp, andnetto customize and manage your TWCC Compute and Storage services, including VCS, CCS, and COS. - In addition to CCS and COS, now you can use TWCC CLI to manage your VCS resources, including VCS instances, security groups, snapshots, as well as keypairs.
- Use commands
-tableor-json showto clearly diaplay your resource information in a table view or in JSON.
Contact us
If you have any questions, please email us at:
- iservice@narlabs.org.tw for account support
- isupport@narlabs.org.tw for technical support
|
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file TWCC-CLI-0.6.1.tar.gz.
File metadata
- Download URL: TWCC-CLI-0.6.1.tar.gz
- Upload date:
- Size: 84.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
435d2449f5ec50ddc76e90ed16a95aff4208d657c4663cac83192188f463da4c
|
|
| MD5 |
d5ab17dd8f4b4036b6450f0b4926ea3e
|
|
| BLAKE2b-256 |
df04e2b92ab31f1e021c063c6a00708880a9cd53add7cb615dfdff195ae37526
|
File details
Details for the file TWCC_CLI-0.6.1-py3-none-any.whl.
File metadata
- Download URL: TWCC_CLI-0.6.1-py3-none-any.whl
- Upload date:
- Size: 98.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a78176b58a71083c1185698c35e7d067ad61c224aec73500ae7e4992875bb9f
|
|
| MD5 |
ccdf16591a9ef7abc2176d4f25c5c055
|
|
| BLAKE2b-256 |
3dc86f22f812c5496b94a970670c9e1f3c18f0632976f6544cde48e7eae88501
|