-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support of named disk to sdk * Add support of disk name to neuro disk commands * Allow disk names in disk URI in volumes * Allow to create named disks * Adopt endpoints url change * Add changelog * Add displaying of disk names * Fix mounting disk volume by name
- Loading branch information
Showing
17 changed files
with
226 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Added support of named: | ||
- create new disk by `neuro disk create --name <disk-name> STORAGE` command | ||
- name can be used to get/delete disk: `neuro disk get <disk-name>` or `neuro disk delete <disk-name>` | ||
- name can be used to mount disk: `neuro run -v disk:<disk-name>:/mnt/disk ...` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
neuro-cli/tests/unit/formatters/ascii/test_disks_formatter_long_0.ref
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Id Storage Used Uri Status Created at Last used Timeout unused | ||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | ||
disk-1 50.0G disk://cluster/user/disk-1 Pending Mar 04 2017 Mar 08 2017 | ||
disk-2 50.0M disk://cluster/user/disk-2 Ready Apr 04 2017 2d3h4m5s | ||
disk-3 50.0K disk://cluster/user/disk-3 Ready May 04 2017 | ||
disk-4 50B disk://cluster/user/disk-4 Broken Jun 04 2017 | ||
Id Name Storage Used Uri Status Created at Last used Timeout unused | ||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | ||
disk-1 50.0G disk://cluster/user/disk-1 Pending Mar 04 2017 Mar 08 2017 | ||
disk-2 50.0M disk://cluster/user/disk-2 Ready Apr 04 2017 2d3h4m5s | ||
disk-3 50.0K disk://cluster/user/disk-3 Ready May 04 2017 | ||
disk-4 50B disk://cluster/user/disk-4 Broken Jun 04 2017 |
12 changes: 6 additions & 6 deletions
12
neuro-cli/tests/unit/formatters/ascii/test_disks_formatter_short_0.ref
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Id Storage Used Uri Status | ||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | ||
disk-1 50.0G disk://cluster/user/disk-1 Pending | ||
disk-2 50.0M disk://cluster/user/disk-2 Ready | ||
disk-3 50.0K disk://cluster/user/disk-3 Ready | ||
disk-4 50B disk://cluster/user/disk-4 Broken | ||
Id Name Storage Used Uri Status | ||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ | ||
disk-1 50.0G disk://cluster/user/disk-1 Pending | ||
disk-2 50.0M disk://cluster/user/disk-2 Ready | ||
disk-3 50.0K disk://cluster/user/disk-3 Ready | ||
disk-4 50B disk://cluster/user/disk-4 Broken |
Oops, something went wrong.